16 lines
565 B
C#
16 lines
565 B
C#
/// Credit setchi (https://github.com/setchi)
|
|
/// Sourced from - https://github.com/setchi/FancyScrollView
|
|
|
|
using System;
|
|
|
|
namespace UnityEngine.UI.Extensions
|
|
{
|
|
/// <summary>
|
|
/// <see cref="FancyScrollRect{TItemData, TContext}"/> のコンテキスト基底クラス.
|
|
/// </summary>
|
|
public class FancyScrollRectContext : IFancyScrollRectContext
|
|
{
|
|
ScrollDirection IFancyScrollRectContext.ScrollDirection { get; set; }
|
|
Func<(float ScrollSize, float ReuseMargin)> IFancyScrollRectContext.CalculateScrollSize { get; set; }
|
|
}
|
|
} |