This commit is contained in:
walkpan
2025-01-09 12:39:52 +08:00
7 changed files with 1508 additions and 1435 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;