예제 #1
0
파일: EZScene.cs 프로젝트: hesansi/EZWork
 public void Pop(EZLoadingType loadingType = EZLoadingType.LoadingScene1)
 {
     ClearActions();
     if (GetComponent <PopSceneLoader>() == null)
     {
         _sceneLoader = gameObject.AddComponent <PopSceneLoader>();
     }
     _sceneLoader.Load(loadingType);
 }
예제 #2
0
파일: EZScene.cs 프로젝트: hesansi/EZWork
        public void Push(string nextSceneName, EZLoadingType loadingType = EZLoadingType.LoadingScene1)
        {
            ClearActions();
            RefreshStack(nextSceneName);

            if (GetComponent <PushSceneLoader>() == null)
            {
                _sceneLoader = gameObject.AddComponent <PushSceneLoader>();
            }
            _sceneLoader.Load(loadingType);
        }