英雄 技能 碎片重做, 商品页完善

This commit is contained in:
panw
2024-12-18 10:59:20 +08:00
parent 62975dc78b
commit e7f5b44b1e
10 changed files with 17391 additions and 9907 deletions

View File

@@ -21,7 +21,7 @@ export class SkillHomeComp extends CCComp {
let ms_num:number =MSklist.length
let parent= this.node.getChildByName("skills").getChildByName("view").getChildByName("content")
let height=ms_num*135
parent.getComponent(UITransform).width=height
parent.getComponent(UITransform).height=height
for (let i = 0; i < ms_num; i++) {
let msc =ecs.getEntity<MSCard>(MSCard)
msc.load(MSklist[i],parent,1)