制作了多个 近战技能

This commit is contained in:
2025-11-04 17:25:48 +08:00
parent 53cf25d7a5
commit afbaa13cb2
28 changed files with 2625 additions and 126 deletions

View File

@@ -218,7 +218,7 @@ export class HeroViewComp extends CCComp {
var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab);
node.setScale(node.scale.x * scale, node.scale.y);
node.setPosition(this.node.position.x, this.node.position.y+8, this.node.position.z);
node.setPosition(this.node.position.x, this.node.position.y+50, this.node.position.z);
node.parent = this.node.parent;
}