refactor(hero): 移除 Boss 阶段描边相关未实现的代码

清理了 Boss 阶段描边功能的相关代码,包括移除了 resetPhaseOutline 和 setPhaseOutline 方法,删除了相关材质定义,将 onPhaseEnter 方法置空待后续迭代实现。
This commit is contained in:
panFD
2026-10-10 00:27:29 +08:00
parent b31d870d90
commit 24aff3baa3
5 changed files with 3 additions and 60 deletions

View File

@@ -576,17 +576,6 @@ export class HeroViewComp extends CCComp {
// }
}
/** 复位阶段描边为默认(Boss 池化复用必经路径,防红/绿描边残留到下一个复用者) */
public resetPhaseOutline() {
let flash = this.node.getComponent(FlashSprite);
if (!flash) {
flash = this.node.getComponentInChildren(FlashSprite);
}
if (flash) {
flash.setPhaseOutline(0);
}
}
}