public void Leave() { if (TheGameManager.instance.GameOver) { LoadScene.SceneLoaderForScript(TheGameManager.instance.SceneToLoad); } else { LoadScene.SceneLoaderForScript(TheGameManager.instance.SceneToLoad); } }
public void Leave() { LoadScene.SceneLoaderForScript(SingleGameManager.instance.SceneToLoad); }