Пример #1
0
 public void SceneJump(SceneEnum.Scenes sceneEnum)
 {
     startLoaded    = true;
     lastScene      = nowScene;
     nowScene       = sceneEnum;
     asyncOperation = SceneManager.LoadSceneAsync(sceneEnum.ToString());
 }
Пример #2
0
 public void SceneJump(SceneEnum.Scenes sceneEnum, SceneEnum.Scenes fromScene)
 {
     nowScene = fromScene;
     SceneJump(sceneEnum);
 }