Namespace: | Sirenix.Utilities.Editor |
Assembly: | Sirenix.Utilities.Editor |
public class GUIPagingHelper
public GUIPagingHelper()
public bool IsExpanded
public int CurrentPage { get; set; }
public int ElementCount { get; }
public int EndIndex { get; }
public bool IsEnabled { get; set; }
public bool IsOnFirstPage { get; }
public bool IsOnLastPage { get; }
public int NumberOfItemsPerPage { get; set; }
public int PageCount { get; }
public int StartIndex { get; }
public void DrawToolbarPagingButtons(ref Rect toolbarRect, bool showPaging, bool showItemCount, int btnWidth = 23)
UnityEngine.Rect | toolbarRect | |
System.Boolean | showPaging | |
System.Boolean | showItemCount | |
System.Int32 | btnWidth |
elementCount
and public void Update(int elementCount)
System.Int32 | elementCount | The total number of elements to apply paging for. |