fix(游戏逻辑): 初始化任务怪物组件时重置计时器和队列
refactor(UI): 调整top.prefab中元素的尺寸和对齐方式
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user