【牛气冲天】增加特效
parent
f45c11825d
commit
f8b01c8e8d
File diff suppressed because it is too large
Load Diff
|
@ -117,6 +117,10 @@ function NiuQiChongTian:SetProgress()
|
|||
Util.GetGameObject(item, "Text"):GetComponent("Text").text = progressData[i].value[2][1]
|
||||
Util.GetGameObject(item, "icon"):GetComponent("Image").sprite = Util.LoadSprite(artConfig[itemConfig[progressData[i].reward[1][1]].ResourceID].Name)
|
||||
Util.GetGameObject(item, "red"):SetActive(progressData[i].state == 1)
|
||||
if i == 5 and progressData[i].state ~= 2 then
|
||||
-- Util.GetGameObject(item, "UI_Effect_jinkuang_Yuan"):SetEffectLayer(self.sortingOrder)
|
||||
Util.AddParticleSortLayer(Util.GetGameObject(item, "UI_Effect_jinkuang_Yuan"), self.sortingOrder)
|
||||
end
|
||||
local btn = Util.GetGameObject(item, "icon")
|
||||
Util.AddOnceClick(btn,function ()
|
||||
if progressData[i].state == 1 then
|
||||
|
|
Loading…
Reference in New Issue