Example #1
0
 public void Enter()
 {
     // load menu UI
     if (_scenesManager == null)
     {
         _scenesManager = ScenesManager.Instance;
     }
     _scenesManager.LoadScene(_uIsceneName);
 }
Example #2
0
        public void Enter()
        {
            //Debug.Log("Enter - Loading_State");

            // load scene
            if (_scenesManager == null)
            {
                _scenesManager = ScenesManager.Instance;
            }
            _scenesManager.LoadScene(_sceneName);
        }
Example #3
0
        public void Enter()
        {
            // load UI  LevelEnd
            if (_scenesManager == null)
            {
                _scenesManager = ScenesManager.Instance;
            }
            _scenesManager.LoadScene(_uIsceneName);

            _scenesManager.UnLoadScene("Game");
            _scenesManager.UnLoadScene("UIGame");
        }