英雄修改
This commit is contained in:
@@ -37,7 +37,7 @@ export class BuffComp extends Component {
|
||||
// this.node.getChildByName("top").getChildByName("buff").getChildByName("def").active = false;
|
||||
// this.node.getChildByName("top").getChildByName("buff").getChildByName("hp").active = false;
|
||||
let hp_node = this.node.getChildByName("top").getChildByName("hp");
|
||||
hp_node.setPosition(hp_node.position.x,hp_node.position.y-140)
|
||||
// hp_node.setPosition(hp_node.position.x,hp_node.position.y-140)
|
||||
}
|
||||
|
||||
update(deltaTime: number) {
|
||||
|
||||
Reference in New Issue
Block a user