bug 点将台卡池预览,再查看四元阵卡池,显示的是点将台卡池
parent
608558d3cd
commit
9053926e02
|
|
@ -80,7 +80,7 @@ function HeroPreviewPanel:OnOpen(...)
|
||||||
this.heroGrid.transform.anchoredPosition = Vector2.New(0,0)
|
this.heroGrid.transform.anchoredPosition = Vector2.New(0,0)
|
||||||
this.elementGrid.transform.anchoredPosition = Vector2.New(0,0)
|
this.elementGrid.transform.anchoredPosition = Vector2.New(0,0)
|
||||||
local temp={...}
|
local temp={...}
|
||||||
if temp and temp[1] then
|
if temp and temp[1] ~= nil then
|
||||||
this.heroScroll:SetActive(temp[1])
|
this.heroScroll:SetActive(temp[1])
|
||||||
this.elementScroll:SetActive(not temp[1])
|
this.elementScroll:SetActive(not temp[1])
|
||||||
this.tabBox:SetActive(temp[1])
|
this.tabBox:SetActive(temp[1])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue