战斗管理系统基础
This commit is contained in:
@@ -36,7 +36,8 @@ export class BuffComp extends Component {
|
||||
// this.node.getChildByName("top").getChildByName("buff").getChildByName("cd").active = false;
|
||||
// this.node.getChildByName("top").getChildByName("buff").getChildByName("def").active = false;
|
||||
// this.node.getChildByName("top").getChildByName("buff").getChildByName("hp").active = false;
|
||||
// this.node.getChildByName("top").getChildByName("buff").getChildByName("crit").active = false;
|
||||
let hp_node = this.node.getChildByName("top").getChildByName("hp");
|
||||
hp_node.setPosition(hp_node.position.x,hp_node.position.y-140)
|
||||
}
|
||||
|
||||
update(deltaTime: number) {
|
||||
|
||||
Reference in New Issue
Block a user