public void OnGUI() { DrawTabs(); if (selectedTab == TAB_CREATE) { GCreateLevelTabDrawer.Draw(); EditorUtility.SetDirty(GEditorSettings.Instance); } else if (selectedTab == TAB_SET_SHADER) { GSetShaderTabDrawer.Draw(); EditorUtility.SetDirty(GEditorSettings.Instance); } else if (selectedTab == TAB_EXTENSION) { GExtensionTabDrawer.Draw(); } }
private void OnEnable() { GExtensionTabDrawer.ReloadExtension(); CheckForUrpFirstTimeImport(); }