IFancyGridViewContext.cs 512 B

12345678910111213141516
  1. /// Credit setchi (https://github.com/setchi)
  2. /// Sourced from - https://github.com/setchi/FancyScrollView
  3. using System;
  4. namespace UnityEngine.UI.Extensions
  5. {
  6. /// <summary>
  7. /// <see cref="FancyGridView{TItemData, TContext}"/> のコンテキストインターフェース.
  8. /// </summary>
  9. public interface IFancyGridViewContext : IFancyScrollRectContext, IFancyCellGroupContext
  10. {
  11. Func<float> GetStartAxisSpacing { get; set; }
  12. Func<float> GetCellSize { get; set ; }
  13. }
  14. }