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