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); }
private void Awake() { LoadedDataSource = new Dictionary <string, IDataSource>(); GameLoader.CallOnComplete(Init); }
private void Awake() { GameLoader.CallOnComplete(Initialize); }