/// <summary> /// 最初から /// </summary> public void RestartMainScene() { CloseMenu(); PlayerController.InitState(); MainSceneManager.StartMainScene(MainSceneManager.GetLevel()); }
/// <summary> /// メインシーンへ進む際、難易度選択を行う /// </summary> /// <param name="num"></param> public void SelectMainSceneLevel(int num) { //SceneManager.LoadScene(MainSceneNum); MainSceneManager.StartMainScene((Level)System.Enum.ToObject(typeof(Level), num)); }