예제 #1
0
 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();
 }
예제 #2
0
    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
    }