how to tell if a scene got switch unity C# code example
Example 1: how to switch scenes unity
SceneManager.LoadScene("MyScene");
Example 2: how do you switch scenes
using UnityEngine.SceneManagement;
SceneManager.LoadScene('Scene');
SceneManager.LoadScene("MyScene");
using UnityEngine.SceneManagement;
SceneManager.LoadScene('Scene');