dd
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user