コード例 #1
0
    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;
        }
    }