public GUILayoutTogglePanel(string title, bool initState = false, bool usingScroll = true) { this.title = title; this.state = initState; if (usingScroll) { scrollPanel = new GUILayoutScrollPanel(); } }
public GUILayoutTogglePanel(string title, bool initState = false, bool usingScroll = true) { this.Title = title; this.State = initState; BgColor = new Color(0.9f, 0.95f, 0.96f); if (usingScroll) { ScrollPanel = new GUILayoutScrollPanel(); } }