修改流程

This commit is contained in:
何嘉峣 2025-03-24 10:08:15 +08:00
parent 9e5fa8b6df
commit 8b176be50b
62 changed files with 1722 additions and 128 deletions

View File

@ -18,8 +18,12 @@ public class FFmpegTest : MonoBehaviour
} }
void Start() void Start()
{ {
//string liveUrl = "rtsp://" + cameraInfo.Username + ":" + cameraInfo.Password + "@" + cameraInfo.IP + ":8200/cam/realmonitor?channel=19&subtype=0&proto=Private3"; string liveUrl = "rtsp://" + cameraInfo.Username + ":" + cameraInfo.Password + "@" + cameraInfo.IP + ":8200/cam/realmonitor?channel=19&subtype=0&proto=Private3";
string liveUrl = "rtsp://admin:pyss2017@221.214.127.18:8200/cam/realmonitor?channel=19&subtype=0&proto=Private3"; cameraInfo.Username = "admin";
cameraInfo.Password = "Hik12345+";
cameraInfo.IP = "172.16.1.143";
//string liveUrl = "rtsp://" + cameraInfo.Username + ":" + cameraInfo.Password + "@" + cameraInfo.IP + ":554/Streaming/Channels/201";
//string liveUrl = "rtsp://admin:Hik12345+@172.16.1.143:554/Streaming/Channels/201";
OnLoadVideo(liveUrl); OnLoadVideo(liveUrl);
} }
private void OnLoadVideo(string url) private void OnLoadVideo(string url)

View File

@ -0,0 +1,80 @@
%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: "BYD\u5B8BPro\u7EBF\u68464 2"
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
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: 1, g: 0.9669811, b: 0.9669811, a: 1}
- _EmissionColor: {r: 1024, g: 991.8745, b: 0, a: 1}
m_BuildTextureStacks: []

View File

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

View File

