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