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

18 lines
354 B
C#
Raw Normal View History

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