@ -15,7 +15,7 @@ Material:
m_LightmapFlags: 4 m_LightmapFlags: 4
m_EnableInstancingVariants: 0 m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0 m_DoubleSidedGI: 0
m_CustomRenderQueue: 3005 m_CustomRenderQueue: 3001
stringTagMap: stringTagMap:
RenderType: Transparent RenderType: Transparent
disabledShaderPasses: [] disabledShaderPasses: []
@ -77,6 +77,6 @@ Material:
- _UVSec: 0 - _UVSec: 0
- _ZWrite: 0 - _ZWrite: 0
m_Colors: m_Colors:
- _Color: {r: 0.3019607, g: 0.5215685, b: 0.69803923, a: 0} - _Color: {r: 0.3019606, g: 0.5215685, b: 0.69803923, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: [] m_BuildTextureStacks: []

View File

@ -15,7 +15,7 @@ Material:
m_LightmapFlags: 4 m_LightmapFlags: 4
m_EnableInstancingVariants: 0 m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0 m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001 m_CustomRenderQueue: 3000
stringTagMap: stringTagMap:
RenderType: Transparent RenderType: Transparent
disabledShaderPasses: [] disabledShaderPasses: []
@ -77,6 +77,6 @@ Material:
- _UVSec: 0 - _UVSec: 0
- _ZWrite: 0 - _ZWrite: 0
m_Colors: m_Colors:
- _Color: {r: 0.22745094, g: 0.22745094, b: 0.22745094, a: 0} - _Color: {r: 0.22745088, g: 0.22745088, b: 0.22745088, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: [] m_BuildTextureStacks: []

View File

@ -77,6 +77,6 @@ Material:
- _UVSec: 0 - _UVSec: 0
- _ZWrite: 0 - _ZWrite: 0
m_Colors: m_Colors:
- _Color: {r: 0.11764703, g: 0.11764703, b: 0.11764703, a: 0} - _Color: {r: 0.117646955, g: 0.117646955, b: 0.117646955, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: [] m_BuildTextureStacks: []

View File

@ -34,7 +34,7 @@ Material:
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _Texturemask: - _Texturemask:
m_Texture: {fileID: 0} m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1} m_Scale: {x: 0, y: 0}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _Texturemask1: - _Texturemask1:
m_Texture: {fileID: 2800000, guid: 44efd0011d6a9bc4fb0b3a82753dac4e, type: 3} m_Texture: {fileID: 2800000, guid: 44efd0011d6a9bc4fb0b3a82753dac4e, type: 3}

View File

@ -25,7 +25,7 @@ Material:
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _TextureSample1: - _TextureSample1:
m_Texture: {fileID: 2800000, guid: 03b20ba704dec374e84e469e312a6e1b, type: 3} m_Texture: {fileID: 2800000, guid: 70a63179110046b468ad5aabecdd0221, type: 3}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _TextureSample2: - _TextureSample2:
@ -34,7 +34,7 @@ Material:
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _Texturemask: - _Texturemask:
m_Texture: {fileID: 0} m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1} m_Scale: {x: 0, y: 0}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _Texturemask1: - _Texturemask1:
m_Texture: {fileID: 2800000, guid: 44efd0011d6a9bc4fb0b3a82753dac4e, type: 3} m_Texture: {fileID: 2800000, guid: 44efd0011d6a9bc4fb0b3a82753dac4e, type: 3}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@ -0,0 +1,111 @@
fileFormatVersion: 2
guid: 08a39bb6cff733047973f062912cd67b
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

View File

@ -0,0 +1,111 @@
fileFormatVersion: 2
guid: 70a63179110046b468ad5aabecdd0221
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
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

@ -25,7 +25,7 @@ Material:
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _TextureSample1: - _TextureSample1:
m_Texture: {fileID: 2800000, guid: 03b20ba704dec374e84e469e312a6e1b, type: 3} m_Texture: {fileID: 2800000, guid: 08a39bb6cff733047973f062912cd67b, type: 3}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _TextureSample2: - _TextureSample2:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: c009a8aa663422c47b8cf180e4260c8f
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: b1c6b3f7b2ea336479f2bd55a7b56198
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 3394d5b55809a3041a9720efedb9833d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 7d49c53fe7a20394a853f916efe557e9
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 127b2fb5a3d8892469bcb3f4f098932d
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: f4603fa101c32b24c9321167a96ff54b
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 1d1432530d36415469cbd489e4e3f720
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 21db575177e886044bcb1c3dc5476ba0
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: da1a89f1e6a2a834b98d0a99d09fd987
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 3bfed98f69d6e80468134a507debd41e
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 9fb1f475a59e96e458ef9bdb96bd5073
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 4a97d92b216e42c4ca3126ff2e4ce0c2
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 551e77f893b765941b0dc58c280ae57c
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,80 @@
%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: Color_D05 (Instance)
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
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.4472136
- _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: 0.7490196, b: 0, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

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

View File

@ -0,0 +1,80 @@
%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: Color_J02 (Instance)
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
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.4472136
- _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.30196062, g: 0.5215685, b: 0.69803923, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

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

View File

@ -0,0 +1,80 @@
%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: Color_M07 (Instance)
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
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.4472136
- _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.2274509, g: 0.2274509, b: 0.2274509, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

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

View File

@ -0,0 +1,80 @@
%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: Color_M08 (Instance)
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
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.4472136
- _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.117646985, g: 0.117646985, b: 0.117646985, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
m_BuildTextureStacks: []

View File

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

View File

@ -855,7 +855,7 @@ MonoBehaviour:
m_fontMaterials: [] m_fontMaterials: []
m_fontColor32: m_fontColor32:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4293777669
m_fontColor: {r: 0.019607844, g: 0.8509804, b: 0.92941177, a: 1} m_fontColor: {r: 0.019607844, g: 0.8509804, b: 0.92941177, a: 1}
m_enableVertexGradient: 0 m_enableVertexGradient: 0
m_colorMode: 3 m_colorMode: 3
@ -990,7 +990,7 @@ MonoBehaviour:
m_fontMaterials: [] m_fontMaterials: []
m_fontColor32: m_fontColor32:
serializedVersion: 2 serializedVersion: 2
rgba: 4294967295 rgba: 4293777669
m_fontColor: {r: 0.019607844, g: 0.8509804, b: 0.92941177, a: 1} m_fontColor: {r: 0.019607844, g: 0.8509804, b: 0.92941177, a: 1}
m_enableVertexGradient: 0 m_enableVertexGradient: 0
m_colorMode: 3 m_colorMode: 3
@ -1246,7 +1246,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 0.27450982}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -1400,6 +1400,7 @@ MonoBehaviour:
mediaPlayer4: {fileID: 7019923732807825193} mediaPlayer4: {fileID: 7019923732807825193}
mediaPlayerHW: {fileID: 7019923733199851177} mediaPlayerHW: {fileID: 7019923733199851177}
mediaPlayerZW: {fileID: 7019923733737558074} mediaPlayerZW: {fileID: 7019923733737558074}
webViewPrefabZW: {fileID: 114949863631919233}
--- !u!1 &5091667672139413992 --- !u!1 &5091667672139413992
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1465,7 +1466,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 0.27450982}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -1538,6 +1539,7 @@ RectTransform:
m_Children: m_Children:
- {fileID: 7019923733737558079} - {fileID: 7019923733737558079}
- {fileID: 1618858761} - {fileID: 1618858761}
- {fileID: 224179540791456951}
m_Father: {fileID: 3071825273538588491} m_Father: {fileID: 3071825273538588491}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -1567,7 +1569,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
m_Material: {fileID: 0} m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1} m_Color: {r: 1, g: 1, b: 1, a: 0.27450982}
m_RaycastTarget: 1 m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1 m_Maskable: 1
@ -1986,6 +1988,135 @@ RectTransform:
m_CorrespondingSourceObject: {fileID: 7019923733507936420, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} m_CorrespondingSourceObject: {fileID: 7019923733507936420, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
m_PrefabInstance: {fileID: 366067867} m_PrefabInstance: {fileID: 366067867}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1001 &503914913
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 2571498225186387187}
m_Modifications:
- target: {fileID: 1535822479614194, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_Name
value: CanvasWebViewPrefab
objectReference: {fileID: 0}
- target: {fileID: 1535822479614194, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_SizeDelta.x
value: 787.15
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_SizeDelta.y
value: 463.89
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalScale.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalScale.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalScale.z
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0.0006904602
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_AnchoredPosition.y
value: -0.17719
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
--- !u!114 &114949863631919233 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 114949863196309792, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
m_PrefabInstance: {fileID: 503914913}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 879d31ebe92b040cbb3ef97e98278140, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!224 &224179540791456951 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 224179541092979990, guid: 3e10f3b6a733e441c8352020cff2f1f6, type: 3}
m_PrefabInstance: {fileID: 503914913}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &624311889 --- !u!1001 &624311889
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1993,6 +2124,18 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 137097028423108035} m_TransformParent: {fileID: 137097028423108035}
m_Modifications: m_Modifications:
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_MinSize
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_FontSize
value: 15
objectReference: {fileID: 0}
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_Alignment
value: 4
objectReference: {fileID: 0}
- target: {fileID: 7019923733507936420, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} - target: {fileID: 7019923733507936420, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_Pivot.x propertyPath: m_Pivot.x
value: 0.5 value: 0.5
@ -2085,6 +2228,22 @@ PrefabInstance:
propertyPath: m_IsActive propertyPath: m_IsActive
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.x
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.y
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.z
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
--- !u!114 &7019923733995663088 stripped --- !u!114 &7019923733995663088 stripped
@ -2110,6 +2269,18 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 137097028423108035} m_TransformParent: {fileID: 137097028423108035}
m_Modifications: m_Modifications:
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_MinSize
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_FontSize
value: 15
objectReference: {fileID: 0}
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_Alignment
value: 4
objectReference: {fileID: 0}
- target: {fileID: 7019923733507936416, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} - target: {fileID: 7019923733507936416, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: url propertyPath: url
value: "D:\\Work\\UnityProjects\\FFmpegDemo\\Assets\\StreamingAssets\\360\u6444\u50CF\u5934_SMT\u8D34\u7247\u70B9\u4F4D.mp4" value: "D:\\Work\\UnityProjects\\FFmpegDemo\\Assets\\StreamingAssets\\360\u6444\u50CF\u5934_SMT\u8D34\u7247\u70B9\u4F4D.mp4"
@ -2234,6 +2405,22 @@ PrefabInstance:
propertyPath: m_IsActive propertyPath: m_IsActive
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.x
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.y
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.z
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
--- !u!224 &7019923734465098528 stripped --- !u!224 &7019923734465098528 stripped
@ -2401,6 +2588,18 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 137097028423108035} m_TransformParent: {fileID: 137097028423108035}
m_Modifications: m_Modifications:
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_MinSize
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_FontSize
value: 15
objectReference: {fileID: 0}
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_Alignment
value: 4
objectReference: {fileID: 0}
- target: {fileID: 7019923733507936416, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} - target: {fileID: 7019923733507936416, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: url propertyPath: url
value: "D:\\Work\\UnityProjects\\FFmpegDemo\\Assets\\StreamingAssets\\360\u6444\u50CF\u5934_SMT\u8D34\u7247\u70B9\u4F4D.mp4" value: "D:\\Work\\UnityProjects\\FFmpegDemo\\Assets\\StreamingAssets\\360\u6444\u50CF\u5934_SMT\u8D34\u7247\u70B9\u4F4D.mp4"
@ -2525,6 +2724,22 @@ PrefabInstance:
propertyPath: m_IsActive propertyPath: m_IsActive
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.x
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.y
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.z
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
--- !u!114 &7019923732621098976 stripped --- !u!114 &7019923732621098976 stripped
@ -2550,6 +2765,18 @@ PrefabInstance:
m_Modification: m_Modification:
m_TransformParent: {fileID: 137097028423108035} m_TransformParent: {fileID: 137097028423108035}
m_Modifications: m_Modifications:
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_MinSize
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_FontSize
value: 15
objectReference: {fileID: 0}
- target: {fileID: 7019923732568046583, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_FontData.m_Alignment
value: 4
objectReference: {fileID: 0}
- target: {fileID: 7019923733507936416, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} - target: {fileID: 7019923733507936416, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: url propertyPath: url
value: "D:\\Work\\UnityProjects\\FFmpegDemo\\Assets\\StreamingAssets\\360\u6444\u50CF\u5934_SMT\u8D34\u7247\u70B9\u4F4D.mp4" value: "D:\\Work\\UnityProjects\\FFmpegDemo\\Assets\\StreamingAssets\\360\u6444\u50CF\u5934_SMT\u8D34\u7247\u70B9\u4F4D.mp4"
@ -2674,6 +2901,22 @@ PrefabInstance:
propertyPath: m_IsActive propertyPath: m_IsActive
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.x
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.y
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_LocalScale.z
value: 0.3
objectReference: {fileID: 0}
- target: {fileID: 7019923734445129623, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3} m_SourcePrefab: {fileID: 100100000, guid: 29abca0a5de62fd46a97aa1e8df9be5d, type: 3}
--- !u!114 &7019923732807825193 stripped --- !u!114 &7019923732807825193 stripped

View File

@ -903,6 +903,83 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: a91785af13cf8b64aa24c612c66c301e, type: 3} m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: a91785af13cf8b64aa24c612c66c301e, type: 3}
m_PrefabInstance: {fileID: 587310923} m_PrefabInstance: {fileID: 587310923}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1001 &651050087
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1534807135}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalPosition.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 6654d1b3c5499aa4a94e74059d55812a, type: 2}
- target: {fileID: -7511558181221131132, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_Materials.Array.data[1]
value:
objectReference: {fileID: 2100000, guid: acebe5f8cabc86d488fa7ac113007433, type: 2}
- target: {fileID: -7511558181221131132, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_Materials.Array.data[2]
value:
objectReference: {fileID: 2100000, guid: 09794f2834fe23c4b9780c8eb1a59294, type: 2}
- target: {fileID: -7511558181221131132, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_Materials.Array.data[3]
value:
objectReference: {fileID: 2100000, guid: 88866369079fa094d89aa6b12c351ad0, type: 2}
- target: {fileID: 919132149155446097, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_Name
value: chongdiantou
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: bb52de7116b7eac49b68b635d420e9d7, type: 3}
--- !u!1 &705507993 --- !u!1 &705507993
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2798,11 +2875,11 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 2845195045386376595, guid: a9608ab9ede3ca145b7d5651df1fa2f2, type: 3} - target: {fileID: 2845195045386376595, guid: a9608ab9ede3ca145b7d5651df1fa2f2, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: 0.006104622 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 2845195045386376595, guid: a9608ab9ede3ca145b7d5651df1fa2f2, type: 3} - target: {fileID: 2845195045386376595, guid: a9608ab9ede3ca145b7d5651df1fa2f2, type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0.007204145 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 2845195045386376595, guid: a9608ab9ede3ca145b7d5651df1fa2f2, type: 3} - target: {fileID: 2845195045386376595, guid: a9608ab9ede3ca145b7d5651df1fa2f2, type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
@ -3172,6 +3249,10 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -2026623702610460465, guid: 9f44edfd126fdf14c8e9feb0062b9dc6, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
- target: {fileID: -1795344466988573331, guid: 9f44edfd126fdf14c8e9feb0062b9dc6, type: 3} - target: {fileID: -1795344466988573331, guid: 9f44edfd126fdf14c8e9feb0062b9dc6, type: 3}
propertyPath: m_LocalRotation.w propertyPath: m_LocalRotation.w
value: 1 value: 1
@ -3180,6 +3261,10 @@ PrefabInstance:
propertyPath: m_Materials.Array.data[0] propertyPath: m_Materials.Array.data[0]
value: value:
objectReference: {fileID: 2100000, guid: aeaf6e3e9d53c554ca3f9db65a7b64be, type: 2} objectReference: {fileID: 2100000, guid: aeaf6e3e9d53c554ca3f9db65a7b64be, type: 2}
- target: {fileID: -224615744811500574, guid: 9f44edfd126fdf14c8e9feb0062b9dc6, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 9f44edfd126fdf14c8e9feb0062b9dc6, type: 3} - target: {fileID: 919132149155446097, guid: 9f44edfd126fdf14c8e9feb0062b9dc6, type: 3}
propertyPath: m_Name propertyPath: m_Name
value: "BYD\u5B8BPro\u5145\u7535\u53E3" value: "BYD\u5B8BPro\u5145\u7535\u53E3"

View File

@ -12,7 +12,7 @@ public class CarControl : MonoBehaviour
if (Bootstrap.Instance != null) if (Bootstrap.Instance != null)
{ {
Bootstrap.Instance.eventCenter.AddEventListener(Enum_EventType.ChangeCarSwitch, ChangeCarSwitch); Bootstrap.Instance.eventCenter.AddEventListener(Enum_EventType.ChangeCarSwitch, ChangeCarSwitch);
Bootstrap.Instance.eventCenter.AddEventListener(Enum_EventType.CanRotate, ChangeCarSwitch); Bootstrap.Instance.eventCenter.AddEventListener(Enum_EventType.CanRotate, CanRotate);
} }
} }
@ -30,7 +30,7 @@ public class CarControl : MonoBehaviour
if (testcar == null) return; if (testcar == null) return;
await Task.Delay(2000); await Task.Delay(2000);
float a = 4f; float a = 4f;
while (a <= 11) while (a <= 9)
{ {
a += 0.1f; a += 0.1f;
for (int i = 0; i < testcar.GetComponentsInChildren<MeshRenderer>().Length; i++) for (int i = 0; i < testcar.GetComponentsInChildren<MeshRenderer>().Length; i++)
@ -62,7 +62,7 @@ public class CarControl : MonoBehaviour
if (Bootstrap.Instance != null) if (Bootstrap.Instance != null)
{ {
Bootstrap.Instance.eventCenter.RemoveEventListener(Enum_EventType.ChangeCarSwitch, ChangeCarSwitch); Bootstrap.Instance.eventCenter.RemoveEventListener(Enum_EventType.ChangeCarSwitch, ChangeCarSwitch);
Bootstrap.Instance.eventCenter.RemoveEventListener(Enum_EventType.CanRotate, ChangeCarSwitch); Bootstrap.Instance.eventCenter.RemoveEventListener(Enum_EventType.CanRotate, CanRotate);
} }
} }
} }

