法相升级升星界面预设修改
parent
578bf8c036
commit
4321c6098c
File diff suppressed because it is too large
Load Diff
|
|
@ -18,8 +18,8 @@ function FaXiangStrongPopup:InitComponent()
|
|||
this.spLoader = SpriteLoader.New()
|
||||
this.Image2 = Util.GetGameObject(self.transform, "bg/Image")
|
||||
this.content = Util.GetGameObject(self.transform, "bg/content")
|
||||
this.btnBack= Util.GetGameObject(this.content,"btnBack")
|
||||
this.titleTxt=Util.GetGameObject(this.content,"name"):GetComponent("Text")
|
||||
this.btnBack= Util.GetGameObject(self.transform,"bg/btnBack")
|
||||
this.titleTxt=Util.GetGameObject(self.transform,"bg/name"):GetComponent("Text")
|
||||
this.skillInfo=Util.GetGameObject(this.content,"skillInfo"):GetComponent("Text")
|
||||
this.itemPre = Util.GetGameObject(this.content,"itemView")
|
||||
this.firstScroll=Util.GetGameObject(this.content,"firstScroll")
|
||||
|
|
@ -101,7 +101,7 @@ function FaXiangStrongPopup:BindEvent()
|
|||
--如果强化界面 强化到最高等级谈提示 精炼界面 就切界面
|
||||
if type==1 then
|
||||
if isMax then
|
||||
PopupTipPanel.ShowTip("法相以达最大等级")
|
||||
PopupTipPanel.ShowTip("法相已达最大等级")
|
||||
return
|
||||
end
|
||||
else
|
||||
|
|
@ -188,9 +188,9 @@ function FaXiangStrongPopup:RefreshRedPoint(delta,isRefreshTabRed)
|
|||
this.select.transform:SetParent(curIndex.transform)
|
||||
this.select:GetComponent("RectTransform").anchoredPosition3D = Vector3.New(-8.5,5.04,0)
|
||||
if type==1 then
|
||||
this.selectText.text="升 级"
|
||||
this.selectText.text="升级"
|
||||
elseif type==2 then
|
||||
this.selectText.text="升 星"
|
||||
this.selectText.text="升星"
|
||||
end
|
||||
-- this.selectText.text = type == 1 and "强 化" or "精 炼"
|
||||
this.select.transform.localScale = Vector3.one
|
||||
|
|
@ -490,7 +490,7 @@ end
|
|||
function this.SetBtnSelect(_parObj)
|
||||
this.selectBtn.transform:SetParent(_parObj.transform)
|
||||
this.selectBtn.transform.localScale = Vector3.one
|
||||
this.selectBtn.transform.localPosition=Vector3.zero
|
||||
this.selectBtn.transform.localPosition=Vector3.New(0,-5,0)
|
||||
this.selectBtn.transform:SetSiblingIndex(1)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue