From 3a229bdecd5c02e4777e873b53b94deef46ecc3d Mon Sep 17 00:00:00 2001 From: Sveske Juice Date: Sun, 21 Apr 2024 07:20:59 +0200 Subject: [PATCH] fix sliders order in layer --- Assets/Materials/ArcSlider.mat | 137 +++++++++++++++++++++++++++ Assets/Materials/ArcSlider.mat.meta | 8 ++ Assets/Prefabs/Towers/Gripper.prefab | 4 +- Assets/Prefabs/Towers/MrLazer.prefab | 4 +- Assets/Prefabs/Towers/Tesla.prefab | 4 +- Assets/Prefabs/Towers/Turret.prefab | 4 +- 6 files changed, 153 insertions(+), 8 deletions(-) create mode 100644 Assets/Materials/ArcSlider.mat create mode 100644 Assets/Materials/ArcSlider.mat.meta diff --git a/Assets/Materials/ArcSlider.mat b/Assets/Materials/ArcSlider.mat new file mode 100644 index 0000000..e61a8b8 --- /dev/null +++ b/Assets/Materials/ArcSlider.mat @@ -0,0 +1,137 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: ArcSlider + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: + - _ALPHAPREMULTIPLY_ON + - _SURFACE_TYPE_TRANSPARENT + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: 3005 + stringTagMap: + RenderType: Transparent + disabledShaderPasses: + - DepthOnly + - SHADOWCASTER + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BaseMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _SpecGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_Lightmaps: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_LightmapsInd: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - unity_ShadowMasks: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 10 + - _DstBlendAlpha: 10 + - _EnvironmentReflections: 1 + - _GlossMapScale: 0 + - _Glossiness: 0 + - _GlossyReflections: 0 + - _Metallic: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.005 + - _QueueOffset: 5 + - _ReceiveShadows: 1 + - _Smoothness: 0.5 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _SrcBlendAlpha: 1 + - _Surface: 1 + - _WorkflowMode: 1 + - _ZWrite: 0 + m_Colors: + - _BaseColor: {r: 0.2134, g: 0.2156, b: 0.22, a: 1} + - _Color: {r: 0.21339998, g: 0.21559995, b: 0.21999997, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} + m_BuildTextureStacks: [] +--- !u!114 &8625757837965251938 +MonoBehaviour: + m_ObjectHideFlags: 11 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} + m_Name: + m_EditorClassIdentifier: + version: 7 diff --git a/Assets/Materials/ArcSlider.mat.meta b/Assets/Materials/ArcSlider.mat.meta new file mode 100644 index 0000000..5605650 --- /dev/null +++ b/Assets/Materials/ArcSlider.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 45379301a60d4ce7e9d20b83e315e325 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Prefabs/Towers/Gripper.prefab b/Assets/Prefabs/Towers/Gripper.prefab index 116eb4e..009dbcc 100644 --- a/Assets/Prefabs/Towers/Gripper.prefab +++ b/Assets/Prefabs/Towers/Gripper.prefab @@ -253,7 +253,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 1fb12e769af8dfc4b9c47b291e1da192, type: 2} + - {fileID: 2100000, guid: 45379301a60d4ce7e9d20b83e315e325, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -741,7 +741,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 1fb12e769af8dfc4b9c47b291e1da192, type: 2} + - {fileID: 2100000, guid: 45379301a60d4ce7e9d20b83e315e325, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/Assets/Prefabs/Towers/MrLazer.prefab b/Assets/Prefabs/Towers/MrLazer.prefab index 5ee027f..90fc33a 100644 --- a/Assets/Prefabs/Towers/MrLazer.prefab +++ b/Assets/Prefabs/Towers/MrLazer.prefab @@ -477,7 +477,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 1fb12e769af8dfc4b9c47b291e1da192, type: 2} + - {fileID: 2100000, guid: 45379301a60d4ce7e9d20b83e315e325, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -865,7 +865,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 1fb12e769af8dfc4b9c47b291e1da192, type: 2} + - {fileID: 2100000, guid: 45379301a60d4ce7e9d20b83e315e325, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/Assets/Prefabs/Towers/Tesla.prefab b/Assets/Prefabs/Towers/Tesla.prefab index 9be6046..265b777 100644 --- a/Assets/Prefabs/Towers/Tesla.prefab +++ b/Assets/Prefabs/Towers/Tesla.prefab @@ -792,7 +792,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 1fb12e769af8dfc4b9c47b291e1da192, type: 2} + - {fileID: 2100000, guid: 45379301a60d4ce7e9d20b83e315e325, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -1277,7 +1277,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 1fb12e769af8dfc4b9c47b291e1da192, type: 2} + - {fileID: 2100000, guid: 45379301a60d4ce7e9d20b83e315e325, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/Assets/Prefabs/Towers/Turret.prefab b/Assets/Prefabs/Towers/Turret.prefab index 8a432e5..2956409 100644 --- a/Assets/Prefabs/Towers/Turret.prefab +++ b/Assets/Prefabs/Towers/Turret.prefab @@ -294,7 +294,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 1fb12e769af8dfc4b9c47b291e1da192, type: 2} + - {fileID: 2100000, guid: 45379301a60d4ce7e9d20b83e315e325, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -444,7 +444,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 1fb12e769af8dfc4b9c47b291e1da192, type: 2} + - {fileID: 2100000, guid: 45379301a60d4ce7e9d20b83e315e325, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0