From 45bc2139a68814d87210c6c8a5b48624556da29b Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Thu, 18 Nov 2021 18:37:14 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=88=98=E6=96=97=E8=A1=A8=E7=8E=B0]=3D=3D=3D?= =?UTF-8?q?=3D=3D=3D=3D=3D=3D=E6=88=91=E6=96=B9=E5=89=8D=E6=8E=92=E8=A1=80?= =?UTF-8?q?=E6=9D=A1=E4=BD=8D=E7=BD=AE=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/Prefabs/UI/Battle/BattlePanel.prefab | 6 +++--- .../~Lua/Modules/Battle/View/Unit/PlayerView.lua | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/ManagedResources/Prefabs/UI/Battle/BattlePanel.prefab b/Assets/ManagedResources/Prefabs/UI/Battle/BattlePanel.prefab index a8700be160..2f8fe81e54 100644 --- a/Assets/ManagedResources/Prefabs/UI/Battle/BattlePanel.prefab +++ b/Assets/ManagedResources/Prefabs/UI/Battle/BattlePanel.prefab @@ -79894,7 +79894,7 @@ 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: -86.19996, y: 259} + m_AnchoredPosition: {x: -86.19996, y: 265.7803} m_SizeDelta: {x: 44, y: 30} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &7683721027093544007 @@ -178724,7 +178724,7 @@ 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: 11.0000725, y: 266.6198} + m_AnchoredPosition: {x: 11.0000725, y: 273.40012} m_SizeDelta: {x: 116, y: 17} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &6792614551820874869 @@ -236798,7 +236798,7 @@ 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: 10.980068, y: 248.21973} + m_AnchoredPosition: {x: 10.980068, y: 255} m_SizeDelta: {x: 115.64, y: 12} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &7147047745219255636 diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/PlayerView.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/PlayerView.lua index cf97bd211b..cf51dd608a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/PlayerView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/Unit/PlayerView.lua @@ -151,7 +151,7 @@ function PlayerView:onCreate(go, role, position, root) self.rageText.text = "" self.lvHpObj=Util.GetGameObject(go, "lvObj") if position<=3 then - self.lvHpObj:GetComponent("RectTransform").anchoredPosition=Vector3.New(0,470,0) + self.lvHpObj:GetComponent("RectTransform").anchoredPosition=Vector3.New(0,485,0) else self.lvHpObj:GetComponent("RectTransform").anchoredPosition=Vector3.New(0,0,0) end