View File

@ -4,12 +4,12 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using UnityEngine; using UnityEngine;
public class ChangeObjMat : MonoBehaviour public class ChangeObjMat : MonoBehaviour
{ {
public Material m_TM; public Material m_TM;
public List<MeshRenderer> m_RendererList; public List<MeshRenderer> m_RendererList;
private List<List<Material>> m_RecordRendererList = new List<List<Material>>(); private List<List<Material>> m_RecordRendererList = new List<List<Material>>();
#region
/// <summary> /// <summary>
/// 车辆物体 /// 车辆物体
/// </summary> /// </summary>
@ -66,7 +66,9 @@ public class ChangeObjMat : MonoBehaviour
/// 充电枪 /// 充电枪
/// </summary> /// </summary>
public GameObject m_gunObj; public GameObject m_gunObj;
#endregion
private bool isPlay;
private Config config = new Config();
void Start() void Start()
{ {
m_RendererList = GetComponentsInChildren<MeshRenderer>().ToList(); m_RendererList = GetComponentsInChildren<MeshRenderer>().ToList();
@ -75,10 +77,28 @@ public class ChangeObjMat : MonoBehaviour
{ {
m_RecordRendererList.Add(m_RendererList[i].materials.ToList()); m_RecordRendererList.Add(m_RendererList[i].materials.ToList());
} }
if (Bootstrap.Instance != null) Bootstrap.Instance.eventCenter.AddEventListener<bool>(Enum_EventType.ChangeChildrenMat, ChangeChildrenMat); if (Bootstrap.Instance != null)
if (Bootstrap.Instance != null) Bootstrap.Instance.eventCenter.AddEventListener(Enum_EventType.StepSwitching, StepSwitching); {
Bootstrap.Instance.eventCenter.AddEventListener<bool>(Enum_EventType.ChangeChildrenMat, ChangeChildrenMat);
Bootstrap.Instance.eventCenter.AddEventListener(Enum_EventType.StepSwitching, StepSwitching);
Bootstrap.Instance.eventCenter.AddEventListener(Enum_EventType.OnPlay, OnPlay);
}
ChangeChildrenMat(true); ChangeChildrenMat(true);
//StepSwitching(); config = Bootstrap.LoadData<Config>("DataConfig");
if (config.PlayBack.Contains("true"))
{
isPlay = false;
}
else
{
isPlay = true;
}
}
public void OnPlay()
{
isPlay = true;
} }
public void ChangeChildrenMat(bool Change) public void ChangeChildrenMat(bool Change)
{ {
@ -112,18 +132,189 @@ public class ChangeObjMat : MonoBehaviour
} }
public void StepSwitching() public void StepSwitching()
{ {
StartCoroutine(StepSwitchingCoroutine()); StartCoroutine(StepCoroutine());
} }
IEnumerator StepCoroutine()
{
Debug.Log("StepSwitching");
#region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"待检车辆已入场!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"待检车辆已入场");
});
yield return new WaitForSeconds(6);
#endregion
#region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"智能预检开始!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"智能预检开始");
});
m_XKObj.SetActive(true);
m_Obj.SetActive(false);
m_CPObj.SetActive(true);
yield return new WaitForSeconds(6);
m_CPObj.SetActive(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"检测到车牌号为" + GetawayMqttClient.licensePlateData.LicensePlateNumber + "!", 5);
});
WebViewController.Instance.CallGetButtonClickWithCode("车牌识别");
yield return new WaitForSeconds(6);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"智能预检已完成!", 0);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"智能预检已完成");
});
yield return new WaitForSeconds(3);
#endregion
#region
m_Highlight.SetHighlighted(true);
transform.parent.DOLocalRotate(new Vector3(-90, 0, -320), 5);
yield return new WaitForSeconds(5);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"车辆驶入检测区", 0);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"车辆驶入检测区");
});
Material[] tmpMat = m_gunObj.GetComponent<MeshRenderer>().materials;
for (int i = 0; i < tmpMat.Length; i++)
{
tmpMat[i].DOFade(1, 2);
}
yield return new WaitForSeconds(2);
m_gunObj.transform.GetChild(0).gameObject.SetActive(true);
yield return new WaitForSeconds(2);
m_gunObj.GetComponent<DOTweenAnimation>().DOPlayById("Gun");
yield return new WaitForSeconds(5);
m_Highlight.SetHighlighted(false);
for (int i = 0; i < m_effectObj.Length; i++)
{
m_effectObj[i].SetActive(true);
}
yield return new WaitForSeconds(2);
m_gunObj.transform.GetChild(0).gameObject.SetActive(false);
for (int i = 0; i < tmpMat.Length; i++)
{
tmpMat[i].DOFade(0, 3);
}
yield return new WaitForSeconds(3);
yield return new WaitUntil(() => isPlay == true);
//WebViewController.Instance.CallGetButtonClickWithCode("电池检测");
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.CanRotate);
yield return new WaitForSeconds(3);
#endregion
#region 360°
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"360°车体探伤开始!", 0);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"车体探伤开始");
});
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadCSVideo();
m_CSSMObj.SetActive(true);
yield return new WaitForSeconds(15);
m_CSSMObj.SetActive(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"360°车体探伤已完成!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"车体探伤已完成");
});
yield return new WaitForSeconds(6);
#endregion
#region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"电池健康度检测开始!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"电池健康检测开始");
WebViewController.Instance.CallGetButtonClickWithCode("电池检测");
});
m_HighlightEffect.SetHighlighted(true); m_DCJCObj.SetActive(true);
yield return new WaitForSeconds(6);
//m_HighlightEffect.SetHighlighted(false); m_DCJCObj.SetActive(false);
#endregion
#region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"底盘多光谱热失控探测开始!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"多光谱探测开始");
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadHWVideo();
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadZWVideo();
});
//m_HWSMObj.SetActive(true); m_ZWSMObj.SetActive(true); m_HighlightEffect.SetHighlighted(true);
m_HWSMObj.SetActive(true); m_ZWSMObj.SetActive(true);
yield return new WaitForSeconds(6);
//m_HWSMObj.SetActive(false); m_ZWSMObj.SetActive(false); m_HighlightEffect.SetHighlighted(false);
#endregion
#region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"声纹异常振动检测开始!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"声纹检测开始");
WebViewController.Instance.CallGetButtonClickWithCode("声纹检测");
});
m_SWSMObj.SetActive(true); m_SWJCObj.SetActive(true);
yield return new WaitForSeconds(config.WaitingTime);
//m_SWJCObj.SetActive(false); m_SWSMObj.SetActive(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"电池健康检测已完成!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"电池健康检测已完成");
});
m_DCJCObj.SetActive(false);
yield return new WaitForSeconds(6);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"底盘多光谱热失控探测已完成!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"多光谱探测已完成");
});
m_HWSMObj.SetActive(false); m_ZWSMObj.SetActive(false);
yield return new WaitForSeconds(6);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"声纹异常振动检测已完成!", 5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"声纹检测已完成");
});
m_SWJCObj.SetActive(false); m_SWSMObj.SetActive(false);
yield return new WaitForSeconds(6);
#endregion
#region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"车辆安全检测已全部完成!", 0);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"车辆安全检测已全部完成");
WebViewController.Instance.CallGetButtonClickWithCode("二维码");
});
m_XKObj.SetActive(false); m_Obj.SetActive(true); m_HighlightEffect.SetHighlighted(false);
yield return new WaitForSeconds(5);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"检测报告已生成,请扫描屏幕右下角的二维码获取报告!", 0);
});
#endregion
}
IEnumerator StepSwitchingCoroutine() IEnumerator StepSwitchingCoroutine()
{ {
Debug.Log("StepSwitchingCoroutine"); Debug.Log("StepSwitchingCoroutine");
#region #region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"您的爱车已入场!", 3); p.Init($"您的爱车已入场!", 3);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"车辆入场"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"车辆入场");
}); });
yield return new WaitForSeconds(3); yield return new WaitForSeconds(3);
@ -137,7 +328,7 @@ public class ChangeObjMat : MonoBehaviour
m_CPObj.SetActive(false); m_CPObj.SetActive(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"检测到车牌号为" + GetawayMqttClient.licensePlateData.LicensePlateNumber + "", 5); p.Init($"检测到车牌号为" + GetawayMqttClient.licensePlateData.LicensePlateNumber + "!", 5);
}); });
WebViewController.Instance.CallGetButtonClickWithCode("车牌识别"); WebViewController.Instance.CallGetButtonClickWithCode("车牌识别");
yield return new WaitForSeconds(6); yield return new WaitForSeconds(6);
@ -149,7 +340,7 @@ public class ChangeObjMat : MonoBehaviour
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"插枪操作"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"插枪操作");
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"1.请插入充电枪!", 0); p.Init($"请插入充电枪!", 0);
}); });
Material[] tmpMat = m_gunObj.GetComponent<MeshRenderer>().materials; Material[] tmpMat = m_gunObj.GetComponent<MeshRenderer>().materials;
@ -159,36 +350,64 @@ public class ChangeObjMat : MonoBehaviour
} }
yield return new WaitForSeconds(2); yield return new WaitForSeconds(2);
m_gunObj.GetComponent<DOTweenAnimation>().DOPlayById("Gun"); m_gunObj.GetComponent<DOTweenAnimation>().DOPlayById("Gun");
yield return new WaitForSeconds(2); yield return new WaitForSeconds(5);
m_Highlight.SetHighlighted(false); m_Highlight.SetHighlighted(false);
m_gunObj.SetActive(false);
for (int i = 0; i < m_effectObj.Length; i++) for (int i = 0; i < m_effectObj.Length; i++)
{ {
m_effectObj[i].SetActive(true); m_effectObj[i].SetActive(true);
} }
yield return new WaitForSeconds(3); yield return new WaitForSeconds(2);
for (int i = 0; i < tmpMat.Length; i++) for (int i = 0; i < tmpMat.Length; i++)
{ {
tmpMat[i].DOFade(0, 2); tmpMat[i].DOFade(0, 3);
} }
yield return new WaitForSeconds(3);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"一键检测"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"一键检测");
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"2.您的爱车现已进行充电检测,请进行一键检测操作并在大屏幕上查看检测情况", 5); p.Init($"您的爱车现已进行充电检测,请进行一键检测操作并在大屏幕上查看检测情况!", 0);
}); });
yield return new WaitUntil(() => Input.GetKeyDown(KeyCode.Space)); yield return new WaitUntil(() => isPlay == true);
yield return new WaitForSeconds(5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.CanRotate); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.CanRotate);
#endregion #endregion
#region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"现在进入车身外观检测环节:深度检测已开始!", 5);
});
yield return new WaitForSeconds(5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"车身外观检测");
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"车身外观检测开始!", 3);
});
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadCSVideo();
yield return new WaitForSeconds(3);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"您的爱车正在进行车辆外观检测...", 10);
});
m_CSSMObj.SetActive(true);
yield return new WaitForSeconds(11);
m_CSSMObj.SetActive(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"车外观检测已完成!", 5);
});
yield return new WaitForSeconds(6);
#endregion
#region #region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"均衡一体机检测准备1.电池检测已开始!", 5); p.Init($"均衡一体机检测准备:电池检测已开始!", 5);
}); });
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"电池检测"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"电池检测");
yield return new WaitForSeconds(5); yield return new WaitForSeconds(5);
WebViewController.Instance.CallGetButtonClickWithCode("电池检测");
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"2.您的爱车正进行电池检测...", 10); p.Init($"您的爱车正进行电池检测...", 10);
}); });
m_HighlightEffect.SetHighlighted(true); m_HighlightEffect.SetHighlighted(true);
m_DCJCObj.SetActive(true);//// m_DCJCObj.SetActive(true);////
@ -197,47 +416,21 @@ public class ChangeObjMat : MonoBehaviour
m_HighlightEffect.SetHighlighted(false); m_HighlightEffect.SetHighlighted(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"3.电池检测已完成!", 3); p.Init($"电池检测已完成!", 3);
}); });
yield return new WaitForSeconds(4); yield return new WaitForSeconds(4);
#endregion #endregion
#region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"现在进入车身外观检测环节1.深度检测已开始!", 5);
});
yield return new WaitForSeconds(5);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"车身外观检测");
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"2.车外观检测开始!", 3);
});
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadCSVideo();
yield return new WaitForSeconds(3);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"3.您的爱车正进行车外观检测...", 10);
});
m_CSSMObj.SetActive(true);
yield return new WaitForSeconds(11);
m_CSSMObj.SetActive(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{
p.Init($"车外观检测已完成!", 5);
});
yield return new WaitForSeconds(6);
#endregion
#region #region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"车辆即将进行红外实时探测:1.红外检测已开始!", 3); p.Init($"车辆即将进行红外实时探测:红外检测已开始!", 3);
}); });
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"红外实时探测"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"红外实时探测");
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadHWVideo(); if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadHWVideo();
yield return new WaitForSeconds(3); yield return new WaitForSeconds(3);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"2.您的爱车正进行红外检测...", 10); p.Init($"您的爱车正进行红外检测...", 10);
}); });
m_HighlightEffect.SetHighlighted(true); m_HighlightEffect.SetHighlighted(true);
m_HWSMObj.SetActive(true);//// m_HWSMObj.SetActive(true);////
@ -246,21 +439,21 @@ public class ChangeObjMat : MonoBehaviour
m_HighlightEffect.SetHighlighted(false); m_HighlightEffect.SetHighlighted(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"3.红外检测已完成!", 5); p.Init($"红外检测已完成!", 5);
}); });
yield return new WaitForSeconds(6); yield return new WaitForSeconds(6);
#endregion #endregion
#region #region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"车辆即将进行紫外实时探测:1.紫外检测已开始!", 3); p.Init($"车辆即将进行紫外实时探测:紫外检测已开始!", 3);
}); });
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadZWVideo(); if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.GetPanel<UI_BGPanel>().OnLoadZWVideo();
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"紫外实时探测"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"紫外实时探测");
yield return new WaitForSeconds(3); yield return new WaitForSeconds(3);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"2.您的爱车正进行紫外检测...", 10); p.Init($"您的爱车正进行紫外检测...", 10);
}); });
m_HighlightEffect.SetHighlighted(true); m_HighlightEffect.SetHighlighted(true);
m_ZWSMObj.SetActive(true);//// m_ZWSMObj.SetActive(true);////
@ -269,20 +462,21 @@ public class ChangeObjMat : MonoBehaviour
m_HighlightEffect.SetHighlighted(false); m_HighlightEffect.SetHighlighted(false);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"3.紫外检测已完成!", 5); p.Init($"紫外检测已完成!", 5);
}); });
yield return new WaitForSeconds(6); yield return new WaitForSeconds(6);
#endregion #endregion
#region #region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"车辆进行声纹检测:1.声纹检测已开始!", 3); p.Init($"车辆进行声纹检测:声纹检测已开始!", 3);
}); });
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"声纹检测"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"声纹检测");
yield return new WaitForSeconds(3); yield return new WaitForSeconds(3);
WebViewController.Instance.CallGetButtonClickWithCode("声纹检测");
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"2.您的爱车正进行声纹检测...", 10); p.Init($"您的爱车正进行声纹检测...", 10);
}); });
m_SWSMObj.SetActive(true);//// m_SWSMObj.SetActive(true);////
m_SWJCObj.SetActive(true);//// m_SWJCObj.SetActive(true);////
@ -291,48 +485,48 @@ public class ChangeObjMat : MonoBehaviour
m_SWSMObj.SetActive(false);//// m_SWSMObj.SetActive(false);////
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"3.声纹观检测已完成!", 5); p.Init($"声纹观检测已完成!", 5);
}); });
yield return new WaitForSeconds(6); yield return new WaitForSeconds(6);
#endregion #endregion
#region #region
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"4.深度检测已完成!", 5); p.Init($"深度检测已完成!", 5);
}); });
yield return new WaitForSeconds(6); yield return new WaitForSeconds(6);
if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"5.深度检测报告已生成,请扫描屏幕右下角的二维码获取", 30); p.Init($"深度检测报告已生成,请扫描屏幕右下角的二维码获取!", 0);
}); });
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"电池诊所检测全流程已完成"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"电池诊所检测全流程已完成");
m_XKObj.SetActive(false); m_XKObj.SetActive(false);
m_Obj.SetActive(true); m_Obj.SetActive(true);
WebViewController.Instance.CallGetButtonClickWithCode("二维码"); WebViewController.Instance.CallGetButtonClickWithCode("二维码");
//UI_BGPanel.btn_h51.gameObject.SetActive(true); //UI_BGPanel.btn_h5gameObject.SetActive(true);
yield return new WaitForSeconds(31); yield return new WaitForSeconds(31);
#endregion #endregion
#region #region
/* if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => /* if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"您已预约电池均衡操作,请稍等...", 30); p.Init($"您已预约电池均衡操作,请稍等...", 30);
}); });
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"预约均衡"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"预约均衡");
m_HighlightEffect.SetHighlighted(true); m_HighlightEffect.SetHighlighted(true);
m_JHJCObj.SetActive(true); m_JHJCObj.SetActive(true);
yield return new WaitForSeconds(31); yield return new WaitForSeconds(31);
m_JHJCObj.SetActive(false); m_JHJCObj.SetActive(false);
m_HighlightEffect.SetHighlighted(false);*/ m_HighlightEffect.SetHighlighted(false);*/
#endregion #endregion
#region #region
/* if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) => /* if (Bootstrap.UIMgr != null) Bootstrap.UIMgr.ShowPanel<UI_MiddleTipPanel>(this, E_UI_Layer.Top, (p) =>
{ {
p.Init($"电池均衡操作已完成,请扫描屏幕右下角的二维码获取\n均衡报告!感谢您的支持和配合,祝您一路平安!", 0); p.Init($"电池均衡操作已完成,请扫描屏幕右下角的二维码获取\n均衡报告!感谢您的支持和配合,祝您一路平安!", 0);
}); });
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"电池诊所检测及均衡全流程已完成"); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.AudioPlay, $"电池诊所检测及均衡全流程已完成");
m_XKObj.SetActive(false); m_XKObj.SetActive(false);
m_Obj.SetActive(true); m_Obj.SetActive(true);
//UI_BGPanel.btn_h52.gameObject.SetActive(true);*/ //UI_BGPanel.btn_h5gameObject.SetActive(true);*/
#endregion #endregion
} }
private void OnDisable() private void OnDisable()
@ -341,6 +535,7 @@ public class ChangeObjMat : MonoBehaviour
{ {
Bootstrap.Instance.eventCenter.RemoveEventListener<bool>(Enum_EventType.ChangeChildrenMat, ChangeChildrenMat); Bootstrap.Instance.eventCenter.RemoveEventListener<bool>(Enum_EventType.ChangeChildrenMat, ChangeChildrenMat);
Bootstrap.Instance.eventCenter.RemoveEventListener(Enum_EventType.StepSwitching, StepSwitching); Bootstrap.Instance.eventCenter.RemoveEventListener(Enum_EventType.StepSwitching, StepSwitching);
Bootstrap.Instance.eventCenter.RemoveEventListener(Enum_EventType.OnPlay, OnPlay);
} }
} }
} }

