改闪烁,改IP读取,改场景材质

This commit is contained in:
陈向学 2024-06-28 17:01:42 +08:00
parent f7e52ee335
commit 5801b4efe7
31 changed files with 5840 additions and 68 deletions

View File

@ -1,5 +1,6 @@
fileFormatVersion: 2
guid: 36ce379c5afc140469a854f89499f92b
guid: 0efb48f01d619df458c6171da413537a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6b2d0608d2baae845b4273a51e65869a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,6 @@
Created by The Four Headed Cat @fourheadedcat - https://twitter.com/fourheadedcat
Sample of shader with "Highlighted animation" feature, to highlight objects for example. Including the use of the switch node and a ping pong animation between two values.
You are free to modify and use any of the available shader examples in your own projects.
Keep them coming, contribute today!
http://amplify.pt/unity/amplify-shader-editor/contribute

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bb5a0cae8352440795cd2300173c1cd0
TextScriptImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,64 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!850595691 &4890085278179872738
LightingSettings:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Highlight Animated
serializedVersion: 4
m_GIWorkflowMode: 1
m_EnableBakedLightmaps: 1
m_EnableRealtimeLightmaps: 1
m_RealtimeEnvironmentLighting: 1
m_BounceScale: 1
m_AlbedoBoost: 1
m_IndirectOutputScale: 1
m_UsingShadowmask: 1
m_BakeBackend: 1
m_LightmapMaxSize: 1024
m_BakeResolution: 40
m_Padding: 2
m_LightmapCompression: 3
m_AO: 0
m_AOMaxDistance: 1
m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_ExtractAO: 0
m_MixedBakeMode: 2
m_LightmapsBakeMode: 1
m_FilterMode: 1
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0}
m_ExportTrainingData: 0
m_TrainingDataDestination: TrainingData
m_RealtimeResolution: 2
m_ForceWhiteAlbedo: 0
m_ForceUpdates: 0
m_FinalGather: 0
m_FinalGatherRayCount: 256
m_FinalGatherFiltering: 1
m_PVRCulling: 1
m_PVRSampling: 1
m_PVRDirectSampleCount: 32
m_PVRSampleCount: 512
m_PVREnvironmentSampleCount: 256
m_PVREnvironmentReferencePointCount: 2048
m_LightProbeSampleCountMultiplier: 4
m_PVRBounces: 2
m_PVRMinBounces: 1
m_PVREnvironmentMIS: 1
m_PVRFilteringMode: 1
m_PVRDenoiserTypeDirect: 1
m_PVRDenoiserTypeIndirect: 1
m_PVRDenoiserTypeAO: 1
m_PVRFilterTypeDirect: 0
m_PVRFilterTypeIndirect: 0
m_PVRFilterTypeAO: 0
m_PVRFilteringGaussRadiusDirect: 1
m_PVRFilteringGaussRadiusIndirect: 5
m_PVRFilteringGaussRadiusAO: 2
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2
m_PVRFilteringAtrousPositionSigmaAO: 1
m_PVRTiledBaking: 0

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: ce6aa96813d748d8a338eb608f620911
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 4890085278179872738
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,129 @@
%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: Highlight Animated
m_Shader: {fileID: 4800000, guid: c51d0759509e493dae1826cc12e56e3d, type: 3}
m_ValidKeywords: []
m_InvalidKeywords:
- _HIGHLIGHTED_ON
m_LightmapFlags: 2
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _Albedo:
m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, type: 3}
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}
- _Emission:
m_Texture: {fileID: 2800000, guid: f4ef9b0dca354d7aaf185497d6b77ea5, type: 3}
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}
- _Normal:
m_Texture: {fileID: 2800000, guid: abfd39fa1d6a42ba9b322e4301333932, type: 3}
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}
- _Oclussion:
m_Texture: {fileID: 2800000, guid: ffc41f1810014593ba2069132ba4d0f3, type: 3}
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}
- _Specular:
m_Texture: {fileID: 2800000, guid: 6618005f6bafebf40b3d09f498401fba, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _texcoord:
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:
- _AlphaCutoff: 0.5
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _HighlightSpeed: 93.6
- _Highlighted: 1
- _MaxHighLightLevel: 1
- _Metallic: 0
- _MinHighLightLevel: 0.154
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueControl: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
- __dirty: 0
m_Colors:
- _Color: {r: 1, g: 0.952896, b: 0.9103774, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _HighlightColor: {r: 0.7065311, g: 0.97058815, b: 0.95966166, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 05e33d31558f487ba7cf853c84482a4d
timeCreated: 1492642686
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: c51d0759509e493dae1826cc12e56e3d
ShaderImporter:
externalObjects: {}
defaultTextures:
- _Emission: {fileID: 2800000, guid: 7a170cdb7cc88024cb628cfcdbb6705c, type: 3}
nonModifiableTextures: []
preprocessorOverride: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 9579f51f3e954ac8b1a46e8dc657b18e
timeCreated: 1492642802
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
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: e78934177bebe0545ab566bb787b0282, type: 3}
m_Name: Readme
m_EditorClassIdentifier:
Icon: {fileID: 2800000, guid: ea451c291ae8cd14b9f5094c8f1a3490, type: 3}
Title: Community Highlight Animated
Description:
Heading:
Text: Pulsating highlight effect automatically toggled when the cursor hovers
the object.
LinkText: Created by The Four Headed Cat
Url: https://twitter.com/fourheadedcat
PropertiesHeader:
Heading: Properties
Text:
LinkText:
Url:
Properties:
- Heading: Color
Text: Albedo color tint value.
LinkText:
Url:
- Heading: Albedo
Text: Albedo texture to be applied to surface.
LinkText:
Url:
- Heading: Normal
Text: 'Normals texture to be applied to surface. '
LinkText:
Url:
- Heading: Emission
Text: 'Emission texture to be applied to surface. '
LinkText:
Url:
- Heading: Oclussion
Text: 'Occlusion texture to be applied to surface. '
LinkText:
Url:
- Heading: Highlight Color
Text: 'Highlight effect color value. '
LinkText:
Url:
- Heading: MinHighLightLevel
Text: Highlight rim effect minimum level.
LinkText:
Url:
- Heading: MaxHighLightLevel
Text: 'Highlight rim effect maximum level. '
LinkText:
Url:
- Heading: Highlight Speed
Text: Highlight pulsate speed.
LinkText:
Url:
- Heading: Highlighted
Text: Highlight Toggle.
LinkText:
Url:
AdditionalProperties: []
AdditionalScripts:
- BlockHeader:
Heading: Highlighted Animated Script
Text: No parameters, must be placed on object to be highlighted which must
contain a Collider.
LinkText:
Url:
BlockContent: []
LoadedLayout: 0
RPType: 3

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c7c1392ebd184096af13a989ac84aa50
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,123 @@
fileFormatVersion: 2
guid: 2cd0b3bd2a763d64f8798609d14bde54
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
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: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,131 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-161795746682442277
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: 5
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: meiduiAreaEmission
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords:
- _ALPHATEST_ON
- _RECEIVE_SHADOWS_OFF
- _SURFACE_TYPE_TRANSPARENT
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3000
stringTagMap:
RenderType: Transparent
disabledShaderPasses:
- DepthOnly
- SHADOWCASTER
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 0, y: 0}
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: 0, y: 0}
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: 1
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 10
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 0
- _Smoothness: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 5
- _Surface: 1
- _WorkflowMode: 1
- _ZWrite: 0
m_Colors:
- _BaseColor: {r: 0, g: 1, b: 0, a: 0}
- _Color: {r: 0, g: 1, b: 0, a: 0}
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

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

