mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-11 12:15:11 +00:00
20 lines
841 B
C#
20 lines
841 B
C#
|
/// Credit setchi (https://github.com/setchi)
|
|||
|
/// Sourced from - https://github.com/setchi/FancyScrollView
|
|||
|
|
|||
|
using System;
|
|||
|
|
|||
|
namespace UnityEngine.UI.Extensions
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// <see cref="FancyGridView{TItemData, TContext}"/> のコンテキスト基底クラス.
|
|||
|
/// </summary>
|
|||
|
public class FancyGridViewContext : IFancyGridViewContext
|
|||
|
{
|
|||
|
ScrollDirection IFancyScrollRectContext.ScrollDirection { get; set; }
|
|||
|
Func<(float ScrollSize, float ReuseMargin)> IFancyScrollRectContext.CalculateScrollSize { get; set; }
|
|||
|
GameObject IFancyCellGroupContext.CellTemplate { get; set; }
|
|||
|
Func<int> IFancyCellGroupContext.GetGroupCount { get; set; }
|
|||
|
Func<float> IFancyGridViewContext.GetStartAxisSpacing { get; set; }
|
|||
|
Func<float> IFancyGridViewContext.GetCellSize { get; set; }
|
|||
|
}
|
|||
|
}
|