【抽卡】尝试修复报错黑屏
parent
20df877296
commit
a78b4996dd
|
@ -417,7 +417,9 @@ function SingleRecruitPanel:UpdataPanelData(_heroData)
|
||||||
local idle = function() SkeletonGraphic.AnimationState:SetAnimation(0, "idle", true) end
|
local idle = function() SkeletonGraphic.AnimationState:SetAnimation(0, "idle", true) end
|
||||||
SkeletonGraphic.AnimationState.Complete = SkeletonGraphic.AnimationState.Complete + idle
|
SkeletonGraphic.AnimationState.Complete = SkeletonGraphic.AnimationState.Complete + idle
|
||||||
poolManager:SetLiveClearCall(GetResourcePath(heroStaticData.Live), testLiveGO, function ()
|
poolManager:SetLiveClearCall(GetResourcePath(heroStaticData.Live), testLiveGO, function ()
|
||||||
|
if SkeletonGraphic and not IsNull(SkeletonGraphic) then
|
||||||
SkeletonGraphic.AnimationState.Complete = SkeletonGraphic.AnimationState.Complete - idle
|
SkeletonGraphic.AnimationState.Complete = SkeletonGraphic.AnimationState.Complete - idle
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
self.dragView:SetDragGO(testLiveGO)
|
self.dragView:SetDragGO(testLiveGO)
|
||||||
SetHeroStars(this.spLoader, self.starGrid, _heroData.star,1,Vector2.New(52,52),-2,Vector2.New(0.5,0.5))
|
SetHeroStars(this.spLoader, self.starGrid, _heroData.star,1,Vector2.New(52,52),-2,Vector2.New(0.5,0.5))
|
||||||
|
|
Loading…
Reference in New Issue