AlicizaX/Client/Packages/com.alicizax.unity.ui.extension/Runtime/RecyclerView/Scroller/IScroller.cs

28 lines
447 B
C#
Raw Normal View History

2025-04-28 19:45:45 +08:00
using UnityEngine.Events;
namespace AlicizaX.UI.RecyclerView
{
public interface IScroller
{
float Position { get; set; }
void ScrollTo(float position, bool smooth = false);
}
2025-07-11 21:00:00 +08:00
public class ScrollerEvent : UnityEvent<float>
{
}
public class MoveStopEvent : UnityEvent
{
}
public class DraggingEvent : UnityEvent<bool>
{
}
public class MoveingEvent : UnityEvent
{
}
2025-04-28 19:45:45 +08:00
}