public static void ChangeScense(MyScene fromSence, MyScene toScene) { UINotificationManager.Instance = null; previousSence = fromSence; currentSence = toScene; Application.LoadLevel(toScene.ToString()); Resources.UnloadUnusedAssets(); }
//---------------------------------------------------------------------------------------------------- /// <summary> /// シーン変更中の処理 /// </summary> void SceneChangeInProgressProcess() { //ロードシーン SceneManager.LoadScene(m_currentScene.ToString()); m_sceneState = SceneStatus.CurrentScene; }