void Start() { Application.targetFrameRate = 60; if (ClearProgress) { ProgressManager.DeleteProgress(); } BaseObjectFactory.SetVariants(); PlayerModel = new Player(); PlayerModel.Init(this); ProgressManager.LoadProgress(this); Player.Init(this); IapManager.Init(this); SpawnZonesAgragator.Init(this); Fauna.Init(this); StartCoroutine(AutoSave()); Pathfinder.Scan(); #if FACEBOOK FbManager.Init(); #endif #if UNITY_IOS GameCenterManager.Authenticate(); #endif #if UNITY_ANDROID GooglePlayServicesController.Init(); #endif }