游戏流程控制通过节点间 通信完成
This commit is contained in:
@@ -265,7 +265,7 @@ export class HeroViewComp extends CCComp {
|
||||
console.log("角色死亡",this.hero_uuid)
|
||||
if(this.hero_uuid == 9999){
|
||||
console.log("任务失败")
|
||||
oops.message.dispatchEvent(GameEvent.MissionLoss,this)
|
||||
oops.message.dispatchEvent(GameEvent.FightEnd,this)
|
||||
}
|
||||
}
|
||||
do_atked(remainingDamage:number){
|
||||
|
||||
Reference in New Issue
Block a user