Ejemplo n.º 1
0
 public void RegisterService()                                           //Were not going to register this. This class is just a backdoor and thus not necesarry to register as a service.
 {
     #if UNITY_EDITOR
     //Only doing this to prevent the console warning
     OnAboutToLoadNewScene?.Invoke();
     #endif
 }
Ejemplo n.º 2
0
 private void ExecuteLoad()
 {
     OnAboutToLoadNewScene?.Invoke();
     LoadSceneAsync(m_currentScene);
 }
Ejemplo n.º 3
0
 private void ExecuteLoad()
 {
     OnAboutToLoadNewScene?.Invoke();
     SceneManager.LoadScene(m_currentScene);
 }