Esempio n. 1
0
 // 游戏的总入口
 //注意先后顺序
 async void Awake()
 {
     DataMgr.Instance.InitAllConfig();
     //await VersionCheckMgr.Instance.Check();
     //while (!VersionCheckMgr.Instance.isUpdateCheckComplete)
     //{
     //    await new WaitForEndOfFrame();
     //}
     //ABMgr.Instance.Initialize();
     LanguageMgr.Init();
     PanelMgr.Instance.OpenPanel <MenuePl>();
     //MyAudioMgr.Instance.Init();
     //GameObject gameObject = ABMgr.Instance.LoadPrefab("prefabs/scenemodel/tree_red_01");
     //GameObject obj = Instantiate(gameObject);
     //obj.transform.position = Vector3.zero;
     //StartHotFixPro();
 }