This commit is contained in:
walkpan
2024-12-24 13:46:46 +08:00
parent 9768a7017c
commit ca54b0a3da
13 changed files with 6320 additions and 10020 deletions

View File

@@ -15,7 +15,7 @@ export class Item extends ecs.Entity {
var path = "game/gui/item";
var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab);
node.parent = praent
let iv = node.getComponent(ItemComp)!;
iv.i_uuid = uuid