private void Awake()
 {
     lastLoadTime = Time.time;
     if (SceneManager.sceneCount == 1)
     {
         SceneManager.LoadSceneAsync("MainMenu", LoadSceneMode.Additive);
     }
     SystemContainer.Register(this);
     saveableObjects = new Dictionary <string, SaveableObject>();
 }
Exemple #2
0
 private void Awake()
 {
     base.Awake();
     SystemContainer.Register(this);
 }