From df10ea9f4094fa8bc7c375dc4fb36eb3d7ce7cad Mon Sep 17 00:00:00 2001 From: Jan Date: Mon, 23 Apr 2018 20:22:07 +0200 Subject: [PATCH] made TitleScene scalable, and added Buttons --- Assets/Scenes/TitleScene.unity | 46 +++++++++++++++++----------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/Assets/Scenes/TitleScene.unity b/Assets/Scenes/TitleScene.unity index 1eb1c2a..cbf12c9 100644 --- a/Assets/Scenes/TitleScene.unity +++ b/Assets/Scenes/TitleScene.unity @@ -1566,7 +1566,7 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 100 + m_FontSize: 80 m_FontStyle: 1 m_BestFit: 1 m_MinSize: 2 @@ -1595,7 +1595,7 @@ GameObject: - component: {fileID: 1100252405} - component: {fileID: 1100252404} m_Layer: 5 - m_Name: Image + m_Name: MainImage m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 @@ -1614,10 +1614,10 @@ RectTransform: m_Father: {fileID: 626823871} m_RootOrder: 1 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: 24, y: 44} - m_SizeDelta: {x: 611.8, y: 611.8} + m_AnchorMin: {x: 0.5, y: 1} + m_AnchorMax: {x: 0.5, y: 1} + m_AnchoredPosition: {x: 24, y: -147} + m_SizeDelta: {x: 500, y: 500} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1100252404 MonoBehaviour: @@ -1873,16 +1873,16 @@ RectTransform: m_GameObject: {fileID: 1321930644} 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: 0.8, y: 0.8, z: 1} m_Children: - {fileID: 1039057778} m_Father: {fileID: 626823871} m_RootOrder: 3 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: 255, y: -190} - m_SizeDelta: {x: 250, y: 60} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -221.5, y: 90} + m_SizeDelta: {x: 320, y: 80} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1321930646 MonoBehaviour: @@ -1955,8 +1955,8 @@ MonoBehaviour: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 0} - m_Type: 1 + m_Sprite: {fileID: 21300000, guid: b6a11c113c248ba40878092360565936, type: 3} + m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -2031,7 +2031,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} + m_AnchoredPosition: {x: 0, y: 5} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1586619318 @@ -2069,7 +2069,7 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 100 + m_FontSize: 80 m_FontStyle: 1 m_BestFit: 1 m_MinSize: 2 @@ -2132,7 +2132,7 @@ MonoBehaviour: m_Script: {fileID: 1980459831, guid: f70555f144d8491a825f0804e09c671c, type: 3} m_Name: m_EditorClassIdentifier: - m_UiScaleMode: 0 + m_UiScaleMode: 1 m_ReferencePixelsPerUnit: 100 m_ScaleFactor: 1 m_ReferenceResolution: {x: 800, y: 600} @@ -2400,16 +2400,16 @@ RectTransform: m_GameObject: {fileID: 2026061256} 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: 0.8, y: 0.8, z: 1} m_Children: - {fileID: 1586619317} m_Father: {fileID: 626823871} m_RootOrder: 2 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: -263, y: -190} - m_SizeDelta: {x: 250, y: 60} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 217.3, y: 90} + m_SizeDelta: {x: 320, y: 147.7} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &2026061258 MonoBehaviour: @@ -2482,8 +2482,8 @@ MonoBehaviour: m_Calls: [] m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null - m_Sprite: {fileID: 0} - m_Type: 1 + m_Sprite: {fileID: 21300000, guid: 2a91b245cfd4d1749ac511fe24cca1ff, type: 3} + m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4