From d9d8bf5677c3ae155c3931a027afb9f4c9f14a6d Mon Sep 17 00:00:00 2001 From: minenice55 Date: Mon, 18 Dec 2023 16:51:47 -0500 Subject: [PATCH] adjust look of judgement score bar --- .../UI/rounded-bg-6px/rounded-bg-6px.png.meta | 4 +- Assets/Scenes/Judgement.unity | 95 +++++++++++++++++-- 2 files changed, 88 insertions(+), 11 deletions(-) diff --git a/Assets/Resources/Sprites/Editor/UI/rounded-bg-6px/rounded-bg-6px.png.meta b/Assets/Resources/Sprites/Editor/UI/rounded-bg-6px/rounded-bg-6px.png.meta index 99b5b0f68..8f41980cc 100644 --- a/Assets/Resources/Sprites/Editor/UI/rounded-bg-6px/rounded-bg-6px.png.meta +++ b/Assets/Resources/Sprites/Editor/UI/rounded-bg-6px/rounded-bg-6px.png.meta @@ -33,7 +33,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: 1 + filterMode: 2 aniso: 1 mipBias: 0 wrapU: 1 @@ -70,7 +70,7 @@ TextureImporter: maxTextureSize: 2048 resizeAlgorithm: 0 textureFormat: -1 - textureCompression: 2 + textureCompression: 0 compressionQuality: 50 crunchedCompression: 0 allowsAlphaSplitting: 0 diff --git a/Assets/Scenes/Judgement.unity b/Assets/Scenes/Judgement.unity index 09f0d686a..cfbebb30d 100644 --- a/Assets/Scenes/Judgement.unity +++ b/Assets/Scenes/Judgement.unity @@ -11055,7 +11055,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!224 &906704161 RectTransform: m_ObjectHideFlags: 0 @@ -11069,6 +11069,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1021706199} + - {fileID: 1620513236} - {fileID: 2003623135} - {fileID: 1606897454} m_Father: {fileID: 17428505} @@ -11126,7 +11127,7 @@ MonoBehaviour: m_MinValue: 0 m_MaxValue: 1 m_WholeNumbers: 0 - m_Value: 0.911 + m_Value: 0.872 m_OnValueChanged: m_PersistentCalls: m_Calls: [] @@ -11301,7 +11302,7 @@ RectTransform: m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0.911, y: 1} + 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} @@ -11325,7 +11326,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Sprite: {fileID: 1401309272, guid: bd48ded17f064414eb670529c2375358, type: 3} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -11379,7 +11380,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 0.25} m_AnchorMax: {x: 1, y: 0.75} m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} + m_SizeDelta: {x: 20, y: 20} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1021706200 MonoBehaviour: @@ -11401,7 +11402,7 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: 0} + m_Sprite: {fileID: 1401309272, guid: bd48ded17f064414eb670529c2375358, type: 3} m_Type: 1 m_PreserveAspect: 0 m_FillCenter: 1 @@ -11410,7 +11411,7 @@ MonoBehaviour: m_FillClockwise: 1 m_FillOrigin: 0 m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 5 + m_PixelsPerUnitMultiplier: 0.75 --- !u!222 &1021706201 CanvasRenderer: m_ObjectHideFlags: 0 @@ -12077,7 +12078,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 906704161} - m_RootOrder: 2 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 1} @@ -12183,6 +12184,82 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1606897453} m_CullTransparentMesh: 1 +--- !u!1 &1620513235 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1620513236} + - component: {fileID: 1620513238} + - component: {fileID: 1620513237} + m_Layer: 5 + m_Name: BgFill + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1620513236 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1620513235} + 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_Children: [] + m_Father: {fileID: 906704161} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0.25} + m_AnchorMax: {x: 1, y: 0.75} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1620513237 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1620513235} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0.09411765, g: 0.09411765, 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: 1401309272, guid: bd48ded17f064414eb670529c2375358, type: 3} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1620513238 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1620513235} + m_CullTransparentMesh: 1 --- !u!1 &1625794067 GameObject: m_ObjectHideFlags: 0 @@ -12724,7 +12801,7 @@ RectTransform: m_Children: - {fileID: 989164490} m_Father: {fileID: 906704161} - m_RootOrder: 1 + m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0.25} m_AnchorMax: {x: 1, y: 0.75}