Esempio n. 1
0
 private void Awake()
 {
     // sanity check - & internal setup
     LoadedDataSources = new Dictionary <string, IDataSource>();
     OnSourcesLoaded  += PrintData;
     GameLoader.CallOnComplete(Init);
 }
 public GameManager Initialize(int startLevel)
 {
     //_topScore= ServiceLocator.Get<SaveSystem>().LoadBinary<int>("topScore");
     GameLoader.CallOnComplete(OnGameLoaderComplete);
     SetLevel(startLevel);
     return(this);
 }
    private void Awake()
    {
        if (hudPrefab == null)
        {
            Debug.Log("UIManager has no hud prefab assigned");
        }

        GameLoader.CallOnComplete(Initialize);
    }
Esempio n. 4
0
 private void Awake()
 {
     LoadedDataSource = new Dictionary <string, IDataSource>();
     GameLoader.CallOnComplete(Init);
 }
Esempio n. 5
0
 private void Awake()
 {
     GameLoader.CallOnComplete(Initialize);
 }