Editor/LevelsTools.cs
/// <summary>
/// If the launch sequence is not injected this method is used.
/// </summary>
/// <param name="level"></param>
If the launch sequence is not injected this method is used.
If the launch sequence is not injected this method is used .
static void LaunchDefault(Level level)
        {
            EditorSceneManager.NewScene(NewSceneSetup.EmptyScene, NewSceneMode.Single); 
            LevelActivator.NewEditor(level, USSEditorPrefs.vars, null);
            EditorApplication.isPlaying = true;
        }
static void LaunchDefault ( Level level ) { EditorSceneManager . NewScene ( NewSceneSetup . EmptyScene , NewSceneMode . Single ) ; LevelActivator . NewEditor ( level , USSEditorPrefs . vars , null ) ; EditorApplication . isPlaying = true ; }
If the launch sequence is not injected this method is used.
If the launch sequence is not injected this method is used .
//Trick to clear all currently opened scenes is to just make new one //Make level activator and provide selevted level //Start game
level
Level
None