SamsonGame/Assets/Sources/unity-ui-extensions-master/Scripts/Layout/FancyScrollView/ScrollRect/IFancyScrollRectContext.cs

15 lines
451 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 interface IFancyScrollRectContext
{
Func<(float ScrollSize, float ReuseMargin)> CalculateScrollSize { get; set; }
}
}