From fc7879a56a6a3995ff35f54a9773dbb869a5b9f0 Mon Sep 17 00:00:00 2001 From: ZhangBiao Date: Wed, 24 Feb 2021 11:47:07 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=9C=AC=E5=9C=B0=E5=8C=96=E3=80=91?= =?UTF-8?q?=E6=88=91=E8=A6=81=E5=8F=98=E5=BC=BA=20=E9=A6=96=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Prefabs/UI/Power/GiveMePowerPanel.prefab | 12 ++++++------ .../~Lua/Modules/Popup/RoleGetInfoPopup.lua | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Assets/ManagedResources/Prefabs/UI/Power/GiveMePowerPanel.prefab b/Assets/ManagedResources/Prefabs/UI/Power/GiveMePowerPanel.prefab index 9a9d8c0f2e..cc685f125c 100644 --- a/Assets/ManagedResources/Prefabs/UI/Power/GiveMePowerPanel.prefab +++ b/Assets/ManagedResources/Prefabs/UI/Power/GiveMePowerPanel.prefab @@ -34,8 +34,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 4, y: 0} - m_SizeDelta: {x: 278, y: 126} + m_AnchoredPosition: {x: 0.98, y: -0.43} + m_SizeDelta: {x: 168.16, y: 83.62} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &936853921 CanvasRenderer: @@ -69,9 +69,9 @@ MonoBehaviour: m_Font: {fileID: 12800000, guid: 4b73e9e4512d17e4daeea351e090d33c, type: 3} m_FontSize: 52 m_FontStyle: 0 - m_BestFit: 0 + m_BestFit: 1 m_MinSize: 2 - m_MaxSize: 65 + m_MaxSize: 52 m_Alignment: 4 m_AlignByGeometry: 0 m_RichText: 1 @@ -5491,8 +5491,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: -130, y: 0} - m_SizeDelta: {x: 550, y: 42.6} + m_AnchoredPosition: {x: -115.8, y: -0.8} + m_SizeDelta: {x: 578.4, y: 68.3} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &2801971798408091057 CanvasRenderer: diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/RoleGetInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/RoleGetInfoPopup.lua index e74c11564b..3ccb467d06 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/RoleGetInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/RoleGetInfoPopup.lua @@ -30,10 +30,10 @@ function RoleGetInfoPopup:InitComponent() -- this.doubleQuality=Util.GetGameObject(self.transform,"quality/qualityDoubleText") -- this.heroTypeText=Util.GetGameObject(self.transform,"RoleInfo/heroTypeText"):GetComponent("Text") - Util.GetGameObject(self.transform,"bg/RoleInfo/pro/atk/proName"):GetComponent("Text").text = propertyConfig[2].Info - Util.GetGameObject(self.transform,"bg/RoleInfo/pro/hp/proName"):GetComponent("Text").text = propertyConfig[1].Info - Util.GetGameObject(self.transform,"bg/RoleInfo/pro/phyDef/proName"):GetComponent("Text").text = propertyConfig[3].Info - Util.GetGameObject(self.transform,"bg/RoleInfo/pro/magDef/proName"):GetComponent("Text").text = propertyConfig[4].Info + Util.GetGameObject(self.transform,"bg/RoleInfo/pro/atk/proName"):GetComponent("Text").text = GetLanguageStrById(propertyConfig[2].Info) + Util.GetGameObject(self.transform,"bg/RoleInfo/pro/hp/proName"):GetComponent("Text").text = GetLanguageStrById(propertyConfig[1].Info) + Util.GetGameObject(self.transform,"bg/RoleInfo/pro/phyDef/proName"):GetComponent("Text").text = GetLanguageStrById(propertyConfig[3].Info) + Util.GetGameObject(self.transform,"bg/RoleInfo/pro/magDef/proName"):GetComponent("Text").text = GetLanguageStrById(propertyConfig[4].Info) local atk_Image = Util.GetGameObject(self.transform,"bg/RoleInfo/pro/atk/Image"):GetComponent("Image") local hp_Image = Util.GetGameObject(self.transform,"bg/RoleInfo/pro/hp/Image"):GetComponent("Image") local phyDef_Image = Util.GetGameObject(self.transform,"bg/RoleInfo/pro/phyDef/Image"):GetComponent("Image")