public void Draw(Config config)
 {
     _drawContent = EntitasEditorLayout.DrawSectionHeaderToggle(title, _drawContent);
     if (_drawContent)
     {
         EntitasEditorLayout.BeginSectionContent();
         {
             drawContent(config);
         }
         EntitasEditorLayout.EndSectionContent();
     }
 }
Exemplo n.º 2
0
 public void Draw(Properties properties)
 {
     _drawContent = EntitasEditorLayout.DrawSectionHeaderToggle(title, _drawContent);
     if (_drawContent)
     {
         EntitasEditorLayout.BeginSectionContent();
         {
             drawContent(properties);
         }
         EntitasEditorLayout.EndSectionContent();
     }
 }