FancyScrollRectContext.cs 565 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="FancyScrollRect{TItemData, TContext}"/> のコンテキスト基底クラス.
  8. /// </summary>
  9. public class FancyScrollRectContext : IFancyScrollRectContext
  10. {
  11. ScrollDirection IFancyScrollRectContext.ScrollDirection { get; set; }
  12. Func<(float ScrollSize, float ReuseMargin)> IFancyScrollRectContext.CalculateScrollSize { get; set; }
  13. }
  14. }