英雄 技能 碎片重做, 商品页完善
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user