View File

@ -17,6 +17,7 @@ public class GetawayMqttClient : MonoBehaviour
private MQTTInitData mqttInitData; private MQTTInitData mqttInitData;
private Queue<string> reciveDatas = new Queue<string>(); private Queue<string> reciveDatas = new Queue<string>();
public static LicensePlateData licensePlateData = new LicensePlateData(); public static LicensePlateData licensePlateData = new LicensePlateData();
public PlayData playData =new PlayData();
async void Start() async void Start()
{ {
//这里先创建一个客户端对象,但是没进行配置 //这里先创建一个客户端对象,但是没进行配置
@ -57,7 +58,7 @@ public class GetawayMqttClient : MonoBehaviour
.Build();//最终构建订阅topic .Build();//最终构建订阅topic
await mqttClient.SubscribeAsync(topicFilter);//订阅该主题,接收通过该主题转发的消息 await mqttClient.SubscribeAsync(topicFilter);//订阅该主题,接收通过该主题转发的消息
string topic1 = "test";//一般参照你的连接协议 string topic1 = "PlayBack";//一般参照你的连接协议
var topicFilter1 = new MqttTopicFilterBuilder()//主题构建对象构建一个主题对象 var topicFilter1 = new MqttTopicFilterBuilder()//主题构建对象构建一个主题对象
.WithTopic(topic1) .WithTopic(topic1)
.WithQualityOfServiceLevel(MQTTnet.Protocol.MqttQualityOfServiceLevel.ExactlyOnce) .WithQualityOfServiceLevel(MQTTnet.Protocol.MqttQualityOfServiceLevel.ExactlyOnce)
@ -89,18 +90,35 @@ public class GetawayMqttClient : MonoBehaviour
{ {
string data = reciveDatas.Dequeue(); string data = reciveDatas.Dequeue();
Debug.Log(data); Debug.Log(data);
licensePlateData = JsonConvert.DeserializeObject<LicensePlateData>(data); if (data.Contains("LicensePlateNumber"))
switch (licensePlateData.VehicleBrand)
{ {
case "比亚迪": licensePlateData = JsonConvert.DeserializeObject<LicensePlateData>(data);
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.ChangeCarSwitch); switch (licensePlateData.VehicleBrand)
break; {
case "BYD宋": case "比亚迪":
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.ChangeCarSwitch); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.ChangeCarSwitch);
break; break;
default: case "BYD宋":
break; Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.ChangeCarSwitch);
break;
default:
break;
}
}
if (data.Contains("PlayBack"))
{
playData = JsonConvert.DeserializeObject<PlayData>(data);
switch (playData.PlayBack)
{
case "开始播放":
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.OnPlay);
break;
case "关闭播放":
break;
default:
break;
}
} }
} }
} }
@ -174,3 +192,13 @@ public class LicensePlateData
[JsonProperty("vehicleModel")] [JsonProperty("vehicleModel")]
public string VehicleModel { get; set; } public string VehicleModel { get; set; }
} }
public class PlayData
{
/// <summary>
/// 车牌号
/// </summary>
[JsonProperty("playBack")]
public string PlayBack { get; set; }
}

