16 lines
365 B
C#
16 lines
365 B
C#
|
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> { }
|
||
|
}
|