Skip to content

Commit fc0d30c

Browse files
committed
Scale UI based on screen size
1 parent 66b8a1d commit fc0d30c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Assets/Scenes/Asteroids.unity

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -720,12 +720,12 @@ MonoBehaviour:
720720
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
721721
m_Name:
722722
m_EditorClassIdentifier:
723-
m_UiScaleMode: 0
723+
m_UiScaleMode: 1
724724
m_ReferencePixelsPerUnit: 100
725725
m_ScaleFactor: 1
726-
m_ReferenceResolution: {x: 800, y: 600}
726+
m_ReferenceResolution: {x: 1920, y: 1080}
727727
m_ScreenMatchMode: 0
728-
m_MatchWidthOrHeight: 0
728+
m_MatchWidthOrHeight: 0.5
729729
m_PhysicalUnit: 3
730730
m_FallbackScreenDPI: 96
731731
m_DefaultSpriteDPI: 96

0 commit comments

Comments
 (0)