Esempio n. 1
0
 void Awake()
 {
     if (TestFlight.instance == null)
     {
         TestFlight.instance = this;
         DontDestroyOnLoad(this.gameObject);
         _appTokenIOS     = this.appTokenIOS;
         _appTokenAndroid = this.appTokenAndroid;
         TestFlight.takeOff();
     }
     else
     {
         this.gameObject.SetActive(false);
         this.logSceneLoad = false;
         GameObject.Destroy(this.gameObject);
     }
 }