Class Sidebar
Events
onIndexChanged
public Action<int> onIndexChanged
Properties
count
public int count { get; }
width
public float width { get; set; }
splitlineWidth
public float splitlineWidth { get; set; }
currentSelectIndex
public int currentSelectIndex { get; private set; }
sidebarStyle
public SidebarStyle sidebarStyle { get; set; }
normalColor
public Color normalColor { get; set; }
highlightColor
public Color highlightColor { get; set; }
splitlineColor
public Color splitlineColor { get; set; }
this[]
public SidebarButton this[] { get; }
Methods
SidebarButton CreateSidebarButton(LabelContent label, Action<int> callback)
public SidebarButton CreateSidebarButton(LabelContent label, Action<int> callback)