分解神兵显示修改
parent
c55a37ef31
commit
905cce0946
|
@ -19,8 +19,7 @@ function this:InitComponent(gameObject)
|
||||||
this.cancelBtn=Util.GetGameObject(gameObject,"cancelBtn")
|
this.cancelBtn=Util.GetGameObject(gameObject,"cancelBtn")
|
||||||
this.confirmBtn=Util.GetGameObject(gameObject,"resetBtn")
|
this.confirmBtn=Util.GetGameObject(gameObject,"resetBtn")
|
||||||
this.getInfoTxt=Util.GetGameObject(gameObject,"Body/Text"):GetComponent("Text")
|
this.getInfoTxt=Util.GetGameObject(gameObject,"Body/Text"):GetComponent("Text")
|
||||||
this.getInfoTxt.text=Language[11574]
|
this.btnInfo=Util.GetGameObject(gameObject,"resetBtn/Text"):GetComponent("Text")
|
||||||
Util.GetGameObject(gameObject,"resetBtn/Text"):GetComponent("Text").text=Language[11575]
|
|
||||||
--滚动条根节点
|
--滚动条根节点
|
||||||
this.root = Util.GetGameObject(gameObject, "Root")
|
this.root = Util.GetGameObject(gameObject, "Root")
|
||||||
end
|
end
|
||||||
|
@ -54,9 +53,13 @@ function this:OnShow(_parent,...)
|
||||||
if type==1 then
|
if type==1 then
|
||||||
this.infoTxt.text=Language[11576]
|
this.infoTxt.text=Language[11576]
|
||||||
this.titleText.text=Language[11573]
|
this.titleText.text=Language[11573]
|
||||||
|
this.btnInfo.text=Language[11575]
|
||||||
|
this.getInfoTxt.text=Language[11574]
|
||||||
else
|
else
|
||||||
this.infoTxt.text="确认要分解所选的神兵或神兵碎片?"
|
this.infoTxt.text="确认要分解所选的神兵或神兵碎片?"
|
||||||
this.titleText.text="确认分解"
|
this.titleText.text="确认分解"
|
||||||
|
this.btnInfo.text="分解"
|
||||||
|
this.getInfoTxt.text="分解后可获得"
|
||||||
end
|
end
|
||||||
LogError("#args[1]====="..#args[1])
|
LogError("#args[1]====="..#args[1])
|
||||||
ResetItemView(this.root,this.root.transform,itemList,10,1,sortingOrder,false,args[1])
|
ResetItemView(this.root,this.root.transform,itemList,10,1,sortingOrder,false,args[1])
|
||||||
|
|
Loading…
Reference in New Issue