分解神兵显示修改

PC-202302260912\Administrator 2024-04-10 17:43:32 +08:00
parent c55a37ef31
commit 905cce0946
1 changed files with 5 additions and 2 deletions

View File

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