技能动画添加
This commit is contained in:
@@ -78,7 +78,7 @@ export class MissionHomeComp extends CCComp {
|
||||
|
||||
let hc:number =HeroList.length
|
||||
let parent= this.node.getChildByName("heros").getChildByName("view").getChildByName("content")
|
||||
let height=Math.ceil(hc / 4)*140 +100
|
||||
let height=Math.ceil(hc / 4)*160 +100
|
||||
parent.getComponent(UITransform).height=height
|
||||
|
||||
for (let i = 0; i < hc; i++) {
|
||||
|
||||
Reference in New Issue
Block a user