From 0d8036d8ee6e313562423d630f636470e979d8dd Mon Sep 17 00:00:00 2001 From: Cyh28 <2606851972@qq.com> Date: Sun, 7 Apr 2024 00:25:53 +0800 Subject: [PATCH] fix: :art: Change the health bar color --- .../Assets/Prefabs/Canvas.prefab | 8 +- .../UI/Button/Sprite-000312331232.aseprite | Bin 0 -> 854 bytes .../Button/Sprite-000312331232.aseprite.meta | 164 ++++++++++++++++++ .../UI/Button/Sprite-13213213000312331232.png | Bin 0 -> 552 bytes .../Sprite-13213213000312331232.png.meta | 149 ++++++++++++++++ 5 files changed, 317 insertions(+), 4 deletions(-) create mode 100644 interface/interface_local/Assets/Resources/UI/Button/Sprite-000312331232.aseprite create mode 100644 interface/interface_local/Assets/Resources/UI/Button/Sprite-000312331232.aseprite.meta create mode 100644 interface/interface_local/Assets/Resources/UI/Button/Sprite-13213213000312331232.png create mode 100644 interface/interface_local/Assets/Resources/UI/Button/Sprite-13213213000312331232.png.meta diff --git a/interface/interface_local/Assets/Prefabs/Canvas.prefab b/interface/interface_local/Assets/Prefabs/Canvas.prefab index 8b67fc37..87ca70fb 100644 --- a/interface/interface_local/Assets/Prefabs/Canvas.prefab +++ b/interface/interface_local/Assets/Prefabs/Canvas.prefab @@ -2342,7 +2342,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: 0, y: 321.87003} + m_AnchoredPosition: {x: 0, y: 617.87} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 1} --- !u!114 &9032870902116251292 @@ -3141,8 +3141,8 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_Sprite: {fileID: -1727637422, guid: 4dea9bfc4c433dc49a861ae446df9760, type: 3} - m_Type: 1 + m_Sprite: {fileID: 496051465, guid: 24076aa9ac8a4db4e93d977a4a5238d0, type: 3} + m_Type: 0 m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 @@ -3209,7 +3209,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} - m_Color: {r: 0.20784314, g: 0.41960785, b: 0.8213673, a: 1} + m_Color: {r: 1, g: 0.22352941, b: 0.16078432, a: 1} m_RaycastTarget: 1 m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_Maskable: 1 diff --git a/interface/interface_local/Assets/Resources/UI/Button/Sprite-000312331232.aseprite b/interface/interface_local/Assets/Resources/UI/Button/Sprite-000312331232.aseprite new file mode 100644 index 0000000000000000000000000000000000000000..0d09409d7c3cd83b84e84c01d7b278dfc3c4bf05 GIT binary patch literal 854 zcmds!%_~Gv7>8eG#z#t43JWJmk}@+U6Q&rYgpkGfT2M4GX{01knk34`Mu|~u>`+!C z3mdWUk&Wn@1LN-=b$U zC4=WL>LO9({lyYXwGfcWN>;JRxVS6!SxS9(a^v2_wz^23a=_X`7xb3f;Jl|2UJn;Q zZOscG_m^SxwG1vrTA**w3Y`mn*f3B6TO0DB-Bk{&sz#u-X9{-tZ((mxhux=l@HqSd zbxI_-8G_T3vv9!YgB_k$I9f9YH|%z(we`ZwiCs9qSP$ohth$c@%*KCLY#4$G(8nEd ztWm}nSxnKy5kc%w!wV^l&@o(e9Sao5C!Azr$s~|8qKp8u;<|qd1xb-ea4)hwrEHBz zSd>Vbq>Ik2e3fP@lChNsZ96qkEoOJv5gNX?j=9|?TT9tW&rN5$zxcSKDZJz4`19&v xl1N}C#v=#clkWaO*#DpCijG&Flp5n6Xy<2#lhF`^2AtVBw6fcppSChD%%2x>+gktt literal 0 HcmV?d00001 diff --git a/interface/interface_local/Assets/Resources/UI/Button/Sprite-000312331232.aseprite.meta b/interface/interface_local/Assets/Resources/UI/Button/Sprite-000312331232.aseprite.meta new file mode 100644 index 00000000..99810e6b --- /dev/null +++ b/interface/interface_local/Assets/Resources/UI/Button/Sprite-000312331232.aseprite.meta @@ -0,0 +1,164 @@ +fileFormatVersion: 2 +guid: 162619b9488a10044aec0fd539f6964a +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 62a9f0aa5b59740cfbadc7e5f9823bb0, type: 3} + textureImporterSettings: + alphaSource: 1 + mipMapMode: 0 + enableMipMap: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + convertToNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + swizzle: 50462976 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + nPOTScale: 1 + sRGBTexture: 1 + spriteMode: 2 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 0 + flipbookColumns: 0 + ignorePngGamma: 0 + cookieMode: 0 + filterMode: 0 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + normalMap: 0 + textureFormat: 0 + maxTextureSize: 0 + lightmap: 0 + compressionQuality: 0 + linearTexture: 0 + grayScaleToAlpha: 0 + rGBM: 0 + cubemapConvolutionSteps: 0 + cubemapConvolutionExponent: 0 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + applyGammaDecoding: 0 + previousAsepriteImporterSettings: + fileImportMode: 1 + importHiddenLayers: 0 + layerImportMode: 1 + defaultPivotSpace: 0 + defaultPivotAlignment: 7 + customPivotPosition: {x: 0.5, y: 0.5} + spritePadding: 0 + generateModelPrefab: 1 + generateAnimationClips: 1 + addSortingGroup: 1 + addShadowCasters: 0 + asepriteImporterSettings: + fileImportMode: 1 + importHiddenLayers: 0 + layerImportMode: 1 + defaultPivotSpace: 0 + defaultPivotAlignment: 7 + customPivotPosition: {x: 0.5, y: 0.5} + spritePadding: 0 + generateModelPrefab: 1 + generateAnimationClips: 1 + addSortingGroup: 1 + addShadowCasters: 0 + importFileNodeState: 1 + platformSettingsDirtyTick: 0 + textureAssetName: + singleSpriteImportData: + - name: + originalName: + pivot: {x: 0, y: 0} + alignment: 0 + border: {x: 0, y: 0, z: 0, w: 0} + rect: + serializedVersion: 2 + x: 0 + y: 0 + width: 0 + height: 0 + spriteID: + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 0, y: 0} + animatedSpriteImportData: + - name: Sprite-000312331232 + originalName: + pivot: {x: 0.5040609, y: -0.3809524} + alignment: 9 + border: {x: 0, y: 0, z: 0, w: 0} + rect: + serializedVersion: 2 + x: 4 + y: 4 + width: 985 + height: 42 + spriteID: a869d1edd51549b43aab15dccd6367c1 + spriteBone: [] + spriteOutline: [] + vertices: [] + spritePhysicsOutline: [] + indices: + edges: [] + tessellationDetail: 0 + uvTransform: {x: 4, y: 4} + spriteSheetImportData: [] + asepriteLayers: + - layerIndex: 0 + guid: -1439566740 + name: Sprite-000312331232 + layerFlags: 0 + layerType: 0 + blendMode: 0 + cells: + - name: Sprite-000312331232 + frameIndex: 0 + cellRect: + x: 11 + y: 16 + width: 985 + height: 42 + spriteId: a869d1edd51549b43aab15dccd6367c1 + linkedCells: [] + parentIndex: -1 + platformSettings: [] + secondarySpriteTextures: [] + spritePackingTag: + canvasSize: {x: 1015, y: 72} diff --git a/interface/interface_local/Assets/Resources/UI/Button/Sprite-13213213000312331232.png b/interface/interface_local/Assets/Resources/UI/Button/Sprite-13213213000312331232.png new file mode 100644 index 0000000000000000000000000000000000000000..8af7f5c7c3d9cbec4aa2785de63804d71c059051 GIT binary patch literal 552 zcmeAS@N?(olHy`uVBq!ia0y~yVEztddvLG;$<3cwKLIJm;vjb?hIQv;UIN*VJY5_^ zD(1YswK4awfq+AxRl#%KD=B*4rMyosy(r~5QAeP$>F?X`T4GNg-r~>X0cs}$G#JPJ zEB;v>yZ>L`X^G_d`}u%o>}fx}t@hlkuZGzIK;8$5M{+>w(K`0~Zf2r=TwP|#3r`yov- zxuF4ov>V7-`SV5yf!q9LOk7 LS3j3^P6