private void OnEnable()
 {
     renderingSection = new StylizedGrassGUI.Material.Section(materialEditor, "RENDERING", "Rendering");
     mapsSection      = new StylizedGrassGUI.Material.Section(materialEditor, "MAPS", "Main maps");
     colorSection     = new StylizedGrassGUI.Material.Section(materialEditor, "COLOR", "Color");
     shadingSection   = new StylizedGrassGUI.Material.Section(materialEditor, "SHADING", "Shading");
     verticesSection  = new StylizedGrassGUI.Material.Section(materialEditor, "VERTICES", "Vertices");
     windSection      = new StylizedGrassGUI.Material.Section(materialEditor, "WIND", "Wind");
 }
 private void SwitchSection(UI.Material.Section s)
 {
     /*
      * renderingSection.Expanded = (s == renderingSection) ? !renderingSection.Expanded : false;
      * mapsSection.Expanded = (s == mapsSection) ? !mapsSection.Expanded : false;
      * colorSection.Expanded = (s == colorSection) ? !colorSection.Expanded : false;
      * shadingSection.Expanded = (s == shadingSection) ? !shadingSection.Expanded : false;
      * verticesSection.Expanded = (s == verticesSection) ? !verticesSection.Expanded : false;
      * windSection.Expanded = (s == windSection) ? !windSection.Expanded : false;
      */
 }