符文随到高品质出动效时,层级调整到最高
This commit is contained in:
parent
218aa308e8
commit
d2dcf2a52f
@ -321,6 +321,7 @@ function RunesInfoComp:endAutoQuenching()
|
|||||||
for index, obj in ipairs(self.grids) do
|
for index, obj in ipairs(self.grids) do
|
||||||
local qlt = self.runesEntity:getGridQuality(index)
|
local qlt = self.runesEntity:getGridQuality(index)
|
||||||
if qlt and table.containValue(DataManager.RunesData:getCheckQualityIds(), qlt) and not self.runesEntity:isAttrLock(index) then
|
if qlt and table.containValue(DataManager.RunesData:getCheckQualityIds(), qlt) and not self.runesEntity:isAttrLock(index) then
|
||||||
|
obj:getTransform():SetAsLastSibling()
|
||||||
local animator = obj:getComponent(GConst.TYPEOF_UNITY_CLASS.ANIMATOR)
|
local animator = obj:getComponent(GConst.TYPEOF_UNITY_CLASS.ANIMATOR)
|
||||||
animator.enabled = true
|
animator.enabled = true
|
||||||
-- CS.UnityEngine.Animator.StringToHash("runes_shake") 结果是1132417824
|
-- CS.UnityEngine.Animator.StringToHash("runes_shake") 结果是1132417824
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user