28 lines
447 B
C#
28 lines
447 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>
|
|
{
|
|
}
|
|
|
|
public class MoveingEvent : UnityEvent
|
|
{
|
|
}
|
|
}
|