com.alicizax.unity.ui.exten.../Runtime/RecyclerView/ScrollAlignment.cs
2025-12-26 15:39:31 +08:00

24 lines
521 B
C#

namespace AlicizaX.UI
{
/// <summary>
/// Defines how an item should be aligned when scrolling to it
/// </summary>
public enum ScrollAlignment
{
/// <summary>
/// Align item to the top/left of the viewport
/// </summary>
Start,
/// <summary>
/// Align item to the center of the viewport
/// </summary>
Center,
/// <summary>
/// Align item to the bottom/right of the viewport
/// </summary>
End
}
}