/* * FancyScrollView (https://github.com/setchi/FancyScrollView) * Copyright (c) 2020 setchi * Licensed under MIT (https://github.com/setchi/FancyScrollView/blob/master/LICENSE) */ using System; using UnityEngine; namespace FancyScrollView { /// /// のコンテキスト基底クラス. /// public class FancyGridViewContext : IFancyGridViewContext { ScrollDirection IFancyScrollRectContext.ScrollDirection { get; set; } Func<(float ScrollSize, float ReuseMargin)> IFancyScrollRectContext.CalculateScrollSize { get; set; } GameObject IFancyCellGroupContext.CellTemplate { get; set; } Func IFancyCellGroupContext.GetGroupCount { get; set; } Func IFancyGridViewContext.GetStartAxisSpacing { get; set; } Func IFancyGridViewContext.GetCellSize { get; set; } } }