From 0845f74048e540924aa8f219b987fcaa4c5bb05f Mon Sep 17 00:00:00 2001 From: Mike van Riel Date: Thu, 19 Dec 2024 08:50:33 +0100 Subject: [PATCH] Change canvas resolution for mobile devices --- Assets/Scenes/Main.unity | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index 7498a52a..a054a6e5 100644 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -1043,6 +1043,8 @@ MonoBehaviour: playerSpeed: 30 jumpForce: 10 horizontalInput: {fileID: 11400000, guid: 93242d5c5434ab44c966480e1ff5c8d5, type: 2} + verticalInput: {fileID: 0} + upDownInput: {fileID: 0} jumpInput: {fileID: 11400000, guid: 46da008daaac56f4c97ac21469b742b5, type: 2} routeFile: {fileID: 4900000, guid: 3653738e64b9fdb44a2b7a94ac1bfed4, type: 3} --- !u!1 &816029622 @@ -2768,22 +2770,22 @@ PrefabInstance: - target: {fileID: 3849934062868920522, guid: 5fbb7c7c8ec47e849afba1b658f3e07e, type: 3} propertyPath: m_LocalRotation.w - value: 0.19779119 + value: 0.197922 objectReference: {fileID: 0} - target: {fileID: 3849934062868920522, guid: 5fbb7c7c8ec47e849afba1b658f3e07e, type: 3} propertyPath: m_LocalRotation.x - value: 0.08256247 + value: 0.08264534 objectReference: {fileID: 0} - target: {fileID: 3849934062868920522, guid: 5fbb7c7c8ec47e849afba1b658f3e07e, type: 3} propertyPath: m_LocalRotation.y - value: 0.9013836 + value: 0.90130687 objectReference: {fileID: 0} - target: {fileID: 3849934062868920522, guid: 5fbb7c7c8ec47e849afba1b658f3e07e, type: 3} propertyPath: m_LocalRotation.z - value: -0.3762577 + value: -0.3763544 objectReference: {fileID: 0} - target: {fileID: 3919916255551741050, guid: 5fbb7c7c8ec47e849afba1b658f3e07e, type: 3} @@ -10293,6 +10295,21 @@ PrefabInstance: propertyPath: m_SizeDelta.y value: 0 objectReference: {fileID: 0} + - target: {fileID: 8990017419290068341, guid: 9963fec33e379324db2affcb3f83332f, + type: 3} + propertyPath: m_UiScaleMode + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8990017419290068341, guid: 9963fec33e379324db2affcb3f83332f, + type: 3} + propertyPath: m_ReferenceResolution.x + value: 1920 + objectReference: {fileID: 0} + - target: {fileID: 8990017419290068341, guid: 9963fec33e379324db2affcb3f83332f, + type: 3} + propertyPath: m_ReferenceResolution.y + value: 1080 + objectReference: {fileID: 0} - target: {fileID: 8993878127921286527, guid: 9963fec33e379324db2affcb3f83332f, type: 3} propertyPath: m_AnchorMax.y