View File

@ -0,0 +1,126 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-161795746682442277
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: 5
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: meiduiEmission
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, type: 3}
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: 2800000, guid: bac3a585490c1164faad38dab7267a80, 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}
- _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
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0.10445078}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

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

View File

@ -168,10 +168,10 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
infos: []
customCode: 3505
customCode:
customName: 1
MONITOR_ID: CNMAW350015
ServerIP: 172.16.1.253
MONITOR_ID:
ServerIP:
--- !u!1 &1119662809
GameObject:
m_ObjectHideFlags: 0

View File

@ -1871,6 +1871,122 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 419426640}
m_CullTransparentMesh: 1
--- !u!1 &427163902
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 427163907}
- component: {fileID: 427163906}
- component: {fileID: 427163905}
- component: {fileID: 427163904}
- component: {fileID: 427163903}
m_Layer: 0
m_Name: meidui03_01
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &427163903
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427163902}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c166ee5f90348454a91bc472aefc2bb1, type: 3}
m_Name:
m_EditorClassIdentifier:
MainAxis: 7
SecondaryAxis: 6
MeshRenderer: {fileID: 0}
PileMaxWeight: 0
MinimumPercentage: 0
--- !u!64 &427163904
MeshCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427163902}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 4
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 2661472560620154767, guid: fe4a616299ad8114eb9ffe832def1ab3, type: 3}
--- !u!23 &427163905
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427163902}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 05e33d31558f487ba7cf853c84482a4d, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!33 &427163906
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427163902}
m_Mesh: {fileID: 2661472560620154767, guid: fe4a616299ad8114eb9ffe832def1ab3, type: 3}
--- !u!4 &427163907
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 427163902}
m_LocalRotation: {x: 0.00000008940697, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 55.67548, y: 0.000015258789, z: 208.39494}
m_LocalScale: {x: 33.56727, y: 19.70253, z: 67.26613}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &452019682
GameObject:
m_ObjectHideFlags: 0
@ -2967,7 +3083,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_Color: {r: 0, g: 0, b: 0, a: 0}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1

