Example #1
0
 private void OnSceneLoad(Scene scene, LoadSceneMode mode)
 {
     CurrentScene = _loadState;
     if (_loadState != null)
     {
         Debug.Log("Load: " + _loadState.SceneName);
         _loadState.OnLoad();
     }
 }