2019-11-16 22:49:21 +08:00
|
|
|
|
/// Credit setchi (https://github.com/setchi)
|
|
|
|
|
/// Sourced from - https://github.com/setchi/FancyScrollView
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace UnityEngine.UI.Extensions
|
|
|
|
|
{
|
2019-12-05 01:25:31 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// <see cref="FancyScrollRect{TItemData, TContext}"/> のコンテキスト基底クラス.
|
|
|
|
|
/// </summary>
|
2019-11-16 22:49:21 +08:00
|
|
|
|
public class FancyScrollRectContext : IFancyScrollRectContext
|
|
|
|
|
{
|
2020-06-30 22:14:04 +08:00
|
|
|
|
ScrollDirection IFancyScrollRectContext.ScrollDirection { get; set; }
|
2019-11-16 22:49:21 +08:00
|
|
|
|
Func<(float ScrollSize, float ReuseMargin)> IFancyScrollRectContext.CalculateScrollSize { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|