英雄位置和金猪spine
This commit is contained in:
parent
336e713fb1
commit
f22fedb926
@ -94,7 +94,7 @@ function HeroComp:refreshStageFormation()
|
||||
spineObject:playAnimation("idle", true)
|
||||
spineObject:setLocalScale(0.7, 0.7, 0.7)
|
||||
self.heroSpineList[i] = spineObject
|
||||
self.heroSpineList[i]:setLocalPosition(0, -52, 0)
|
||||
self.heroSpineList[i]:setLocalPosition(0, -60, 0)
|
||||
end)
|
||||
end
|
||||
else
|
||||
|
||||
@ -9,8 +9,8 @@ function SideBarGoldPigCell:getIsOpen()
|
||||
return DataManager.GoldPigData:getIsOpen()
|
||||
end
|
||||
|
||||
function SideBarGoldPigCell:getIconRes()
|
||||
return "main_btn_pig"
|
||||
function SideBarGoldPigCell:getSpineName()
|
||||
return "ui_main_btn_pig"
|
||||
end
|
||||
|
||||
function SideBarGoldPigCell:onClick()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user