四元阵适配修改
parent
e26a8a698c
commit
1adf97eddc
|
@ -89197,7 +89197,7 @@ MonoBehaviour:
|
|||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 7224308302718123313}
|
||||
m_Enabled: 1
|
||||
m_Enabled: 0
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: fcf53bbee510dca40b2f81e3c0d426c6, type: 3}
|
||||
m_Name:
|
||||
|
@ -89255,9 +89255,9 @@ MonoBehaviour:
|
|||
loop: 0
|
||||
loopType: 0
|
||||
targetObj: {fileID: 9156408247357342761}
|
||||
isPlayAudio: 1
|
||||
isPlayAudio: 0
|
||||
isHaveCloseBtn: 0
|
||||
isPlayOnOpen: 1
|
||||
isPlayOnOpen: 0
|
||||
--- !u!1 &7413048951530282211
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
|
@ -244,21 +244,23 @@ function ElementDrawCardPanelNew:OnShow(orginLayer)
|
|||
self.itemPos[i].codeLayer.sortingOrder = self.sortingOrder + 2
|
||||
Util.SetParticleSortLayer(self.itemPos[i].effect, self.sortingOrder + 1)
|
||||
end
|
||||
self.itemPosCom.enabled = false
|
||||
if isPlayAnim then
|
||||
isPlayAnim = false
|
||||
local anims = self.gameObject:GetComponentsInChildren(typeof(PlayFlyAnim))
|
||||
if anims.Length > 0 then
|
||||
for i = 0, anims.Length - 1 do
|
||||
local anim = anims[i]
|
||||
if anim.isPlayOnOpen then
|
||||
anim:PlayAnim(false,function()
|
||||
self.itemPosCom.enabled = true
|
||||
end)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
self.itemPosCom.enabled = true
|
||||
ForceRebuildLayout(self.itemPosCom.transform)
|
||||
-- self.itemPosCom.enabled = false
|
||||
-- if isPlayAnim then
|
||||
-- isPlayAnim = false
|
||||
-- local anims = self.gameObject:GetComponentsInChildren(typeof(PlayFlyAnim))
|
||||
-- if anims.Length > 0 then
|
||||
-- for i = 0, anims.Length - 1 do
|
||||
-- local anim = anims[i]
|
||||
-- if anim.isPlayOnOpen then
|
||||
-- anim:PlayAnim(false,function()
|
||||
-- self.itemPosCom.enabled = true
|
||||
-- end)
|
||||
-- end
|
||||
-- end
|
||||
-- end
|
||||
-- end
|
||||
-- Timer.New(function()
|
||||
-- self.itemPosCom.enabled = true
|
||||
-- end,0.5):Start()
|
||||
|
|
Loading…
Reference in New Issue