命格领完之后宝箱位置不正

onepiece_demo_arena
xiejun 2024-01-25 14:42:23 +08:00
parent 2b4f3e1bf2
commit f4d9fb8f0b
1 changed files with 2 additions and 0 deletions

View File

@ -197,8 +197,10 @@ function Gem:UpdatePanelData(_type)
--LogError("progress==============="..progresss)
if isCan==false then
-- self.boxIcon.gameObject:GetComponent("Animator").Play("Entry")
self.boxIcon.gameObject.transform.rotation=Quaternion.Euler(0,0,0)
end
self.boxIcon.gameObject:GetComponent("Animator").enabled = isCan
local curBoxConfig=ConfigManager.TryGetAllConfigsDataByKey(ConfigName.GemLotteryConfig,"Library",_type)
if curBoxConfig then
for i=1,#curBoxConfig do