英雄位置和金猪spine

This commit is contained in:
chenxi 2023-06-03 11:58:18 +08:00
parent 336e713fb1
commit f22fedb926
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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()