how to toggle between scenes in unity code example
Example: how do you switch scenes unity
using UnityEngine.SceneManagement;
SceneManager.LoadScene('Scene');
using UnityEngine.SceneManagement;
SceneManager.LoadScene('Scene');