Skip to content

Commit

Permalink
Removed JTools Editor Code
Browse files Browse the repository at this point in the history
- Removed JTools editor code from the multi scene editor.
  • Loading branch information
JonathanMCarter committed Nov 12, 2021
1 parent 5158b0d commit db52127
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions Core/Editor/MultiSceneManagerEditor.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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();
}

Expand Down

0 comments on commit db52127

Please sign in to comment.