com.unity.uiextensions/Runtime/Scripts/Layout/FancyScrollView/ScrollRect/IFancyScrollRectContext.cs

16 lines
505 B
C#
Raw Normal View History

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
{
/// <summary>
/// <see cref="FancyScrollRect{TItemData, TContext}"/> のコンテキストインターフェース.
/// </summary>
2019-11-16 22:49:21 +08:00
public interface IFancyScrollRectContext
{
ScrollDirection ScrollDirection { get; set; }
2019-11-16 22:49:21 +08:00
Func<(float ScrollSize, float ReuseMargin)> CalculateScrollSize { get; set; }
}
}