桌面角色title的问题

onepiece_demo_arena
xiejun 2024-01-03 18:31:08 +08:00
parent f36e124161
commit 12380d2ffc
2 changed files with 5 additions and 5 deletions

View File

@ -67,7 +67,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 210, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3096286307795013761
@ -338,7 +338,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: 176.10004}
m_AnchoredPosition: {x: 0, y: 170}
m_SizeDelta: {x: 0, y: 70}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4688125351347416022
@ -583,7 +583,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 630, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &3764668692912066610

View File

@ -34,7 +34,7 @@ function MainPlayerView.New(isSelf, root, rect, pos,_NpvData,sortingOrder)
if PlayerManager.GetPlayerRide() > 0 then
Util.GetGameObject(instance.leader, "name").transform.localPosition = Vector3.New(0,230,0)
else
Util.GetGameObject(instance.leader, "name").transform.localPosition = Vector3.New(0,170,0)
Util.GetGameObject(instance.leader, "name").transform.localPosition = Vector3.New(0,200,0)
end
--如果修行开启设置修行标识
if ActTimeCtrlManager.SingleFuncState(108) then
@ -57,7 +57,7 @@ function MainPlayerView.New(isSelf, root, rect, pos,_NpvData,sortingOrder)
if _NpvData.userMount > 0 then
Util.GetGameObject(instance.leader, "name").transform.localPosition = Vector3.New(0,230,0)
else
Util.GetGameObject(instance.leader, "name").transform.localPosition = Vector3.New(0,170,0)
Util.GetGameObject(instance.leader, "name").transform.localPosition = Vector3.New(0,200,0)
end
instance.NpcGO = PlayerLiveView:New(instance.roleRootTran,2, PlayerLiveViewData,sortingOrder,NPCPosType.maincity)
end