/// <summary> /// 初始化 /// </summary> void Init() { if (AppConst.ExampleMode) { InitGui(); } DontDestroyOnLoad(gameObject); //防止销毁自己 //CheckExtractResource(); //释放资源 // 热更UI hotUI = new HotUI(); // 热更新引擎 hotEngine = new HotEngine(hotUI); hotEngine.OpenHotUpdate = AppConst.UpdateMode; Screen.sleepTimeout = SleepTimeout.NeverSleep; Application.targetFrameRate = AppConst.GameFrameRate; Timers.inst.StartCoroutine(GetConfig()); }
public void HOT_CheckUpdateSure(Action sureAction, Action cancelAction, HotEngine engine) { throw new NotImplementedException(); }
public void HOT_HotError(string error, HotEngine engine) { throw new NotImplementedException(); }
public void NetworkInterruption(HotEngine engine) { throw new NotImplementedException(); }