Exemple #1
0
 void Init()
 {
     DataManager.Init();
     FacebookAPI.Init();
     MyLocalize.InitData();
     LeanTween.init();
     #if UNITY_ANDROID
     onKeyBackClicked = new List <System.Action>();
     #endif
     Application.targetFrameRate = 60;
     Screen.sleepTimeout         = SleepTimeout.NeverSleep;
 }