英雄位置和金猪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: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

View File

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