View File

@ -1584,6 +1584,7 @@ GameObject:
- component: {fileID: 271908283}
- component: {fileID: 271908282}
- component: {fileID: 271908281}
- component: {fileID: 271908285}
m_Layer: 0
m_Name: YardGameObject
m_TagString: Untagged
@ -1660,7 +1661,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2}
- {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -1690,6 +1691,24 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 271908279}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!114 &271908285
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 271908279}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3}
m_Name:
m_EditorClassIdentifier:
renderer_Meidui:
- {fileID: 4690287154697894908}
- {fileID: 8886143251745935537}
- {fileID: 8403123446982408982}
- {fileID: 8764433333058993467}
renderer_Ground: {fileID: 271908283}
--- !u!1001 &327660021
PrefabInstance:
m_ObjectHideFlags: 0
@ -2025,6 +2044,7 @@ GameObject:
- component: {fileID: 341412934}
- component: {fileID: 341412933}
- component: {fileID: 341412932}
- component: {fileID: 341412936}
m_Layer: 0
m_Name: YardGameObject
m_TagString: Untagged
@ -2101,7 +2121,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2}
- {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -2131,6 +2151,24 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 341412930}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!114 &341412936
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 341412930}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3}
m_Name:
m_EditorClassIdentifier:
renderer_Meidui:
- {fileID: 5486295482487002081}
- {fileID: 5728535758344376718}
- {fileID: 6938851745082079279}
- {fileID: 218423832643398870}
renderer_Ground: {fileID: 341412934}
--- !u!114 &341867034
MonoBehaviour:
m_ObjectHideFlags: 0
@ -3165,6 +3203,7 @@ GameObject:
- component: {fileID: 507878044}
- component: {fileID: 507878043}
- component: {fileID: 507878042}
- component: {fileID: 507878046}
m_Layer: 0
m_Name: YardGameObject
m_TagString: Untagged
@ -3241,7 +3280,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2}
- {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -3271,6 +3310,24 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 507878040}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!114 &507878046
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 507878040}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3}
m_Name:
m_EditorClassIdentifier:
renderer_Meidui:
- {fileID: 8288356500688006727}
- {fileID: 5754144870543011746}
- {fileID: 7455849441767895983}
- {fileID: 3565512648207628623}
renderer_Ground: {fileID: 507878044}
--- !u!1 &508970353
GameObject:
m_ObjectHideFlags: 0
@ -4062,6 +4119,7 @@ GameObject:
- component: {fileID: 690684755}
- component: {fileID: 690684754}
- component: {fileID: 690684753}
- component: {fileID: 690684757}
m_Layer: 0
m_Name: YardGameObject
m_TagString: Untagged
@ -4138,7 +4196,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2}
- {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -4168,6 +4226,24 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 690684751}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!114 &690684757
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 690684751}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3}
m_Name:
m_EditorClassIdentifier:
renderer_Meidui:
- {fileID: 1471615591140109125}
- {fileID: 6284403641292762761}
- {fileID: 2957187194872805524}
- {fileID: 8431554864697472876}
renderer_Ground: {fileID: 690684755}
--- !u!1 &691856659
GameObject:
m_ObjectHideFlags: 0
@ -4353,6 +4429,7 @@ GameObject:
- component: {fileID: 717536053}
- component: {fileID: 717536052}
- component: {fileID: 717536051}
- component: {fileID: 717536055}
m_Layer: 0
m_Name: YardGameObject
m_TagString: Untagged
@ -4429,7 +4506,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2}
- {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -4459,6 +4536,24 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 717536049}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!114 &717536055
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 717536049}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3}
m_Name:
m_EditorClassIdentifier:
renderer_Meidui:
- {fileID: 5608726176417044420}
- {fileID: 964556029037726638}
- {fileID: 31756126100262334}
- {fileID: 8392404681504990491}
renderer_Ground: {fileID: 717536053}
--- !u!114 &744138413
MonoBehaviour:
m_ObjectHideFlags: 0
@ -7671,6 +7766,7 @@ GameObject:
- component: {fileID: 1185296018}
- component: {fileID: 1185296017}
- component: {fileID: 1185296016}
- component: {fileID: 1185296020}
m_Layer: 0
m_Name: YardGameObject
m_TagString: Untagged
@ -7747,7 +7843,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: c5b3c5f9f1ed4dd4ea4c8109113c6ddc, type: 2}
- {fileID: 2100000, guid: b0f5014266b7cb14aa63428c38f2b076, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -7777,6 +7873,24 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1185296014}
m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
--- !u!114 &1185296020
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1185296014}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 809bfe5f7a6496942889154b5abd064d, type: 3}
m_Name:
m_EditorClassIdentifier:
renderer_Meidui:
- {fileID: 5541429577665519816}
- {fileID: 7236799506592098898}
- {fileID: 4261702257029741874}
- {fileID: 5433651167524008163}
renderer_Ground: {fileID: 1185296018}
--- !u!1001 &1201500902
PrefabInstance:
m_ObjectHideFlags: 0
@ -15531,7 +15645,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -15964,7 +16078,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -16834,7 +16948,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -17398,7 +17512,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -18903,7 +19017,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -19582,7 +19696,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -20510,7 +20624,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -21370,7 +21484,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -22095,7 +22209,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -22197,7 +22311,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -22312,7 +22426,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -22372,7 +22486,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -22542,7 +22656,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -22668,7 +22782,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -23470,7 +23584,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -24183,7 +24297,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -24586,7 +24700,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -24774,7 +24888,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -26208,7 +26322,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -26444,7 +26558,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -26517,7 +26631,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -26632,7 +26746,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -27273,7 +27387,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -27385,7 +27499,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 32ed282d6f8e9d64db06ba8e0d7c1136, type: 2}
- {fileID: 2100000, guid: 71520a4bd8c69f54f8a60c7440811ac5, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0

View File

@ -12,7 +12,6 @@ public class CorporationManger : MonoBehaviour
/// </summary>
public string MONITOR_ID;
private void Awake()
{
if (CallForTest.instance != null)

View File

@ -0,0 +1,62 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shark : MonoBehaviour
{
public List<MeshRenderer> renderer_Meidui;
public MeshRenderer renderer_Ground;
private void Start()
{
//³õʼ»¯
renderer_Meidui.ForEach(a =>
{
a.materials[0].SetColor("_EmissionColor", new Color(0, 0, 0));
});
renderer_Ground.materials[0].color = new Color(0, 1, 0, 0);
}
/// <summary>
/// ÊÇ·ñÉÁ˸
/// </summary>
bool isShaking=false;
public void StartShak()
{
isShaking = true;
renderer_Meidui.ForEach(a =>
{
a.materials[0].EnableKeyword("_EMISSION");
});
}
public void StopShak()
{
isShaking = false;
renderer_Meidui.ForEach(a =>
{
a.materials[0].DisableKeyword("_EMISSION");
});
renderer_Ground.materials[0].color = new Color(0, 1, 0, 0);
}
float v;
private void Update()
{
if (isShaking)
{
if (v <= 1)
{
v += Time.deltaTime;
}
else
{
v = 0;
}
renderer_Meidui.ForEach(a =>
{
a.materials[0].SetColor("_EmissionColor", new Color(0, 1, 0) * v * v);
});
renderer_Ground.materials[0].color = new Color(0, 1, 0, 1 - v);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 809bfe5f7a6496942889154b5abd064d
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -35,11 +35,17 @@ public class YardDevice : DeviceBase
/// </summary>
[Range(0, 1)]
public float MinimumPercentage = 0.1f;
/// <summary>
/// ÉÁ˸½Å±¾
/// </summary>
private Shark shark;
public override void Awake()
{
base.Awake();
MeshRenderers = transform.parent.GetComponentsInChildren<MeshRenderer>().ToList();
Piles = transform.parent.GetComponentsInChildren<PileDevice>().ToList();
shark=GetComponent<Shark>();
if (AutoAllocationWeight)
{
@ -54,17 +60,20 @@ public class YardDevice : DeviceBase
{
if (_enable)
{
for (int i = 0; i < MeshRenderers.Count; i++)
{
MeshRenderers[i].material.EnableKeyword("_ENABLE");
}
//for (int i = 0; i < MeshRenderers.Count; i++)
//{
// MeshRenderers[i].material.EnableKeyword("_ENABLE");
//}
shark.StartShak();
}
else
{
for (int i = 0; i < MeshRenderers.Count; i++)
{
MeshRenderers[i].material.DisableKeyword("_ENABLE");
}
//for (int i = 0; i < MeshRenderers.Count; i++)
//{
// MeshRenderers[i].material.DisableKeyword("_ENABLE");
//}
shark.StopShak();
}
}

View File

@ -13,7 +13,22 @@ public class ApiManager : Singleton<ApiManager>
/// <summary>
/// 接口ip地址
/// </summary>
public string IpAddress = "";
public string IpAddress
{
get
{
if(!Application.isEditor)
{
//发布出来
return "http://" + CallForTest.instance.ServerIP + ":4000";
}
else
{
//编辑器运行
return "http://111.229.30.246:4000";
}
}
}
/// <summary>
/// 本地配置的Api字典
/// </summary>
@ -53,19 +68,20 @@ public class ApiManager : Singleton<ApiManager>
{
base.Awake();
var _ip_str_url = Path.Combine(Application.streamingAssetsPath, "configure.json");
StartCoroutine(RequestBase.Get(_ip_str_url, (_data, _error) =>
{
if (_error != null)
{
Debug.Log($"<color=#ff0000> {_error} </color>");
}
else
{
Debug.Log("读取配置文件完成");
IpAddress = JObject.Parse(_data)["ip"].ToString();
}
}));
//var _ip_str_url = Path.Combine(Application.streamingAssetsPath, "configure.json");
//StartCoroutine(RequestBase.Get(_ip_str_url, (_data, _error) =>
//{
// if (_error != null)
// {
// Debug.Log($"<color=#ff0000> {_error} </color>");
// }
// else
// {
// Debug.Log("读取配置文件完成");
// IpAddress = JObject.Parse(_data)["ip"].ToString();
// }
//}));
var _api_dic_url = Path.Combine(Application.streamingAssetsPath, "configure_api.json");
StartCoroutine(RequestBase.Get(_api_dic_url, (_data, _error) =>

View File

@ -61,7 +61,7 @@ Material:
- _Smoothness: 0
- _Strength: 0
m_Colors:
- _Color: {r: 0, g: 4, b: 0.4705882, a: 1}
- _Color: {r: 0, g: 0.0009765625, b: 0.00011871936, a: 1}
- _MainTexUV: {r: 0, g: 0, b: 0, a: 0}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}
m_BuildTextureStacks: []

View File

@ -21,21 +21,61 @@ Material:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Shader Graphs_ShaderGraph_OutLine
m_Shader: {fileID: -6465566751694194690, guid: ac77f135d70cb3349b34c80bb2f09b86,
type: 3}
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 2
m_LightmapFlags: 6
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
stringTagMap:
RenderType: Opaque
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, type: 3}
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: 2800000, guid: 81240d89f735df44e88dd1aebf98791a, type: 3}
m_Texture: {fileID: 2800000, guid: bac3a585490c1164faad38dab7267a80, 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}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
@ -52,12 +92,41 @@ Material:
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _ENABLE: 0
- _EnableOutLine: 0
- _EnvironmentReflections: 1
- _FresnelPower: 2
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueControl: 0
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Strength: 0
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _Color: {r: 0, g: 4, b: 0.4705882, a: 1}
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}
m_BuildTextureStacks: []

View File

@ -1,3 +0,0 @@
{
"ip": "http://111.229.30.246:30014"
}