跨服战界面膜拜按钮调整
parent
99ae5cb8ec
commit
e8efc2e7e6
|
@ -266,6 +266,12 @@ function this.ShowSingleData(go,data,i)
|
||||||
Util.GetGameObject(go, "sdBtn/Text"):SetActive(not data.hadProud)
|
Util.GetGameObject(go, "sdBtn/Text"):SetActive(not data.hadProud)
|
||||||
Util.GetGameObject(go, "sdBtn/dianzanImage/Text"):GetComponent("Text").text = data.worshipTime
|
Util.GetGameObject(go, "sdBtn/dianzanImage/Text"):GetComponent("Text").text = data.worshipTime
|
||||||
dianzanImage:SetActive(data.hadProud)
|
dianzanImage:SetActive(data.hadProud)
|
||||||
|
if data.hadProud then
|
||||||
|
sdBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite("r_hero_button_001")
|
||||||
|
else
|
||||||
|
sdBtn:GetComponent("Image").sprite = this.spLoader:LoadSprite("f_feishengshi_huanganniu")
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
Util.AddOnceClick(sdBtn,function()
|
Util.AddOnceClick(sdBtn,function()
|
||||||
if not data.hadProud then
|
if not data.hadProud then
|
||||||
|
|
Loading…
Reference in New Issue