protected override void OnWindowEnable(VisualElement root) { m_SettingsTab = new SettingsTab(); AddTab("Settings", m_SettingsTab); AddTab("About", new AboutTab()); SetupSettingsTab(m_SettingsTab); }
void SetupSettingsTab(SettingsTab settingsTab) { settingsTab.UpdateBuildEntitiesCallback += UpdateBuildEntities; UpdateBuildEntities(); }