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