【乾坤宝盒】报错修改
parent
a3c65ee8d1
commit
90d9530b2b
|
|
@ -114,7 +114,7 @@ function this.SingleHeroDataShow(go,_heroData)
|
|||
local selectObj=Util.GetGameObject(_go.transform, "choosed"):GetComponent("Image")
|
||||
selectObj.sprite=this.spLoader:LoadSprite("r_chouka_yixuanding")
|
||||
local isHave = table.indexof(this.currHeroIds,heroData.Id)
|
||||
selectObj.gameObject:SetActive(isHave)
|
||||
selectObj.gameObject:SetActive(not not isHave)
|
||||
Util.AddOnceClick(btn, function()
|
||||
if #this.currHeroIds==3 and not isHave then
|
||||
PopupTipPanel.ShowTip("只可选择3枚心愿魂印")
|
||||
|
|
|
|||
Loading…
Reference in New Issue