Ejemplo n.º 1
0
    void LogicUpdate()  //  通过接收的数据帧来更新逻辑显示
    {
        AllPlayerOperation _op;

        if (BattleData.Instance.TryGetNextPlayerOp(out _op))
        {
            Debug.Log(BattleData.Instance.GetFrameDataNum());
            roleMgr.Logic_Operation(_op);
            //  更新逻辑显示
            roleMgr.Logic_RoleUpdate();
            obstacleMgr.Logic_ObsUpdate();

            BattleData.Instance.RunOpSucces();
        }
    }