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