This commit is contained in:
yzx 2024-01-30 10:07:42 +08:00
parent adb532fa50
commit e848b5db2d
23 changed files with 922 additions and 9 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ U3D_DrivingSystem/Library/
U3D_DrivingSystem/Temp/UnityLockfile U3D_DrivingSystem/Temp/UnityLockfile
U3D_DrivingSystem/Logs/ U3D_DrivingSystem/Logs/
U3D_DrivingSystem/Temp/ U3D_DrivingSystem/Temp/
U3D_DrivingSystem.zip

View File

@ -416,6 +416,8 @@
<Compile Include="Assets\Script\Old\Trigger_road.cs" /> <Compile Include="Assets\Script\Old\Trigger_road.cs" />
<Compile Include="Assets\Script\Old\Early_Warning.cs" /> <Compile Include="Assets\Script\Old\Early_Warning.cs" />
<Compile Include="Assets\Script\Manaegr\CarTempManager.cs" /> <Compile Include="Assets\Script\Manaegr\CarTempManager.cs" />
<Compile Include="Assets\Script\DianDongCheTrigger.cs" />
<Compile Include="Assets\Script\DianDongCheManager.cs" />
<None Include="Assets\Plugin\Standard Assets\Effects\ImageEffects\Shaders\Tonemapper.shader" /> <None Include="Assets\Plugin\Standard Assets\Effects\ImageEffects\Shaders\Tonemapper.shader" />
<None Include="Assets\Plugin\Hard Surface Pro\HardSurface Shaders\HardSurfaceProScreenSpaceReflection.cginc" /> <None Include="Assets\Plugin\Hard Surface Pro\HardSurface Shaders\HardSurfaceProScreenSpaceReflection.cginc" />
<None Include="Assets\Plugin\Hard Surface Pro\HardSurface Shaders\HardSurface Free Opaque Specular.shader" /> <None Include="Assets\Plugin\Hard Surface Pro\HardSurface Shaders\HardSurface Free Opaque Specular.shader" />

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: lambert23
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
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
- _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.66518503, g: 0.66518503, b: 0.66518503, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 66cfaa3d222c9f84f89c2863488c1579
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: mcp_road_01_d
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 1783b3b0a117de44c9c723ff6c1d9bca, type: 3}
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: 2800000, guid: c2d0ae181b6adb845aa746371591b32f, type: 3}
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: 0
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _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: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 205bc7fc9ecf0ac43b3b543a4307f44c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: mcp_road_02_d
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 3e9d80199e157cb4dba2e3a6758138ca, type: 3}
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: 2800000, guid: eb7cfb323ff0e9345b70d2de89db8778, type: 3}
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: 0
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _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: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3860740dac4429f49985fde847b6d96c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: mcp_road_03_d
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 5da5d861b80ec694bac300c4643eec21, type: 3}
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: 2800000, guid: e5da1b15f8cd0b74b9bee33af9a12df7, type: 3}
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: 0
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _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: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6740f91291c1ca14ca81b071310b9a9a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: mcp_road_04_d
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 5dc54922cf88741418311890fa640538, type: 3}
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: 2800000, guid: 9b7e47dba3c154a46b0a83193169b4b0, type: 3}
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: 0
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _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: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 329ffa4a163ac1a46ba1274abf243d76
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: mcp_road_turn_01_d
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 8bafc55e384ad8b4b8db6fe89c5d9b09, type: 3}
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: 2800000, guid: 18bc401a69667ce49a28522f1dc5694d, type: 3}
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: 0
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _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: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 302a98f9cc503fe4287f8bbb6fababc5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: mcp_sidewalk_02_d
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 59120c753ddd6424ba5a2aeb5f13fec2, type: 3}
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: 2800000, guid: 2f9666b8cdc864c40a731679351cd096, type: 3}
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: 0
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _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: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 387ad2562ab5afd479cf8c785c56b063
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: mcp_sidewalk_03_d
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 291b028fded192d43879801d12df2581, type: 3}
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: 2800000, guid: cf8c305a837f3aa42acdb846af43f526, type: 3}
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: 0
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0
- _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: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 408c6f313ffe97a4197ec651299eef4b
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -5023,7 +5023,7 @@ Transform:
m_LocalScale: {x: 73.365715, y: 0.36673844, z: 50.597057} m_LocalScale: {x: 73.365715, y: 0.36673844, z: 50.597057}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 12 m_RootOrder: 13
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &8922218 --- !u!65 &8922218
BoxCollider: BoxCollider:
@ -6419,6 +6419,31 @@ SkinnedMeshRenderer:
m_Center: {x: 0.02203551, y: -0.0071677715, z: 0.00000020861626} m_Center: {x: 0.02203551, y: -0.0071677715, z: 0.00000020861626}
m_Extent: {x: 0.86298215, y: 0.14953063, z: 0.60222924} m_Extent: {x: 0.86298215, y: 0.14953063, z: 0.60222924}
m_DirtyAABB: 0 m_DirtyAABB: 0
--- !u!1 &11424141 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 7271351576409611623, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
m_PrefabInstance: {fileID: 941503605931784328}
m_PrefabAsset: {fileID: 0}
--- !u!114 &11424142
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 11424141}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 76303afb859c4025b39de80be9e560a2, type: 3}
m_Name:
m_EditorClassIdentifier:
anim: {fileID: 11424143}
--- !u!111 &11424143 stripped
Animation:
m_CorrespondingSourceObject: {fileID: 8571364762310218515, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
m_PrefabInstance: {fileID: 941503605931784328}
m_PrefabAsset: {fileID: 0}
--- !u!1 &11581450 --- !u!1 &11581450
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -51675,6 +51700,24 @@ MeshFilter:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 106316738} m_GameObject: {fileID: 106316738}
m_Mesh: {fileID: 4300000, guid: 44d101deac1cd964fbf74f01e8e58566, type: 3} m_Mesh: {fileID: 4300000, guid: 44d101deac1cd964fbf74f01e8e58566, type: 3}
--- !u!1 &106549782 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 7855740470133858961, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
m_PrefabInstance: {fileID: 941503605931784328}
m_PrefabAsset: {fileID: 0}
--- !u!114 &106549787
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 106549782}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4979650d215d48699b4dad3ef142634c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &106736043 --- !u!1 &106736043
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -264015,6 +264058,24 @@ Transform:
m_Father: {fileID: 1916670269} m_Father: {fileID: 1916670269}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &535867427 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8244404132084775747, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
m_PrefabInstance: {fileID: 941503605931784328}
m_PrefabAsset: {fileID: 0}
--- !u!114 &535867432
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 535867427}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4979650d215d48699b4dad3ef142634c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &535899339 --- !u!1 &535899339
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -309699,7 +309760,7 @@ Transform:
m_LocalScale: {x: 73.365715, y: 0.36673844, z: 50.597057} m_LocalScale: {x: 73.365715, y: 0.36673844, z: 50.597057}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 14 m_RootOrder: 15
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &633184629 --- !u!65 &633184629
BoxCollider: BoxCollider:
@ -569969,6 +570030,24 @@ MeshFilter:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1188800980} m_GameObject: {fileID: 1188800980}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!1 &1188953073 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 4271881997204037860, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
m_PrefabInstance: {fileID: 941503605931784328}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1188953078
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1188953073}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4979650d215d48699b4dad3ef142634c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1188998378 --- !u!1 &1188998378
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -589388,7 +589467,7 @@ Transform:
m_LocalScale: {x: 46.442844, y: 0.36673844, z: 50.597057} m_LocalScale: {x: 46.442844, y: 0.36673844, z: 50.597057}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 9 m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &1224440451 --- !u!65 &1224440451
BoxCollider: BoxCollider:
@ -603819,7 +603898,7 @@ Transform:
m_LocalScale: {x: 73.365715, y: 0.36673844, z: 85.630455} m_LocalScale: {x: 73.365715, y: 0.36673844, z: 85.630455}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 15 m_RootOrder: 16
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &1254592514 --- !u!65 &1254592514
BoxCollider: BoxCollider:
@ -634248,7 +634327,7 @@ Transform:
m_LocalScale: {x: 73.365715, y: 0.36673844, z: 50.597057} m_LocalScale: {x: 73.365715, y: 0.36673844, z: 50.597057}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 13 m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &1315243454 --- !u!65 &1315243454
BoxCollider: BoxCollider:
@ -651051,6 +651130,24 @@ Transform:
m_Father: {fileID: 1168823261} m_Father: {fileID: 1168823261}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1352550083 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 6405280729015455215, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
m_PrefabInstance: {fileID: 941503605931784328}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1352550088
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1352550083}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4979650d215d48699b4dad3ef142634c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1352796309 --- !u!1 &1352796309
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -792457,7 +792554,7 @@ Transform:
m_LocalScale: {x: 46.442844, y: 0.36673844, z: 50.597057} m_LocalScale: {x: 46.442844, y: 0.36673844, z: 50.597057}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 10 m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &1644651297 --- !u!65 &1644651297
BoxCollider: BoxCollider:
@ -887851,6 +887948,24 @@ Transform:
m_Father: {fileID: 1240298729} m_Father: {fileID: 1240298729}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1837959995 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8115778673277508222, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
m_PrefabInstance: {fileID: 941503605931784328}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1837960000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1837959995}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4979650d215d48699b4dad3ef142634c, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1837960457 --- !u!1 &1837960457
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -950999,7 +951114,7 @@ Transform:
m_LocalScale: {x: 46.442844, y: 0.36673844, z: 50.597057} m_LocalScale: {x: 46.442844, y: 0.36673844, z: 50.597057}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 11 m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &1963281148 --- !u!65 &1963281148
BoxCollider: BoxCollider:
@ -1010591,7 +1010706,7 @@ Transform:
m_LocalScale: {x: 73.365715, y: 0.36673844, z: 85.630455} m_LocalScale: {x: 73.365715, y: 0.36673844, z: 85.630455}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 16 m_RootOrder: 17
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &2076278831 --- !u!65 &2076278831
BoxCollider: BoxCollider:
@ -1015183,7 +1015298,7 @@ Transform:
m_LocalScale: {x: 55.09669, y: 0.36673844, z: 61.54306} m_LocalScale: {x: 55.09669, y: 0.36673844, z: 61.54306}
m_Children: [] m_Children: []
m_Father: {fileID: 1866218925} m_Father: {fileID: 1866218925}
m_RootOrder: 8 m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!65 &2085621374 --- !u!65 &2085621374
BoxCollider: BoxCollider:
@ -1047676,6 +1047791,16 @@ PrefabInstance:
propertyPath: m_Materials.Array.data[8] propertyPath: m_Materials.Array.data[8]
value: value:
objectReference: {fileID: 2100000, guid: 584b3de33591a734cb2908e3b622c047, type: 2} objectReference: {fileID: 2100000, guid: 584b3de33591a734cb2908e3b622c047, type: 2}
- target: {fileID: 888632242235213517, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
propertyPath: m_IsTrigger
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2049895213957250244, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
propertyPath: m_IsTrigger
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2111740520186440999, guid: f230a7f7f7beb604cbc44c0bd5a0f581, - target: {fileID: 2111740520186440999, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3} type: 3}
propertyPath: m_Materials.Array.data[11] propertyPath: m_Materials.Array.data[11]
@ -1047718,6 +1047843,11 @@ PrefabInstance:
value: value:
objectReference: {fileID: -6425913742763194625, guid: 2c62a56fa94e1324b8757321b3ae70ea, objectReference: {fileID: -6425913742763194625, guid: 2c62a56fa94e1324b8757321b3ae70ea,
type: 3} type: 3}
- target: {fileID: 6703870608280264154, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
propertyPath: m_IsTrigger
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7183444051510313752, guid: f230a7f7f7beb604cbc44c0bd5a0f581, - target: {fileID: 7183444051510313752, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3} type: 3}
propertyPath: m_Materials.Array.data[8] propertyPath: m_Materials.Array.data[8]
@ -1047733,6 +1047863,16 @@ PrefabInstance:
propertyPath: m_IsActive propertyPath: m_IsActive
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 8722044791366964762, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
propertyPath: m_IsTrigger
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9100758992240584066, guid: f230a7f7f7beb604cbc44c0bd5a0f581,
type: 3}
propertyPath: m_IsTrigger
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: f230a7f7f7beb604cbc44c0bd5a0f581, type: 3} m_SourcePrefab: {fileID: 100100000, guid: f230a7f7f7beb604cbc44c0bd5a0f581, type: 3}
--- !u!1001 &1027287055569381363 --- !u!1001 &1027287055569381363

