fix(hero): 移除死亡动画播放逻辑
移除 HeroSpine、HeroViewComp 和 HeroAnmComp 中与死亡动画相关的播放调用和状态检查。因为死亡动画可能已整合到其他特效或逻辑中,继续播放会导致视觉或逻辑冲突。
This commit is contained in:
@@ -414,9 +414,7 @@ export class HeroViewComp extends CCComp {
|
||||
|
||||
// 播放死亡特效
|
||||
this.deaded();
|
||||
this.as.dead();
|
||||
|
||||
|
||||
}
|
||||
realDead(){
|
||||
// 🔥 修复:添加model安全检查,防止实体销毁过程中的空指针异常
|
||||
|
||||
Reference in New Issue
Block a user