From cbfc09b1202cfce3be0eb641cb418053b5bc9fbd Mon Sep 17 00:00:00 2001 From: RominaMarchetti <51088292+RominaMarchetti@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:28:27 -0300 Subject: [PATCH] style: update style and textures for graphic card warning (#5922) --- .../GraphicCardWarningNotification.prefab | 117 ++++++++---------- 1 file changed, 54 insertions(+), 63 deletions(-) diff --git a/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/GraphicCardWarningHUD/GraphicCardWarningNotification.prefab b/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/GraphicCardWarningHUD/GraphicCardWarningNotification.prefab index 1371d08f84..b929fc85f1 100644 --- a/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/GraphicCardWarningHUD/GraphicCardWarningNotification.prefab +++ b/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/HUD/GraphicCardWarningHUD/GraphicCardWarningNotification.prefab @@ -31,7 +31,6 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 8008382282627629256} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} @@ -93,17 +92,17 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 11 + m_fontSize: 13 m_fontSizeBase: 12 m_fontWeight: 400 m_enableAutoSizing: 1 m_fontSizeMin: 10 - m_fontSizeMax: 11 + m_fontSizeMax: 13 m_fontStyle: 16 m_HorizontalAlignment: 2 m_VerticalAlignment: 512 m_textAlignment: 65535 - m_characterSpacing: -2 + m_characterSpacing: 0 m_wordSpacing: 0 m_lineSpacing: 0 m_lineSpacingMax: 0 @@ -168,7 +167,6 @@ RectTransform: m_Children: - {fileID: 1550187499227935578} m_Father: {fileID: 8490321488630380693} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} @@ -196,15 +194,15 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 0.44313726, g: 0.41960785, b: 0.4862745, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: f3e766ab5571e436ebb74c06db87db7b, type: 3} - m_Type: 0 + m_Sprite: {fileID: 21300000, guid: 4848194f7bc4d4e509d067d3160eadac, type: 3} + m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -212,7 +210,7 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 + m_PixelsPerUnitMultiplier: 6 --- !u!1 &2241097329103817120 GameObject: m_ObjectHideFlags: 0 @@ -244,13 +242,12 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 6583124130748778821} - 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: -167.8, y: -22.5} - m_SizeDelta: {x: 99.35925, y: 15} - m_Pivot: {x: 0.5, y: 0.5} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 68, y: -105} + m_SizeDelta: {x: 120, y: 20} + m_Pivot: {x: 0, y: 1} --- !u!222 &4726212477179572974 CanvasRenderer: m_ObjectHideFlags: 0 @@ -306,8 +303,8 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 12 - m_fontSizeBase: 12 + m_fontSize: 14 + m_fontSizeBase: 14 m_fontWeight: 400 m_enableAutoSizing: 0 m_fontSizeMin: 18 @@ -381,12 +378,11 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 6583124130748778821} - m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -29.265963} - m_SizeDelta: {x: 508.9077, y: 36.268677} + m_AnchoredPosition: {x: 0, y: -53} + m_SizeDelta: {x: 522.6584, y: 54.868} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &6045310853190171436 CanvasRenderer: @@ -445,17 +441,17 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 12.15 - m_fontSizeBase: 16 + m_fontSize: 15 + m_fontSizeBase: 15 m_fontWeight: 400 - m_enableAutoSizing: 1 + m_enableAutoSizing: 0 m_fontSizeMin: 12 - m_fontSizeMax: 13 + m_fontSizeMax: 14 m_fontStyle: 0 - m_HorizontalAlignment: 2 + m_HorizontalAlignment: 1 m_VerticalAlignment: 512 m_textAlignment: 65535 - m_characterSpacing: -2 + m_characterSpacing: 0 m_wordSpacing: 0 m_lineSpacing: 0 m_lineSpacingMax: 0 @@ -540,11 +536,10 @@ RectTransform: - {fileID: 2452440721571924770} - {fileID: 5688408866462636451} m_Father: {fileID: 6583124130748778821} - m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 111.86, y: -75.20007} + m_AnchoredPosition: {x: 106, y: -113} m_SizeDelta: {x: 133.91815, y: 20} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &8653346487427580486 @@ -626,12 +621,11 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 6583124130748778821} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0.5} - m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: 0, y: -3.4999619} - m_SizeDelta: {x: 0, y: 108.00775} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &3928158289136136506 CanvasRenderer: @@ -654,14 +648,14 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.17254902, g: 0.16078432, b: 0.16078432, a: 1} + m_Color: {r: 0.08627451, g: 0.08235294, b: 0.09411765, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 7b4468575e3ab49e1aec3edd88298137, type: 3} + m_Sprite: {fileID: 21300000, guid: f02af068e11cb4902a1a4faad10b890a, type: 3} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -702,7 +696,6 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 2268412614368986064} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} @@ -739,8 +732,9 @@ MonoBehaviour: m_Calls: [] m_text: ok m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 6b705423dc77d4fceb4122f6d7e571d6, type: 2} - m_sharedMaterial: {fileID: 2100000, guid: 9d9df32282a3c40299019c36b2157d37, type: 2} + m_fontAsset: {fileID: 11400000, guid: a02669827dd9144f39b4b164e753a21a, type: 2} + m_sharedMaterial: {fileID: 1196159134475820439, guid: a02669827dd9144f39b4b164e753a21a, + type: 2} m_fontSharedMaterials: [] m_fontMaterial: {fileID: 0} m_fontMaterials: [] @@ -764,12 +758,12 @@ MonoBehaviour: m_faceColor: serializedVersion: 2 rgba: 4294967295 - m_fontSize: 11 + m_fontSize: 13 m_fontSizeBase: 12 m_fontWeight: 400 m_enableAutoSizing: 1 m_fontSizeMin: 10 - m_fontSizeMax: 11 + m_fontSizeMax: 13 m_fontStyle: 16 m_HorizontalAlignment: 2 m_VerticalAlignment: 512 @@ -838,12 +832,11 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 2452440721571924770} - m_RootOrder: 0 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_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 20, y: 20} + m_SizeDelta: {x: -6, y: -6} m_Pivot: {x: 0.5, y: 0.5} --- !u!222 &3370325144009876925 CanvasRenderer: @@ -866,14 +859,14 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} + m_Color: {r: 1, g: 0.45490196, b: 0.22352941, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 3c2f4bed18ef84d5baeb2774df7d08df, type: 3} + m_Sprite: {fileID: 21300000, guid: 04162ca1b011c47e7a21c573dc2c8a14, type: 3} m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 @@ -914,7 +907,6 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 8490321488630380693} - m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} @@ -942,7 +934,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} + m_Color: {r: 0.08627451, g: 0.08235294, b: 0.09411765, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 @@ -998,12 +990,11 @@ RectTransform: m_Children: - {fileID: 122061659188611397} m_Father: {fileID: 6583124130748778821} - m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 535.5, y: -75.29999} - m_SizeDelta: {x: 100, y: 32} + m_AnchoredPosition: {x: 564.2001, y: -115} + m_SizeDelta: {x: 100, y: 36} m_Pivot: {x: 1, y: 0.5} --- !u!222 &4169714842114260873 CanvasRenderer: @@ -1029,11 +1020,11 @@ MonoBehaviour: m_Color: {r: 1, g: 0.1764706, b: 0.33333334, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 + m_Maskable: 0 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 0b63c85aaf7c44493a7613587a1a8a4f, type: 3} + m_Sprite: {fileID: 21300000, guid: f02af068e11cb4902a1a4faad10b890a, type: 3} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -1042,7 +1033,7 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 2 + m_PixelsPerUnitMultiplier: 2.5 --- !u!114 &1400127536150770965 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1163,12 +1154,11 @@ RectTransform: - {fileID: 8008382282627629256} - {fileID: 2268412614368986064} m_Father: {fileID: 0} - m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 578.59937, y: 108.00775} + m_SizeDelta: {x: 600, y: 160} m_Pivot: {x: 0.5, y: 1} --- !u!114 &985022821136881170 MonoBehaviour: @@ -1204,7 +1194,9 @@ Canvas: m_OverrideSorting: 0 m_OverridePixelPerfect: 0 m_SortingBucketNormalizedSize: 0 + m_VertexColorAlwaysGammaSpace: 0 m_AdditionalShaderChannelsFlag: 25 + m_UpdateRectTransformForStandalone: 0 m_SortingLayerID: 0 m_SortingOrder: 0 m_TargetDisplay: 0 @@ -1288,12 +1280,11 @@ RectTransform: m_Children: - {fileID: 1281729046369040686} m_Father: {fileID: 6583124130748778821} - m_RootOrder: 4 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 418.29993, y: -75.29993} - m_SizeDelta: {x: 100, y: 32} + m_AnchoredPosition: {x: 447, y: -114.99994} + m_SizeDelta: {x: 100, y: 36} m_Pivot: {x: 1, y: 0.5} --- !u!222 &4812707432859327484 CanvasRenderer: @@ -1316,14 +1307,14 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.2509804, g: 0.2784314, b: 0.32156864, a: 1} + m_Color: {r: 0.2627451, g: 0.2509804, b: 0.2901961, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 + m_Maskable: 0 m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 0b63c85aaf7c44493a7613587a1a8a4f, type: 3} + m_Sprite: {fileID: 21300000, guid: f02af068e11cb4902a1a4faad10b890a, type: 3} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -1332,7 +1323,7 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 2 + m_PixelsPerUnitMultiplier: 2.5 --- !u!114 &4598616775511606314 MonoBehaviour: m_ObjectHideFlags: 0