diff --git a/Editor/Editor Windows/SceneGroupLoader.cs b/Editor/Editor Windows/SceneGroupLoader.cs index 97593c2..ddd39b6 100644 --- a/Editor/Editor Windows/SceneGroupLoader.cs +++ b/Editor/Editor Windows/SceneGroupLoader.cs @@ -98,7 +98,7 @@ private void OnGUI() } scrollPos = EditorGUILayout.BeginScrollView(scrollPos); - DrawGroupsAndButtons(); + DrawGroupsAndButtons(GUI.enabled); EditorGUILayout.EndScrollView(); } @@ -150,7 +150,7 @@ private List GetValidCategories(out SceneGroup[] groups) /// /// Draws all the buttons for the scene groups in the categories required. /// - private void DrawGroupsAndButtons() + private void DrawGroupsAndButtons(bool isEnabled) { EditorGUILayout.Space(4f); @@ -200,14 +200,14 @@ private void DrawGroupsAndButtons() { if (group.groupCategory.Equals(groupCat.groupName)) { - GUI.enabled = !group.ContainsScene(string.Empty) && group.IsValid; + GUI.enabled = !group.ContainsScene(string.Empty) && group.IsValid && isEnabled; if (GUILayout.Button(group.buttonLabel.Length > 0 ? group.buttonLabel : group.name)) { LoadSceneGroupInEditor(group); } - GUI.enabled = true; + GUI.enabled = isEnabled; } } diff --git a/Extensions/Packages/Multi Scene URP Extension 0.2.0.unitypackage b/Extensions/Packages/Multi Scene URP Extension 0.2.0.unitypackage deleted file mode 100644 index b7e5fee..0000000 Binary files a/Extensions/Packages/Multi Scene URP Extension 0.2.0.unitypackage and /dev/null differ