From e9add317469fdb4cb6e7a6a7a11999c1d07e9248 Mon Sep 17 00:00:00 2001 From: Matthew Kalahiki Date: Sat, 1 May 2021 16:30:19 -0500 Subject: [PATCH] more powerup display --- MuseumGame/Assets/Prefabs/DialogBox.prefab | 12 ++++++------ MuseumGame/Assets/Scenes/MainMenu.unity | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/MuseumGame/Assets/Prefabs/DialogBox.prefab b/MuseumGame/Assets/Prefabs/DialogBox.prefab index 6750f3b..5df6597 100644 --- a/MuseumGame/Assets/Prefabs/DialogBox.prefab +++ b/MuseumGame/Assets/Prefabs/DialogBox.prefab @@ -110,8 +110,8 @@ 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: 0.0000038147} - m_SizeDelta: {x: 260.7415, y: 263.5901} + m_AnchoredPosition: {x: 0, y: 0.5203} + m_SizeDelta: {x: 260.7415, y: 233.4119} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &3367381690712633791 CanvasRenderer: @@ -168,11 +168,11 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 20 + m_fontSize: 72 m_fontSizeBase: 20 m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 + m_enableAutoSizing: 1 + m_fontSizeMin: 10 m_fontSizeMax: 72 m_fontStyle: 0 m_HorizontalAlignment: 1 @@ -207,6 +207,6 @@ MonoBehaviour: m_margin: {x: 0, y: 0, z: 0, w: 0} m_isUsingLegacyAnimationComponent: 0 m_isVolumetricText: 0 - m_hasFontAssetChanged: 1 + m_hasFontAssetChanged: 0 m_baseMaterial: {fileID: 0} m_maskOffset: {x: 0, y: 0, z: 0, w: 0} diff --git a/MuseumGame/Assets/Scenes/MainMenu.unity b/MuseumGame/Assets/Scenes/MainMenu.unity index cfd9726..3c1a086 100644 --- a/MuseumGame/Assets/Scenes/MainMenu.unity +++ b/MuseumGame/Assets/Scenes/MainMenu.unity @@ -4099,6 +4099,10 @@ PrefabInstance: propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} + - target: {fileID: 3367381690712633788, guid: 70cd530c6dffee4498f4893d4eb450c8, type: 3} + propertyPath: m_fontSizeMin + value: 10 + objectReference: {fileID: 0} - target: {fileID: 3367381690712633788, guid: 70cd530c6dffee4498f4893d4eb450c8, type: 3} propertyPath: m_hasFontAssetChanged value: 0