public void ChangeScene(string sceneName) { if (confirm != null) { confirm.ShowConfirm(() => SceneManager.LoadScene(sceneName, LoadSceneMode.Single)); } else { SceneManager.LoadScene(sceneName, LoadSceneMode.Single); } }
public void ChangeScene(string sceneName) { if (confirm != null) { confirm.ShowConfirm(() => SceneManager.LoadScene(sceneName, LoadSceneMode.Single)); } else { SceneManager.LoadScene(sceneName, LoadSceneMode.Single); } }