技能 目标确认 优化完成 最近,最远,血最少,血最多

This commit is contained in:
panw
2025-01-09 10:05:17 +08:00
parent 52cc268368
commit 4c68d9484b
3 changed files with 172 additions and 166 deletions

View File

@@ -26,7 +26,7 @@ export class Skill extends ecs.Entity {
{
var path = "game/skills/"+SkillSet[uuid].sp_name;
var prefab: Prefab = oops.res.get(path, Prefab)!;
// console.log("load skill :",path,prefab)
console.log("load skill pos:",pos)
var node = instantiate(prefab);
pos=v3(pos.x,pos.y)
node.parent = parent.parent;