Пример #1
0
 public GUILayoutTogglePanel(string title, bool initState = false, bool usingScroll = true)
 {
     this.title = title;
     this.state = initState;
     if (usingScroll)
     {
         scrollPanel = new GUILayoutScrollPanel();
     }
 }
Пример #2
0
 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();
     }
 }