public void Reload() { this.InitializeGameConfig(); Configs.LoadConfig(); GM.GetInstance().Init(); GoodsManager.Initialize(); AchiveData.Initialize(); TaskData.Initialize(); LoginData.Initialize(); GlobalTimer.Initialize(); AdsManager.Initialize(); DotManager.GetInstance().Check(); GameList.Instance.init(); GetComponent <MainScene>().Init(); Utils.ShowLoginRewards(); }
private void Start() { #if UNITY_EDITOR this.InitializeGameConfig(); Configs.LoadConfig(); GM.GetInstance().Init(); GoodsManager.Initialize(); AchiveData.Initialize(); TaskData.Initialize(); LoginData.Initialize(); GlobalTimer.Initialize(); AdsManager.Initialize(); DotManager.GetInstance().Check(); GameList.Instance.init(); GetComponent <MainScene>().Init(); Utils.ShowLoginRewards(); #endif }