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