feat(materials): 删除TowerEnemy和TowerPlayer材质文件

移除项目中不再需要的TowerEnemy.mat和TowerPlayer.mat材质文件,
以及对应的.meta元数据文件。这些材质文件已通过其他方式重构或不再使用。
```
This commit is contained in:
huadexuan committed 2026-09-23 22:26:01 +08:00
1 parent caff96389e
commit d26d323912
22 files changed
+313 -198

No files matched your search

@@ -7,12 +7,11 @@ Material:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: "\u5730\u9762_\u77F3\u5934_\u7EB9\u7406\u8D34\u56FE"
m_Shader: {fileID: 10623, guid: 0000000000000000f000000000000000, type: 0}
m_Name: Outline_Black
m_Shader: {fileID: 4800000, guid: 6cbfe633d117147629f813fb4e0f7a39, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _NORMALMAP
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
@@ -25,7 +24,7 @@ Material:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: a601a201c4a764b0ab3766d5787355da, type: 3}
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
@@ -60,31 +59,65 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _TerrainHolesTexture:
- baseColorTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- emissiveTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- metallicRoughnessTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- normalTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- occlusionTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _CullMode: 2
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.31
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _OutlineWidth: 0.03
- _Parallax: 0.02
- _Shininess: 0.078125
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
- alphaCutoff: 0.5
- baseColorTexture_texCoord: 0
- emissiveTexture_texCoord: 0
- metallicFactor: 1
- metallicRoughnessTexture_texCoord: 0
- normalTexture_scale: 1
- normalTexture_texCoord: 0
- occlusionTexture_strength: 1
- occlusionTexture_texCoord: 0
- roughnessFactor: 1
m_Colors:
- _Color: {r: 0.8207547, g: 0.7873191, b: 0.53813636, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
- baseColorFactor: {r: 1, g: 1, b: 1, a: 1}
- baseColorTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
- emissiveFactor: {r: 0, g: 0, b: 0, a: 1}
- emissiveTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
- metallicRoughnessTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
- normalTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
- occlusionTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: BitOvCmpWyjh1r2/p0Bq8BiMfi+EwtfrNaogxqOiLRwpInS4RbxwuJQ=
guid: DHlMsSmtBXq5NBgrCDyjpQwVrsGLYtPusN7UNxirhs24Y7N+A79Q5WE=
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
@@ -7,8 +7,8 @@ Material:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: "\u8349\u5730"
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Name: "Outline_Black_\u5C0F\u6BD4\u4F8B"
m_Shader: {fileID: 4800000, guid: 6cbfe633d117147629f813fb4e0f7a39, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
@@ -44,7 +44,7 @@ Material:
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: c34f1071ca98a488ea5921e64c76afe4, type: 3}
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
@@ -59,9 +59,30 @@ Material:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- baseColorTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- emissiveTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- metallicRoughnessTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- normalTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- occlusionTexture:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _CullMode: 2
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
@@ -71,13 +92,32 @@ Material:
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _OutlineWidth: 0.0002
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
- alphaCutoff: 0.5
- baseColorTexture_texCoord: 0
- emissiveTexture_texCoord: 0
- metallicFactor: 1
- metallicRoughnessTexture_texCoord: 0
- normalTexture_scale: 1
- normalTexture_texCoord: 0
- occlusionTexture_strength: 1
- occlusionTexture_texCoord: 0
- roughnessFactor: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
- baseColorFactor: {r: 1, g: 1, b: 1, a: 1}
- baseColorTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
- emissiveFactor: {r: 0, g: 0, b: 0, a: 1}
- emissiveTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
- metallicRoughnessTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
- normalTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
- occlusionTexture_Rotation: {r: 0, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: BisXvXv4UC7Quexwb6xeZ7BWSZkXiC4oyM6OHKcBjZW+LlAzibcQ3W4=
guid: BiwWsCOsAi/mppNeCQeRIi0/9Z7z47n2w/zLprsKj5Kh6s+XXnnv7XY=
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
-83
View File
@@ -1,83 +0,0 @@
%YAML 1.1
%TAG !u! tag:yousandi.cn,2023:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: TowerEnemy
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _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}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.55, g: 0.45, b: 0.4, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
-83
View File
@@ -1,83 +0,0 @@
%YAML 1.1
%TAG !u! tag:yousandi.cn,2023:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: TowerPlayer
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _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}
m_Ints: []
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.6, g: 0.55, b: 0.5, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []
-8
View File
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: WS5Nt36uV3kVSfaU1TvvJJZb+2fDTUZxZgRCS9cMsl0KJsVE3mWYB3g=
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: C3NLvS+kVy8e6tinG8lgQKjGsEAz4R8mvsGqHeruu5m6u2G5ocYSqwM=
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
@@ -90,6 +90,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -5324531855699944674, guid: 6b859b567d8ba4a7a87c03aa4b87c18c,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -5324531855699944674, guid: 6b859b567d8ba4a7a87c03aa4b87c18c,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 6b859b567d8ba4a7a87c03aa4b87c18c,
type: 3}
propertyPath: m_Name
@@ -91,6 +91,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 5072af719b9b1401787c6c55f048d8ed,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 5072af719b9b1401787c6c55f048d8ed,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: -3001758849199531384, guid: 5072af719b9b1401787c6c55f048d8ed,
type: 3}
propertyPath: m_LocalPosition.x
@@ -386,6 +396,16 @@ PrefabInstance:
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 81c3ca29ca6b10849a8810e299d4ab57,
type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 81c3ca29ca6b10849a8810e299d4ab57,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 81c3ca29ca6b10849a8810e299d4ab57,
type: 3}
propertyPath: m_Name
+20
View File
@@ -90,6 +90,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 7b0dd5b38a9cd144ea135f3743440958,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 7b0dd5b38a9cd144ea135f3743440958,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 7b0dd5b38a9cd144ea135f3743440958,
type: 3}
propertyPath: m_Name
@@ -384,6 +394,16 @@ PrefabInstance:
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: c3401c41ece280d47af5c39c99b1e31a,
type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: c3401c41ece280d47af5c39c99b1e31a,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: c3401c41ece280d47af5c39c99b1e31a,
type: 3}
propertyPath: m_Name
+10
View File
@@ -91,6 +91,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 9d4b54ec2c4f7754bb1fd5ec11a29541,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 9d4b54ec2c4f7754bb1fd5ec11a29541,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 9d4b54ec2c4f7754bb1fd5ec11a29541,
type: 3}
propertyPath: m_Name
+30
View File
@@ -68,6 +68,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 6aca4bb5878af445d8293bd74e9de170,
type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 6aca4bb5878af445d8293bd74e9de170,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 6aca4bb5878af445d8293bd74e9de170,
type: 3}
propertyPath: m_Name
@@ -142,6 +152,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 17f7a1b7ae92f0948a5bebde8a11fc2b,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 17f7a1b7ae92f0948a5bebde8a11fc2b,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 17f7a1b7ae92f0948a5bebde8a11fc2b,
type: 3}
propertyPath: m_Name
@@ -446,6 +466,16 @@ PrefabInstance:
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 38a36e022524a4f40a80cadd9313ec49,
type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 38a36e022524a4f40a80cadd9313ec49,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 38a36e022524a4f40a80cadd9313ec49,
type: 3}
propertyPath: m_Name
@@ -58,6 +58,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 42.915
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 38a36e022524a4f40a80cadd9313ec49,
type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: 38a36e022524a4f40a80cadd9313ec49,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 38a36e022524a4f40a80cadd9313ec49,
type: 3}
propertyPath: m_Name
@@ -132,6 +142,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 62d9f853c067ff443bd2a3aa382ab563,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 62d9f853c067ff443bd2a3aa382ab563,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 62d9f853c067ff443bd2a3aa382ab563,
type: 3}
propertyPath: m_Name
@@ -110,6 +110,16 @@ PrefabInstance:
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: c3401c41ece280d47af5c39c99b1e31a,
type: 3}
propertyPath: m_Materials.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: c3401c41ece280d47af5c39c99b1e31a,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: c3401c41ece280d47af5c39c99b1e31a,
type: 3}
propertyPath: m_Name
@@ -208,6 +218,16 @@ PrefabInstance:
propertyPath: m_TagString
value: Enemy
objectReference: {fileID: 0}
- target: {fileID: 2664098864995057252, guid: 2ac38f68ec4f85341b423b5e8defd47e,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 2664098864995057252, guid: 2ac38f68ec4f85341b423b5e8defd47e,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 5866666021909216657, guid: 2ac38f68ec4f85341b423b5e8defd47e,
type: 3}
propertyPath: m_Controller
+10
View File
@@ -58,6 +58,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 3d031ad534e512e45bb7fe10237e6286,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: 3d031ad534e512e45bb7fe10237e6286,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: 919132149155446097, guid: 3d031ad534e512e45bb7fe10237e6286,
type: 3}
propertyPath: m_Name
+10
View File
@@ -58,6 +58,16 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: d40daebbc0e47416099e97edbbbeac04,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -7676612043611361953, guid: d40daebbc0e47416099e97edbbbeac04,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 33c430f15cc564e098b64444c55c60a7, type: 2}
- target: {fileID: -3001758849199531384, guid: d40daebbc0e47416099e97edbbbeac04,
type: 3}
propertyPath: m_LocalPosition.x
@@ -78,6 +78,16 @@ PrefabInstance:
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: -5324531855699944674, guid: aedf6e849dd924e229c57640f99ff50a,
type: 3}
propertyPath: m_Materials.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: -5324531855699944674, guid: aedf6e849dd924e229c57640f99ff50a,
type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: 9f9591addfe464f93aeb91eff0dc75fa, type: 2}
- target: {fileID: 919132149155446097, guid: aedf6e849dd924e229c57640f99ff50a,
type: 3}
propertyPath: m_Name
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: DSkbsC7+UiqzjXYvJtp+Ek3TyYKhAs+lXTjZwwGl4KwuI1XVLaujRD8=
guid: By5NsXykAS2cUrZNy5f8luMTfxT5lahizdgWVrVL8TgUdlSXx3s2MO8=
folderAsset: yes
DefaultImporter:
externalObjects: {}
+54
View File
@@ -0,0 +1,54 @@
Shader "Unlit/Outline"
{
Properties
{
_OutlineColor ("描边颜色", Color) = (0,0,0,1)
_OutlineWidth ("描边宽度", Range(0.001, 0.1)) = 0.015
}
SubShader
{
Tags { "RenderType"="Opaque" "Queue"="Geometry+10" }
LOD 100
Pass
{
Cull Front
ZWrite On
CGPROGRAM
#pragma vertex vert
#pragma fragment frag
#include "UnityCG.cginc"
struct appdata
{
float4 vertex : POSITION;
float3 normal : NORMAL;
};
struct v2f
{
float4 pos : SV_POSITION;
};
fixed4 _OutlineColor;
float _OutlineWidth;
v2f vert (appdata v)
{
v2f o;
// 沿法线方向外扩顶点
float3 expandedPos = v.vertex.xyz + v.normal * _OutlineWidth;
o.pos = UnityObjectToClipPos(float4(expandedPos, 1.0));
return o;
}
fixed4 frag (v2f i) : SV_Target
{
return _OutlineColor;
}
ENDCG
}
}
FallBack "Unlit/Texture"
}
+9
View File
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: CSlN43+rUHgAdI/KyDPCnVd69qNd81nKHAi7hla8XbgevFI9DqsU9m0=
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant: