Esempio n. 1
0
 private IEnumerator LoginAfterInitialization()
 {
     while (!TankPrefs.IsInitialized || TankPrefs.GetInt("privacyPolicyAgreed") == 0)
     {
         yield return(null);
     }
     ConnectWithPlayGamesServices();
     LoadingScreen.AddProgress(0.1f);
 }
Esempio n. 2
0
 private IEnumerator Start()
 {
     notificationManager.Initialize();
     StartCoroutine(LoadingScreen.AddProgress(0.05f));
     while (MenuController.instance == null && !MenuController.GetMenu <MainMenu>().gameObject.activeInHierarchy)
     {
         yield return(null);
     }
     iapManager.Initialize();
     //adsManager.Initialize();
 }
Esempio n. 3
0
 private void Awake()
 {
     Manager <MainManager> .instance = this;
     Object.DontDestroyOnLoad(base.gameObject);
     //analyticsManager.Initialize();
     StartCoroutine(LoadingScreen.AddProgress(0.15f));
     //platformManager.Initialize();
     backendManager.Initialize();
     TankPrefs.Initialize();
     playerDataManager.Initialize();
 }