[战斗表现]=========我方前排血条位置修改

dev_chengFeng
wangzhenxing 2021-11-18 18:37:14 +08:00
parent b74561d70b
commit 45bc2139a6
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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