View File

@ -0,0 +1,50 @@
using System;
using System.Collections;
using UnityEngine;
namespace Script
{
public class DianDongCheManager : MonoBehaviour
{
public static DianDongCheManager Instance;
private bool isPaused = false;
public Animation anim;
private void Awake()
{
Instance = this;
}
public IEnumerator PauseAndResumeAnimation()
{
if (!isPaused)
{
isPaused = true; // 设置暂停标志
// 暂停动画
foreach (AnimationState state in anim)
{
state.speed = 0;
}
yield return new WaitForSeconds(3); // 等待三秒钟
// 继续播放动画
foreach (AnimationState state in anim)
{
state.speed = 1;
}
isPaused = false; // 重置暂停标志
}
// 如果已经暂停,这里什么也不做
}
// 你可以从其他方法中调用这个方法
public void ControlAnimation()
{
StartCoroutine(PauseAndResumeAnimation());
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 76303afb859c4025b39de80be9e560a2
timeCreated: 1706579598

View File

@ -0,0 +1,18 @@
using System;
using UnityEngine;
namespace Script
{
public class DianDongCheTrigger : MonoBehaviour
{
private void OnTriggerEnter(Collider other)
{
Debug.Log(other.name);
DianDongCheManager.Instance.ControlAnimation();
}
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 4979650d215d48699b4dad3ef142634c
timeCreated: 1706579049