[假战斗]=====修改

dev_chengFeng
wangzhenxing 2022-05-24 13:35:24 +08:00
parent 3e75dc9f6f
commit bbd485f56f
2 changed files with 10 additions and 6 deletions

View File

@ -81297,7 +81297,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: -110.2, y: 166.39995}
m_AnchoredPosition: {x: -86, y: 237.99998}
m_SizeDelta: {x: 36, y: 36}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2874419574162345743
@ -81407,7 +81407,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: -111.65, y: 101}
m_AnchoredPosition: {x: -86, y: 172}
m_SizeDelta: {x: 60, y: 210}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2874419574504976919
@ -163915,7 +163915,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: -120, y: 0}
m_AnchoredPosition: {x: -78, y: -12}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &5432475356743965503
@ -179017,7 +179017,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: -120, y: 0}
m_AnchoredPosition: {x: -89, y: 121}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &5902261636594369462
@ -180878,7 +180878,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: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 469}
m_SizeDelta: {x: 100, y: 100}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &6725380291275006345

View File

@ -197,10 +197,14 @@ function PlayerView:onCreate(go, role, position, root)
if position<=3 then
self.buffRoot:GetComponent("RectTransform").anchoredPosition=Vector3.New(0,389,0)
self.lvHpObj:GetComponent("RectTransform").anchoredPosition=Vector3.New(0,469,0)
--self.nameObj:
self.nameParent:GetComponent("RectTransform").anchoredPosition=Vector3.New(-86,172,0)
self.proPar:GetComponent("RectTransform").anchoredPosition=Vector3.New(-86,238,0)
else
self.buffRoot:GetComponent("RectTransform").anchoredPosition=Vector3.New(0,-80,0)
self.lvHpObj:GetComponent("RectTransform").anchoredPosition=Vector3.New(0,0,0)
self.nameParent:GetComponent("RectTransform").anchoredPosition=Vector3.New(-86,-60,0)
self.proPar:GetComponent("RectTransform").anchoredPosition=Vector3.New(-86,6,0)
end
self.currAniName=""
-- 伤害文字显示