parent
26b1480da9
commit
2688f37d72
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, "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, "icon"):GetComponent("Image").sprite = Util.LoadSprite(artConfig[itemConfig[progressData[i].reward[1][1]].ResourceID].Name)
|
||||||
Util.GetGameObject(item, "red"):SetActive(progressData[i].state == 1)
|
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")
|
local btn = Util.GetGameObject(item, "icon")
|
||||||
Util.AddOnceClick(btn,function ()
|
Util.AddOnceClick(btn,function ()
|
||||||
if progressData[i].state == 1 then
|
if progressData[i].state == 1 then
|
||||||
|
|
Loading…
Reference in New Issue