From db5212757706e091a702ba15c3bc3d96bef8626d Mon Sep 17 00:00:00 2001 From: Jonathan Date: Fri, 12 Nov 2021 08:18:59 +0000 Subject: [PATCH] Removed JTools Editor Code - Removed JTools editor code from the multi scene editor. --- Core/Editor/MultiSceneManagerEditor.cs | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/Core/Editor/MultiSceneManagerEditor.cs b/Core/Editor/MultiSceneManagerEditor.cs index 8964686..e920b46 100644 --- a/Core/Editor/MultiSceneManagerEditor.cs +++ b/Core/Editor/MultiSceneManagerEditor.cs @@ -1,15 +1,5 @@ -// ---------------------------------------------------------------------------- -// MultiSceneManagerEditor.cs -// -// Author: Jonathan Carter (A.K.A. J) -// Date: 10/11/2021 -// ---------------------------------------------------------------------------- - -using System; -using System.Collections.Generic; -using System.IO; +using System.Collections.Generic; using System.Linq; -using JTools.Editor; using UnityEditor; using UnityEditor.SceneManagement; using UnityEngine; @@ -29,8 +19,16 @@ private void OnEnable() public override void OnInspectorGUI() { - Button.ColourButton("Load All In Editor (Will throw editor error, ignore it)", Colours.Green, LoadActiveSceneGroupInEditor); - Button.ColourButton("Load All Additive In Editor", Colours.Yellow, LoadAdditiveActiveSceneGroupInEditor); + if (GUILayout.Button("Load All In Editor (Will throw editor error, ignore it)")) + { + LoadActiveSceneGroupInEditor(); + } + + if (GUILayout.Button("Load All Additive In Editor")) + { + LoadAdditiveActiveSceneGroupInEditor(); + } + base.OnInspectorGUI(); }