From 0b55ef450089a56fb835f712ffad3eed3da30bc9 Mon Sep 17 00:00:00 2001 From: chris-gong Date: Fri, 21 Dec 2018 10:17:35 -0500 Subject: [PATCH] rescaled UI elements properly --- Assets/Scenes/InferenceScene.unity | 66 +++++++++++++++--------------- 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/Assets/Scenes/InferenceScene.unity b/Assets/Scenes/InferenceScene.unity index 375ebab..417816f 100644 --- a/Assets/Scenes/InferenceScene.unity +++ b/Assets/Scenes/InferenceScene.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.44657868, g: 0.49641263, b: 0.57481706, a: 1} + m_IndirectSpecularColor: {r: 0.44657874, g: 0.49641258, b: 0.5748172, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -944,10 +944,10 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 20 + m_FontSize: 15 m_FontStyle: 0 m_BestFit: 0 - m_MinSize: 2 + m_MinSize: 1 m_MaxSize: 40 m_Alignment: 4 m_AlignByGeometry: 0 @@ -1226,10 +1226,10 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 20 + m_FontSize: 15 m_FontStyle: 2 m_BestFit: 0 - m_MinSize: 2 + m_MinSize: 1 m_MaxSize: 40 m_Alignment: 0 m_AlignByGeometry: 0 @@ -1280,11 +1280,11 @@ RectTransform: m_Father: {fileID: 1704640795} m_RootOrder: 6 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 300, y: 10} - m_SizeDelta: {x: 260, y: 50} - m_Pivot: {x: 0.5, y: 0} + m_AnchorMin: {x: 1, y: 0} + m_AnchorMax: {x: 1, y: 0} + m_AnchoredPosition: {x: -10, y: 10} + m_SizeDelta: {x: 180, y: 35} + m_Pivot: {x: 1, y: 0} --- !u!114 &405123578 MonoBehaviour: m_ObjectHideFlags: 0 @@ -2080,10 +2080,10 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 20 + m_FontSize: 15 m_FontStyle: 0 m_BestFit: 0 - m_MinSize: 2 + m_MinSize: 1 m_MaxSize: 40 m_Alignment: 0 m_AlignByGeometry: 0 @@ -2272,7 +2272,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 1000, y: 300} + m_SizeDelta: {x: 800, y: 230} m_Pivot: {x: 0.5, y: 1} --- !u!114 &710322927 MonoBehaviour: @@ -2872,7 +2872,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 0} m_AnchoredPosition: {x: 0, y: 10} - m_SizeDelta: {x: 160, y: 50} + m_SizeDelta: {x: 180, y: 35} m_Pivot: {x: 0.5, y: 0} --- !u!114 &898788599 MonoBehaviour: @@ -3010,7 +3010,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 1438.597, y: 600} + m_SizeDelta: {x: 800, y: 395} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &904577593 MonoBehaviour: @@ -3511,7 +3511,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 900, y: 300} + m_SizeDelta: {x: 800, y: 230} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1039913558 MonoBehaviour: @@ -4566,7 +4566,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 1380, y: 600} + m_SizeDelta: {x: 750, y: 375} m_Pivot: {x: 0, y: 1} --- !u!114 &1398047718 MonoBehaviour: @@ -4590,7 +4590,7 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 42 + m_FontSize: 24 m_FontStyle: 0 m_BestFit: 0 m_MinSize: 2 @@ -4609,7 +4609,7 @@ CanvasRenderer: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1398047716} - m_CullTransparentMesh: 0 + m_CullTransparentMesh: 1 --- !u!1 &1404018837 GameObject: m_ObjectHideFlags: 0 @@ -4861,10 +4861,10 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 20 + m_FontSize: 15 m_FontStyle: 0 m_BestFit: 0 - m_MinSize: 2 + m_MinSize: 1 m_MaxSize: 40 m_Alignment: 4 m_AlignByGeometry: 0 @@ -5360,11 +5360,11 @@ RectTransform: m_Father: {fileID: 1704640795} m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: -300, y: 10} - m_SizeDelta: {x: 260, y: 50} - m_Pivot: {x: 0.5, y: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 0, y: 0} + m_AnchoredPosition: {x: 10, y: 10} + m_SizeDelta: {x: 180, y: 35} + m_Pivot: {x: 0, y: 0} --- !u!114 &1662081002 MonoBehaviour: m_ObjectHideFlags: 0 @@ -5478,8 +5478,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 0, y: 10} - m_SizeDelta: {x: 1438.597, y: 50} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 800, y: 50} m_Pivot: {x: 0.5, y: 0} --- !u!114 &1674407976 MonoBehaviour: @@ -5503,7 +5503,7 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 42 + m_FontSize: 24 m_FontStyle: 0 m_BestFit: 0 m_MinSize: 0 @@ -5576,7 +5576,7 @@ MonoBehaviour: m_ScaleFactor: 1 m_ReferenceResolution: {x: 800, y: 600} m_ScreenMatchMode: 0 - m_MatchWidthOrHeight: 1 + m_MatchWidthOrHeight: 0 m_PhysicalUnit: 3 m_FallbackScreenDPI: 96 m_DefaultSpriteDPI: 96 @@ -6619,8 +6619,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 10, y: 0} - m_SizeDelta: {x: 160, y: 70} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 100, y: 40} m_Pivot: {x: 0, y: 1} --- !u!114 &2074111070 MonoBehaviour: @@ -6644,7 +6644,7 @@ MonoBehaviour: Version=1.0.0.0, Culture=neutral, PublicKeyToken=null m_FontData: m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 56 + m_FontSize: 30 m_FontStyle: 0 m_BestFit: 0 m_MinSize: 2