Skip to content

Commit 186b9cd

Browse files
committed
made debug overlay canvas scale with screen resolution
1 parent 1bc8aaf commit 186b9cd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Assets/BossRoom/Prefabs/Debug Overlay Canvas.prefab

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ RectTransform:
2929
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
3030
m_LocalPosition: {x: 0, y: 0, z: 0}
3131
m_LocalScale: {x: 0, y: 0, z: 0}
32+
m_ConstrainProportionsScale: 0
3233
m_Children:
3334
- {fileID: 2084502874807427418}
3435
m_Father: {fileID: 0}
@@ -72,10 +73,10 @@ MonoBehaviour:
7273
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
7374
m_Name:
7475
m_EditorClassIdentifier:
75-
m_UiScaleMode: 0
76+
m_UiScaleMode: 1
7677
m_ReferencePixelsPerUnit: 100
7778
m_ScaleFactor: 1
78-
m_ReferenceResolution: {x: 800, y: 600}
79+
m_ReferenceResolution: {x: 1920, y: 1080}
7980
m_ScreenMatchMode: 0
8081
m_MatchWidthOrHeight: 0
8182
m_PhysicalUnit: 3
@@ -127,6 +128,7 @@ RectTransform:
127128
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
128129
m_LocalPosition: {x: 0, y: 0, z: 0}
129130
m_LocalScale: {x: 1, y: 1, z: 1}
131+
m_ConstrainProportionsScale: 0
130132
m_Children: []
131133
m_Father: {fileID: 5075973321638144936}
132134
m_RootOrder: 0

0 commit comments

Comments
 (0)