From fdfa4e0e09a375b724cdee9dc0fafbbcda6ce04e Mon Sep 17 00:00:00 2001 From: Damian Date: Fri, 7 Nov 2025 17:31:46 +0100 Subject: [PATCH] Fixed a problem with buttons not rezising in the End game UI for the Minigame --- .../Prefabs/Managers/CinematicsManager.prefab | 48 +++++++++---------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/Assets/Prefabs/Managers/CinematicsManager.prefab b/Assets/Prefabs/Managers/CinematicsManager.prefab index 5ab6e85a..1beb3cfb 100644 --- a/Assets/Prefabs/Managers/CinematicsManager.prefab +++ b/Assets/Prefabs/Managers/CinematicsManager.prefab @@ -11,7 +11,6 @@ GameObject: - component: {fileID: 1965178107275650778} - component: {fileID: 2828019556092814789} - component: {fileID: 3751190220360366860} - - component: {fileID: 803378854493527400} m_Layer: 0 m_Name: SpilSlut m_TagString: Untagged @@ -93,7 +92,7 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 136.55 + m_fontSize: 136.85 m_fontSizeBase: 72 m_fontWeight: 400 m_enableAutoSizing: 1 @@ -409,10 +408,10 @@ RectTransform: m_Children: [] m_Father: {fileID: 754661265897109340} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 683.9956, y: -157.62965} - m_SizeDelta: {x: 268, y: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &1768576830901014477 CanvasRenderer: @@ -974,15 +973,15 @@ RectTransform: m_GameObject: {fileID: 3935369085067290987} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} + m_LocalScale: {x: 3, y: 3, z: 3} m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 754661265897109340} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 174.99854, y: -157.62965} - m_SizeDelta: {x: 150, y: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &2782310018074465201 CanvasRenderer: @@ -1121,15 +1120,15 @@ RectTransform: m_GameObject: {fileID: 4068599104538777648} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_ConstrainProportionsScale: 0 + m_LocalScale: {x: 3, y: 3, z: 3} + m_ConstrainProportionsScale: 1 m_Children: [] m_Father: {fileID: 754661265897109340} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 1} - m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 1192.9927, y: -157.62965} - m_SizeDelta: {x: 150, y: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &8344156654954553365 CanvasRenderer: @@ -1249,7 +1248,6 @@ GameObject: m_Component: - component: {fileID: 754661265897109340} - component: {fileID: 7750609879083104855} - - component: {fileID: 5441545775684538830} m_Layer: 0 m_Name: Buttons m_TagString: Untagged @@ -1276,8 +1274,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.10938991, y: 0.11800001} m_AnchorMax: {x: 0.94400007, y: 0.41016972} - m_AnchoredPosition: {x: 0, y: 4} - m_SizeDelta: {x: 0, y: -4} + m_AnchoredPosition: {x: -0.00024414062, y: 0} + m_SizeDelta: {x: -86.75, y: -20.246} m_Pivot: {x: 0.5, y: 0} --- !u!114 &7750609879083104855 MonoBehaviour: @@ -1297,11 +1295,11 @@ MonoBehaviour: m_Top: 0 m_Bottom: 0 m_ChildAlignment: 4 - m_Spacing: 100 - m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 - m_ChildControlWidth: 0 - m_ChildControlHeight: 0 + m_Spacing: 215.17 + m_ChildForceExpandWidth: 0 + m_ChildForceExpandHeight: 0 + m_ChildControlWidth: 1 + m_ChildControlHeight: 1 m_ChildScaleWidth: 0 m_ChildScaleHeight: 0 m_ReverseArrangement: 0