对UI进行调整
This commit is contained in:
@@ -32,7 +32,7 @@ export class ItemInfoComp extends CCComp {
|
||||
this.node.getChildByName("skill").active = true;
|
||||
this.node.getChildByName("name").getComponent(Label).string=SkillSet[args.uuid].name+" 碎片"
|
||||
this.node.getChildByName("info").getComponent(Label).string="「"+SkillSet[args.uuid].name+"」碎片,用于技能升阶"
|
||||
var icon_path = "game/skills/skill_icon"
|
||||
var icon_path = "game/heros/cards"
|
||||
resources.load(icon_path, SpriteAtlas, (err: any, atlas) => {
|
||||
const sprite = this.node.getChildByName("skill").getChildByName("skill").getChildByName("icon").getComponent(Sprite);
|
||||
// console.log("update_data",atlas,sprite)
|
||||
|
||||
Reference in New Issue
Block a user