25 lines
873 B
C#
25 lines
873 B
C#
/*
|
|
* 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
|
|
{
|
|
/// <summary>
|
|
/// Documentation text normalized.
|
|
/// </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; }
|
|
}
|
|
}
|