Esempio n. 1
0
 private void Init()
 {
     DebugView.InitLogger();
     Screen.sleepTimeout         = -1;
     Application.runInBackground = true;
     UnityEngine.Object.DontDestroyOnLoad(base.gameObject);
     Debug.Log("Start SDKInit");
     if (GlobalSettings.isLoginByHoolaiSDK && !InitSDK.instance.IsInit())
     {
         InitSDK.instance.StartSDKInit();
     }
     if (GlobalSettings.isLoginByAnySDK && !InitSDK.instance.IsInit())
     {
         Debug.Log("StartAnySDKInit");
         InitSDK.instance.isFirstLogin = true;
         InitSDK.instance.StartAnySDKInit();
     }
 }