public virtual void Update() { try { if (Input.GetKeyDown(KeyCode.Escape) == true) { Application.Quit(); } // 通讯消息 Communicate.GSConnector.Update(Time.deltaTime); //场景数据调度 SceneM.Update(Time.deltaTime); GameTimeDC.Update(Time.deltaTime); // 携程工具 IGGCoroutine.Update(); // 定时器工具 Timer.Update(); } catch (System.Exception e) { Debug.LogError(e); } }
void Update() { try { if (Input.GetKeyDown(KeyCode.Escape) == true) { Application.Quit(); } //定时器调度 Timer.Update(); //协程调度 ND.Coroutine.Update(); //场景数据调度 SceneM.Update(Time.deltaTime); } catch (System.Exception e) { Debug.LogError(e); } }
void Update() { try { // 定时器调度 Timer.Update(); // 协程调度 Coroutine.Update(); // 场景调度 SceneM.Update(Time.deltaTime); //数据服务中心 BSsyncD.Update(Time.deltaTime); } catch (System.Exception e) { Debug.LogError(e); } if (ac) { Time.timeScale = 20f; } }