TCX_LongZhu
parent
5eca4e4c9f
commit
09fb9c651a
|
@ -141,12 +141,18 @@ function this:FormationAdapter()
|
||||||
if MonsterGroup.Contents[1][i] and MonsterGroup.Contents[1][i] > 0 then
|
if MonsterGroup.Contents[1][i] and MonsterGroup.Contents[1][i] > 0 then
|
||||||
local pos = i
|
local pos = i
|
||||||
-- LogYellow("MonsterGroup.Contents[1][i] "..MonsterGroup.Contents[1][i])
|
-- LogYellow("MonsterGroup.Contents[1][i] "..MonsterGroup.Contents[1][i])
|
||||||
|
Util.GetGameObject( heroListGo[pos],"Mask"):SetActive(true)
|
||||||
|
Util.GetGameObject( heroListGo[pos],"StarGrid"):SetActive(true)
|
||||||
|
Util.GetGameObject( heroListGo[pos],"lv"):SetActive(true)
|
||||||
this.SetCardSingleData(heroListGo[pos],MonsterGroup.Contents[1][i],pos)
|
this.SetCardSingleData(heroListGo[pos],MonsterGroup.Contents[1][i],pos)
|
||||||
heroListGo[pos]:SetActive(true)
|
heroListGo[pos]:SetActive(true)
|
||||||
else
|
else
|
||||||
local pos = i
|
local pos = i
|
||||||
heroListGo[pos]:SetActive(true)
|
heroListGo[pos]:SetActive(true)
|
||||||
Util.GetGameObject( heroListGo[pos],"lv/Text"):GetComponent("Text").text=""
|
Util.GetGameObject( heroListGo[pos],"Mask"):SetActive(false)
|
||||||
|
Util.GetGameObject( heroListGo[pos],"StarGrid"):SetActive(false)
|
||||||
|
Util.GetGameObject( heroListGo[pos],"lv"):SetActive(false)
|
||||||
|
--Util.GetGameObject( heroListGo[pos],"lv/Text"):GetComponent("Text").text=""
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue