created new demo scene switcher
this is just an overhaul of the debug scene switcher -- no longer breaks if you leave the main menu! a win for the girlies
This commit is contained in:
@@ -50,4 +50,8 @@ public class SceneController : MonoBehaviour
|
||||
SceneManager.LoadScene(index);
|
||||
}
|
||||
|
||||
public void LoadSceneByName(string name) {
|
||||
SceneManager.LoadScene(name);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user