fix(游戏逻辑): 初始化任务怪物组件时重置计时器和队列

refactor(UI): 调整top.prefab中元素的尺寸和对齐方式
This commit is contained in:
walkpan
2026-01-19 07:52:51 +08:00
parent 1c333629b4
commit b392ebe272
2 changed files with 19 additions and 16 deletions

View File

@@ -56,6 +56,9 @@ export class MissionMonCompComp extends CCComp {
smc.vmdata.mission_data.mon_num=0
// 重置生成顺序计数器
this.globalSpawnOrder = 0
this.gameTime = 0
this.spawnLogicTimer = 0
this.MonQueue = []
this.do_mon_wave()
}