refactor(hero): 移除 Boss 阶段描边相关未实现的代码
清理了 Boss 阶段描边功能的相关代码,包括移除了 resetPhaseOutline 和 setPhaseOutline 方法,删除了相关材质定义,将 onPhaseEnter 方法置空待后续迭代实现。
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user