IFancyCellGroupContext.cs 543 B

1234567891011121314151617181920
  1. /*
  2. * FancyScrollView (https://github.com/setchi/FancyScrollView)
  3. * Copyright (c) 2020 setchi
  4. * Licensed under MIT (https://github.com/setchi/FancyScrollView/blob/master/LICENSE)
  5. */
  6. using System;
  7. using UnityEngine;
  8. namespace FancyScrollView
  9. {
  10. /// <summary>
  11. /// <see cref="FancyCellGroup{TItemData, TContext}"/> のコンテキストインターフェース.
  12. /// </summary>
  13. public interface IFancyCellGroupContext
  14. {
  15. GameObject CellTemplate { get; set; }
  16. Func<int> GetGroupCount { get; set; }
  17. }
  18. }