战斗区预制体

[复制链接]
502 |1
kk 发表于 2023-4-12 14:11:59 | 显示全部楼层 |阅读模式
玩家从战斗区返回至大厅回调的是那个函数
回复

使用道具 举报

犯困嫌疑人 发表于 2023-4-12 18:09:17 | 显示全部楼层
BattleAreaBattleState.ts

if (SystemUtil.isServer()) {
            this._restTime -= dt;
            this._checkTimer -= dt;
            if (this._checkTimer <= 0) {
                this.check();
                this._checkTimer = checkNumInterval;
            }
            if (this._restTime <= 0) {
                this.machine.changeState(BattleAreaPrepareState);
            }
        }
回复

使用道具 举报

热门版块
快速回复 返回顶部 返回列表