com.alicizax.unity.ui.exten.../Runtime/RecyclerView/Scroller/IScroller.cs

16 lines
365 B
C#
Raw Normal View History

2025-03-12 20:59:12 +08:00
using UnityEngine.Events;
namespace AlicizaX.UI.RecyclerView
{
public interface IScroller
{
float Position { get; set; }
void ScrollTo(float position, bool smooth = false);
}
public class ScrollerEvent : UnityEvent<float> { }
public class MoveStopEvent : UnityEvent { }
public class DraggingEvent : UnityEvent<bool> { }
}