View File

@ -1,8 +1,8 @@
using LitJson; using Newtonsoft.Json;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO;
using Unity.VisualScripting; using Unity.VisualScripting;
using Unity.VisualScripting.Antlr3.Runtime;
using UnityEngine; using UnityEngine;
using static InterfaceManager; using static InterfaceManager;
public class Bootstrap : SingletonMono<Bootstrap> public class Bootstrap : SingletonMono<Bootstrap>
@ -51,6 +51,24 @@ public class Bootstrap : SingletonMono<Bootstrap>
})); }));
} }
public static T LoadData<T>(string fileName)
{
var filePath = Path.Combine(Application.streamingAssetsPath, "StateTrendConfig", fileName)+".json";
if (File.Exists(filePath))
{
var jsonStr = File.ReadAllText(filePath);
Debug.Log("jsonStr:" + jsonStr);
return JsonConvert.DeserializeObject<T>(jsonStr);
}
else
{
Debug.LogError(fileName + ".json not found");
return default(T);
}
}
// Update is called once per frame // Update is called once per frame
void Update() void Update()
{ {

View File

@ -39,6 +39,7 @@ public static class InterfaceManager
{ {
//·¾¶ //·¾¶
string path = Application.streamingAssetsPath + "/" + fileName + ".json"; string path = Application.streamingAssetsPath + "/" + fileName + ".json";
Debug.Log(path);
if (!File.Exists(path)) if (!File.Exists(path))
{ {
path = Application.persistentDataPath + "/" + fileName + ".json"; path = Application.persistentDataPath + "/" + fileName + ".json";

View File

@ -96,6 +96,18 @@ public class WebViewController : MonoBehaviour
Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.ChangeCarSwitch); Bootstrap.Instance.eventCenter.EventTrigger(Enum_EventType.ChangeCarSwitch);
} }
if (Input.GetKey(KeyCode.LeftShift) && Input.GetKeyDown(KeyCode.Alpha2)) if (Input.GetKey(KeyCode.LeftShift) && Input.GetKeyDown(KeyCode.Alpha2))
{
CallGetButtonClickWithCode("¶þάÂë");
}
if (Input.GetKey(KeyCode.LeftShift) && Input.GetKeyDown(KeyCode.Alpha3))
{
CallGetButtonClickWithCode("³µÅÆÊ¶±ð");
}
if (Input.GetKey(KeyCode.LeftShift) && Input.GetKeyDown(KeyCode.Alpha4))
{
CallGetButtonClickWithCode("µç³Ø¼ì²â");
}
if (Input.GetKey(KeyCode.LeftShift) && Input.GetKeyDown(KeyCode.Alpha5))
{ {
CallGetButtonClickWithCode("ÉùÎÆ¼ì²â"); CallGetButtonClickWithCode("ÉùÎÆ¼ì²â");
} }

View File

@ -13,5 +13,6 @@ public enum Enum_EventType
ChangeCarSwitch, ChangeCarSwitch,
ChangeChildrenMat, ChangeChildrenMat,
StepSwitching, StepSwitching,
CanRotate CanRotate,
OnPlay
} }

View File

@ -1,18 +1,23 @@
using Hanatric.Unity.Video.FFmpegPlayer; using Hanatric.Unity.Video.FFmpegPlayer;
using Newtonsoft.Json; using Newtonsoft.Json;
using System.IO; using System.IO;
using TMPro;
using UnityEngine; using UnityEngine;
using UnityEngine.UI; using UnityEngine.UI;
using Vuplex.WebView;
using static UnityEngine.UIElements.UxmlAttributeDescription;
public class UI_BGPanel : BasePanel public class UI_BGPanel : BasePanel
{ {
[HideInInspector] [HideInInspector]
public Button btn_h51, btn_h52; public Button btn_h51, btn_h52;
TextMeshProUGUI text1, text2, text3;
public FFmpegPlayerBasicRawImage mediaPlayer1; public FFmpegPlayerBasicRawImage mediaPlayer1;
public FFmpegPlayerBasicRawImage mediaPlayer2; public FFmpegPlayerBasicRawImage mediaPlayer2;
public FFmpegPlayerBasicRawImage mediaPlayer3; public FFmpegPlayerBasicRawImage mediaPlayer3;
public FFmpegPlayerBasicRawImage mediaPlayer4; public FFmpegPlayerBasicRawImage mediaPlayer4;
public FFmpegPlayerBasicRawImage mediaPlayerHW; public FFmpegPlayerBasicRawImage mediaPlayerHW;
public FFmpegPlayerBasicRawImage mediaPlayerZW; public FFmpegPlayerBasicRawImage mediaPlayerZW;
public CanvasWebViewPrefab webViewPrefabZW;
private LiveUrlData liveUrlData; private LiveUrlData liveUrlData;
public RTSPUrlInfo rtspUrlInfo = new RTSPUrlInfo(); public RTSPUrlInfo rtspUrlInfo = new RTSPUrlInfo();
string liveurl1; string liveurl1;
@ -22,6 +27,9 @@ public class UI_BGPanel : BasePanel
FFmpegPlayerMono.Init(Application.streamingAssetsPath + "/FFmpegNativeLib"); FFmpegPlayerMono.Init(Application.streamingAssetsPath + "/FFmpegNativeLib");
btn_h51 = GetControl<Button>("btn_h51"); btn_h51 = GetControl<Button>("btn_h51");
btn_h52 = GetControl<Button>("btn_h52"); btn_h52 = GetControl<Button>("btn_h52");
text1 = GetControl<TextMeshProUGUI>("text1");
text2 = GetControl<TextMeshProUGUI>("text2");
text3 = GetControl<TextMeshProUGUI>("text3");
var filePath = Path.Combine(Application.streamingAssetsPath, "StateTrendConfig/LiveUrl.json"); var filePath = Path.Combine(Application.streamingAssetsPath, "StateTrendConfig/LiveUrl.json");
if (File.Exists(filePath)) if (File.Exists(filePath))
{ {
@ -55,6 +63,7 @@ public class UI_BGPanel : BasePanel
void Start() void Start()
{ {
//if (liveUrlData != null) OnLoadVideo(); //if (liveUrlData != null) OnLoadVideo();
//OnLoadZWVideo();
} }
private void OnLoadVideo() private void OnLoadVideo()
{ {
@ -152,52 +161,52 @@ public class UI_BGPanel : BasePanel
if (liveUrlData == null) return; if (liveUrlData == null) return;
if (liveUrlData.LiveUrl1.Contains("rtsp")) if (liveUrlData.LiveUrl1.Contains("rtsp"))
{ {
mediaPlayer1.gameObject.SetActive(true); mediaPlayer1.gameObject.SetActive(true); text1.gameObject.SetActive(false);
mediaPlayer1.UseTcp = true; mediaPlayer1.UseTcp = true;
mediaPlayer1.OpenPlayUrl(liveUrlData.LiveUrl1); mediaPlayer1.OpenPlayUrl(liveUrlData.LiveUrl1);
} }
else else
{ {
mediaPlayer1.gameObject.SetActive(true); mediaPlayer1.gameObject.SetActive(true); text1.gameObject.SetActive(false);
mediaPlayer1.UseTcp = true; mediaPlayer1.UseTcp = true;
mediaPlayer1.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrl1); mediaPlayer1.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrl1);
} }
if (liveUrlData.LiveUrl2.Contains("rtsp")) if (liveUrlData.LiveUrl2.Contains("rtsp"))
{ {
mediaPlayer2.gameObject.SetActive(true); mediaPlayer2.gameObject.SetActive(true); text1.gameObject.SetActive(false);
mediaPlayer2.UseTcp = true; mediaPlayer2.UseTcp = true;
mediaPlayer2.OpenPlayUrl(liveUrlData.LiveUrl2); mediaPlayer2.OpenPlayUrl(liveUrlData.LiveUrl2);
} }
else else
{ {
mediaPlayer2.gameObject.SetActive(true); mediaPlayer2.gameObject.SetActive(true); text1.gameObject.SetActive(false);
mediaPlayer2.UseTcp = true; mediaPlayer2.UseTcp = true;
mediaPlayer2.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrl2); mediaPlayer2.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrl2);
} }
if (liveUrlData.LiveUrl3.Contains("rtsp")) if (liveUrlData.LiveUrl3.Contains("rtsp"))
{ {
mediaPlayer3.gameObject.SetActive(true); mediaPlayer3.gameObject.SetActive(true); text1.gameObject.SetActive(false);
mediaPlayer3.UseTcp = true; mediaPlayer3.UseTcp = true;
mediaPlayer3.OpenPlayUrl(liveUrlData.LiveUrl3); mediaPlayer3.OpenPlayUrl(liveUrlData.LiveUrl3);
} }
else else
{ {
mediaPlayer3.gameObject.SetActive(true); mediaPlayer3.gameObject.SetActive(true); text1.gameObject.SetActive(false);
mediaPlayer3.UseTcp = true; mediaPlayer3.UseTcp = true;
mediaPlayer3.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrl3); mediaPlayer3.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrl3);
} }
if (liveUrlData.LiveUrl4.Contains("rtsp")) if (liveUrlData.LiveUrl4.Contains("rtsp"))
{ {
mediaPlayer4.gameObject.SetActive(true); mediaPlayer4.gameObject.SetActive(true); text1.gameObject.SetActive(false);
mediaPlayer4.UseTcp = true; mediaPlayer4.UseTcp = true;
mediaPlayer4.OpenPlayUrl(liveUrlData.LiveUrl4); mediaPlayer4.OpenPlayUrl(liveUrlData.LiveUrl4);
} }
else else
{ {
mediaPlayer4.gameObject.SetActive(true); mediaPlayer4.gameObject.SetActive(true); text1.gameObject.SetActive(false);
mediaPlayer4.UseTcp = true; mediaPlayer4.UseTcp = true;
mediaPlayer4.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrl4); mediaPlayer4.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrl4);
} }
@ -210,13 +219,13 @@ public class UI_BGPanel : BasePanel
if (liveUrlData == null) return; if (liveUrlData == null) return;
if (liveUrlData.LiveUrlHW.Contains("rtsp")) if (liveUrlData.LiveUrlHW.Contains("rtsp"))
{ {
mediaPlayerHW.gameObject.SetActive(true); mediaPlayerHW.gameObject.SetActive(true); text2.gameObject.SetActive(false);
mediaPlayerHW.UseTcp = true; mediaPlayerHW.UseTcp = true;
mediaPlayerHW.OpenPlayUrl(liveUrlData.LiveUrlHW); mediaPlayerHW.OpenPlayUrl(liveUrlData.LiveUrlHW);
} }
else else
{ {
mediaPlayerHW.gameObject.SetActive(true); mediaPlayerHW.gameObject.SetActive(true); text2.gameObject.SetActive(false);
mediaPlayerHW.UseTcp = true; mediaPlayerHW.UseTcp = true;
mediaPlayerHW.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrlHW); mediaPlayerHW.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrlHW);
} }
@ -229,16 +238,21 @@ public class UI_BGPanel : BasePanel
if (liveUrlData == null) return; if (liveUrlData == null) return;
if (liveUrlData.LiveUrlZW.Contains("rtsp")) if (liveUrlData.LiveUrlZW.Contains("rtsp"))
{ {
mediaPlayerZW.gameObject.SetActive(true); mediaPlayerZW.gameObject.SetActive(true); text3.gameObject.SetActive(false);
mediaPlayerZW.UseTcp = true; mediaPlayerZW.UseTcp = true;
mediaPlayerZW.OpenPlayUrl(liveUrlData.LiveUrlZW); mediaPlayerZW.OpenPlayUrl(liveUrlData.LiveUrlZW);
} }
else else if(liveUrlData.LiveUrlZW.Contains("mp4"))
{ {
mediaPlayerZW.gameObject.SetActive(true); mediaPlayerZW.gameObject.SetActive(true); text3.gameObject.SetActive(false);
mediaPlayerZW.UseTcp = true; mediaPlayerZW.UseTcp = true;
mediaPlayerZW.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrlZW); mediaPlayerZW.OpenPlayUrl(Application.streamingAssetsPath + liveUrlData.LiveUrlZW);
} }
else if (liveUrlData.LiveUrlZW.Contains("html"))
{
webViewPrefabZW.gameObject.SetActive(true); text3.gameObject.SetActive(false);
webViewPrefabZW.InitialUrl = liveUrlData.LiveUrlZW;
}
} }
} }
@ -281,3 +295,17 @@ public class RTSPUrlInfo
[JsonProperty("port")] [JsonProperty("port")]
public string Port { get; set; } public string Port { get; set; }
} }
public class Config
{
[JsonProperty("playBack")]
public string PlayBack { get; set; }
[JsonProperty("waitingTime")]
public int WaitingTime { get; set; }
[JsonProperty("dgpwaitingTime")]
public int DgpwaitingTime { get; set; }
[JsonProperty("swwaitingTime")]
public int SwwaitingTime { get; set; }
}

View File

@ -0,0 +1,6 @@
{
"playBack": "true",
"waitingTime": 90,
"dgpwaitingTime": 0,
"swwaitingTime": 0
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 372ece0ba2152994b95d390d41c54ef1
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,11 @@
DataConfig.json
playback 是否播放| true(需要mqtt发送)|flase(不需要mqtt发送)
waitingTime 等待时长|秒
LiveUrl.json 视频播放| liveUrl1-liveUrl4 车身外观 | liveUrHW 红外视频 | liveUrZW 紫外视频|
mqttConfig.json mqtt服务地址
WebUrl.json 网页地址| weburl

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 8ad02626c56e10c45b2b38ff4a38305c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: