From dff1352995b8f279cbd72429ddd82c97ac5066e2 Mon Sep 17 00:00:00 2001 From: wangzhenxing <1545929779@qq.com> Date: Fri, 12 Jan 2024 18:48:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A5=A5=E4=B9=89=E5=8D=A1=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UI/TianShuMiJuan/IncarnationUpStarListPanel.prefab | 8 ++++---- .../Modules/Incarnation/IncarnationUpStarListPanel.lua | 4 +++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Assets/ManagedResources/Prefabs/UI/TianShuMiJuan/IncarnationUpStarListPanel.prefab b/Assets/ManagedResources/Prefabs/UI/TianShuMiJuan/IncarnationUpStarListPanel.prefab index dfec362013..744ba56447 100644 --- a/Assets/ManagedResources/Prefabs/UI/TianShuMiJuan/IncarnationUpStarListPanel.prefab +++ b/Assets/ManagedResources/Prefabs/UI/TianShuMiJuan/IncarnationUpStarListPanel.prefab @@ -604,7 +604,7 @@ MonoBehaviour: m_HorizontalOverflow: 0 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: "\u65E0\u7B26\u5408\u8981\u6C42\u7684\u53D8\u8EAB\u5361\uFF01" + m_Text: LanguageIndex: 10146 --- !u!1 &5100338387593363128 GameObject: @@ -1246,7 +1246,7 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 12800000, guid: be22547d075a3fa439f78ce38cdb4beb, type: 3} - m_FontSize: 50 + m_FontSize: 42 m_FontStyle: 2 m_BestFit: 0 m_MinSize: 4 @@ -1257,7 +1257,7 @@ MonoBehaviour: m_HorizontalOverflow: 0 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: "\u53D8\u8EAB\u5361\u9009\u62E9" + m_Text: LanguageIndex: 0 --- !u!114 &6899290208057824479 MonoBehaviour: @@ -1636,7 +1636,7 @@ MonoBehaviour: m_HorizontalOverflow: 1 m_VerticalOverflow: 1 m_LineSpacing: 1 - m_Text: "\u9700\u89813\u4E2A5\u661F\u540C\u7CFB" + m_Text: LanguageIndex: 0 --- !u!114 &997028646985396523 MonoBehaviour: diff --git a/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpStarListPanel.lua b/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpStarListPanel.lua index 384a40b7e3..0e075552aa 100644 --- a/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpStarListPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpStarListPanel.lua @@ -11,6 +11,7 @@ local needQuality function this:InitComponent() this.spLoader = SpriteLoader.New() this.BtnBack = Util.GetGameObject(self.gameObject, "btnBack") + Util.GetGameObject(self.gameObject, "bg/Text"):GetComponent("Text").text="奥义卡选择" this.mask = Util.GetGameObject(self.gameObject, "mask") this.BtnSure = Util.GetGameObject(self.gameObject, "btnSure") this.btnAutoSelect = Util.GetGameObject(self.gameObject, "btnAutoSelect") @@ -30,6 +31,7 @@ function this:InitComponent() this.NoneImage= Util.GetGameObject(self.gameObject, "NoneImage") this.NoneImage.gameObject:SetActive(false) + Util.GetGameObject(self.gameObject, "NoneImage/TextImage/Text"):GetComponent("Text").text="无符合要求的奥义卡!" end --绑定事件(用于子类重写) @@ -94,7 +96,7 @@ function this:OnOpen(_openThisPanel,_curSelectHeroList,_needInfo,curCardId) this.OnShowSingleCardData(go, heroDataList[index]) end,false,false) - this.desText.text=string.format(Language[10402],curNeedRoleNum,"变身卡") + this.desText.text=string.format(Language[10402],curNeedRoleNum,"奥义卡") this.numText.text=string.format("%s/%s",this.GetSelectNum(),curNeedRoleNum) end