界面调整 去掉技能大页面

This commit is contained in:
2024-12-18 15:58:44 +08:00
parent e7f5b44b1e
commit 25b8e384e7
16 changed files with 11112 additions and 7725 deletions

View File

@@ -16,6 +16,9 @@ export class Item extends ecs.Entity {
var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab);
node.getChildByName("num").getComponent(Label).string = num.toString();
if(num==0){
node.getChildByName("num").getComponent(Label).string ="";
}
let url = "gui/items";
let pathName= Items[uuid].path;