【牛气冲天】增加特效

dev_chengFeng
ZhangBiao 2021-04-02 10:52:53 +08:00
parent f45c11825d
commit f8b01c8e8d
2 changed files with 5155 additions and 0 deletions

View File

@ -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