add the 2nd screen functio
This commit is contained in:
parent
2867f06237
commit
6415d3318e
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7b6bff087ad36cf4abc12d5c6e47c7b5
|
||||
guid: e8201517d3f04c844a682ee9aa24adc9
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
8
Assets/Materials/The2ndScreen/Client.meta
Normal file
8
Assets/Materials/The2ndScreen/Client.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cd7f4755c4f6bb543befa9c82178cd80
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Client/信眾投影1.png
Normal file
BIN
Assets/Materials/The2ndScreen/Client/信眾投影1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
143
Assets/Materials/The2ndScreen/Client/信眾投影1.png.meta
Normal file
143
Assets/Materials/The2ndScreen/Client/信眾投影1.png.meta
Normal file
@ -0,0 +1,143 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4afe3cb4332646e47a1f47e7d71f44eb
|
||||
TextureImporter:
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 1956884272452131934
|
||||
second: "\u4FE1\u773E\u6295\u5F711_0"
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 2
|
||||
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: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: "\u4FE1\u773E\u6295\u5F711_0"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1920
|
||||
height: 1080
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: e5cde06b0ef382b10800000000000000
|
||||
internalID: 1956884272452131934
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable:
|
||||
"\u4FE1\u773E\u6295\u5F711_0": 1956884272452131934
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Client/信眾投影2.mp4
Normal file
BIN
Assets/Materials/The2ndScreen/Client/信眾投影2.mp4
Normal file
Binary file not shown.
18
Assets/Materials/The2ndScreen/Client/信眾投影2.mp4.meta
Normal file
18
Assets/Materials/The2ndScreen/Client/信眾投影2.mp4.meta
Normal file
@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2797e409184c87041b84568f00af603b
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
frameRange: 0
|
||||
startFrame: -1
|
||||
endFrame: -1
|
||||
colorSpace: 0
|
||||
deinterlace: 0
|
||||
encodeAlpha: 0
|
||||
flipVertical: 0
|
||||
flipHorizontal: 0
|
||||
importAudio: 1
|
||||
targetSettings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Client/信眾投影3.mp4
Normal file
BIN
Assets/Materials/The2ndScreen/Client/信眾投影3.mp4
Normal file
Binary file not shown.
18
Assets/Materials/The2ndScreen/Client/信眾投影3.mp4.meta
Normal file
18
Assets/Materials/The2ndScreen/Client/信眾投影3.mp4.meta
Normal file
@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 706fa8759459f9442b0e19a561d31219
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
frameRange: 0
|
||||
startFrame: -1
|
||||
endFrame: -1
|
||||
colorSpace: 0
|
||||
deinterlace: 0
|
||||
encodeAlpha: 0
|
||||
flipVertical: 0
|
||||
flipHorizontal: 0
|
||||
importAudio: 1
|
||||
targetSettings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Client/信眾投影4.mp4
Normal file
BIN
Assets/Materials/The2ndScreen/Client/信眾投影4.mp4
Normal file
Binary file not shown.
18
Assets/Materials/The2ndScreen/Client/信眾投影4.mp4.meta
Normal file
18
Assets/Materials/The2ndScreen/Client/信眾投影4.mp4.meta
Normal file
@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df850469d0e7cf64bba71ad2864ce934
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
frameRange: 0
|
||||
startFrame: -1
|
||||
endFrame: -1
|
||||
colorSpace: 0
|
||||
deinterlace: 0
|
||||
encodeAlpha: 0
|
||||
flipVertical: 0
|
||||
flipHorizontal: 0
|
||||
importAudio: 1
|
||||
targetSettings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Client/信眾投影5.mp4
Normal file
BIN
Assets/Materials/The2ndScreen/Client/信眾投影5.mp4
Normal file
Binary file not shown.
18
Assets/Materials/The2ndScreen/Client/信眾投影5.mp4.meta
Normal file
18
Assets/Materials/The2ndScreen/Client/信眾投影5.mp4.meta
Normal file
@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1ca881a0f82172b4bb610db403e76fc8
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
frameRange: 0
|
||||
startFrame: -1
|
||||
endFrame: -1
|
||||
colorSpace: 0
|
||||
deinterlace: 0
|
||||
encodeAlpha: 0
|
||||
flipVertical: 0
|
||||
flipHorizontal: 0
|
||||
importAudio: 1
|
||||
targetSettings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Client/信眾投影6.mp4
Normal file
BIN
Assets/Materials/The2ndScreen/Client/信眾投影6.mp4
Normal file
Binary file not shown.
18
Assets/Materials/The2ndScreen/Client/信眾投影6.mp4.meta
Normal file
18
Assets/Materials/The2ndScreen/Client/信眾投影6.mp4.meta
Normal file
@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 702a928f24e0be34c92e98d6db6458ce
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
frameRange: 0
|
||||
startFrame: -1
|
||||
endFrame: -1
|
||||
colorSpace: 0
|
||||
deinterlace: 0
|
||||
encodeAlpha: 0
|
||||
flipVertical: 0
|
||||
flipHorizontal: 0
|
||||
importAudio: 1
|
||||
targetSettings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
8
Assets/Materials/The2ndScreen/Server.meta
Normal file
8
Assets/Materials/The2ndScreen/Server.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 43006701479796f4886e89468f9f98fc
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Server/神明投影1.png
Normal file
BIN
Assets/Materials/The2ndScreen/Server/神明投影1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
143
Assets/Materials/The2ndScreen/Server/神明投影1.png.meta
Normal file
143
Assets/Materials/The2ndScreen/Server/神明投影1.png.meta
Normal file
@ -0,0 +1,143 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c0135a7ac5f6c6e4589ca10b472e009c
|
||||
TextureImporter:
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
213: 6783178031491415570
|
||||
second: "\u795E\u660E\u6295\u5F711_0"
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 2
|
||||
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: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites:
|
||||
- serializedVersion: 2
|
||||
name: "\u795E\u660E\u6295\u5F711_0"
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1920
|
||||
height: 1080
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
customData:
|
||||
outline: []
|
||||
physicsShape: []
|
||||
tessellationDetail: -1
|
||||
bones: []
|
||||
spriteID: 21e77471b70b22e50800000000000000
|
||||
internalID: 6783178031491415570
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable:
|
||||
"\u795E\u660E\u6295\u5F711_0": 6783178031491415570
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Server/神明投影2.mp4
Normal file
BIN
Assets/Materials/The2ndScreen/Server/神明投影2.mp4
Normal file
Binary file not shown.
18
Assets/Materials/The2ndScreen/Server/神明投影2.mp4.meta
Normal file
18
Assets/Materials/The2ndScreen/Server/神明投影2.mp4.meta
Normal file
@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e8b7d06953d6f85479b7e0162211326e
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
frameRange: 0
|
||||
startFrame: -1
|
||||
endFrame: -1
|
||||
colorSpace: 0
|
||||
deinterlace: 0
|
||||
encodeAlpha: 0
|
||||
flipVertical: 0
|
||||
flipHorizontal: 0
|
||||
importAudio: 1
|
||||
targetSettings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Server/神明投影3.mp4
Normal file
BIN
Assets/Materials/The2ndScreen/Server/神明投影3.mp4
Normal file
Binary file not shown.
18
Assets/Materials/The2ndScreen/Server/神明投影3.mp4.meta
Normal file
18
Assets/Materials/The2ndScreen/Server/神明投影3.mp4.meta
Normal file
@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9bc105ae415c9c64e9c27e66a4eb2c8e
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
frameRange: 0
|
||||
startFrame: -1
|
||||
endFrame: -1
|
||||
colorSpace: 0
|
||||
deinterlace: 0
|
||||
encodeAlpha: 0
|
||||
flipVertical: 0
|
||||
flipHorizontal: 0
|
||||
importAudio: 1
|
||||
targetSettings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Materials/The2ndScreen/Server/神明投影4.mp4
Normal file
BIN
Assets/Materials/The2ndScreen/Server/神明投影4.mp4
Normal file
Binary file not shown.
18
Assets/Materials/The2ndScreen/Server/神明投影4.mp4.meta
Normal file
18
Assets/Materials/The2ndScreen/Server/神明投影4.mp4.meta
Normal file
@ -0,0 +1,18 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 846bc6a096819e942812869b548c3056
|
||||
VideoClipImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 3
|
||||
frameRange: 0
|
||||
startFrame: -1
|
||||
endFrame: -1
|
||||
colorSpace: 0
|
||||
deinterlace: 0
|
||||
encodeAlpha: 0
|
||||
flipVertical: 0
|
||||
flipHorizontal: 0
|
||||
importAudio: 1
|
||||
targetSettings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -2109,7 +2109,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!224 &85247803
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -9171,7 +9171,7 @@ PrefabInstance:
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 1742061934084195943, guid: 8c3e8d5430f6ce145b97407a9411b8a2, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
value: 1
|
||||
value: 0
|
||||
objectReference: {fileID: 0}
|
||||
- target: {fileID: 2133268950409196476, guid: 8c3e8d5430f6ce145b97407a9411b8a2, type: 3}
|
||||
propertyPath: m_IsActive
|
||||
|
||||
8
Assets/Scenes/The2ndScreen.meta
Normal file
8
Assets/Scenes/The2ndScreen.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b078e04cd78fb38479fc08be45820266
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1692
Assets/Scenes/The2ndScreen/The2ndScreenClientScene.unity
Normal file
1692
Assets/Scenes/The2ndScreen/The2ndScreenClientScene.unity
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5b26ecc269ff1fa44a20e87806ce45bf
|
||||
guid: 376fb9d775415a94f82e2e8204be0774
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bd7e825467479534db25919a2a803f98
|
||||
guid: 434945ea89ad6784b82e671215df3b77
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
432
Assets/Scenes/The2ndScreen/The2ndScreenSampleScene.unity
Normal file
432
Assets/Scenes/The2ndScreen/The2ndScreenSampleScene.unity
Normal file
@ -0,0 +1,432 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!29 &1
|
||||
OcclusionCullingSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 2
|
||||
m_OcclusionBakeSettings:
|
||||
smallestOccluder: 5
|
||||
smallestHole: 0.25
|
||||
backfaceThreshold: 100
|
||||
m_SceneGUID: 00000000000000000000000000000000
|
||||
m_OcclusionCullingData: {fileID: 0}
|
||||
--- !u!104 &2
|
||||
RenderSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 10
|
||||
m_Fog: 0
|
||||
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_FogMode: 3
|
||||
m_FogDensity: 0.01
|
||||
m_LinearFogStart: 0
|
||||
m_LinearFogEnd: 300
|
||||
m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
|
||||
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
|
||||
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
|
||||
m_AmbientIntensity: 1
|
||||
m_AmbientMode: 3
|
||||
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
|
||||
m_SkyboxMaterial: {fileID: 0}
|
||||
m_HaloStrength: 0.5
|
||||
m_FlareStrength: 1
|
||||
m_FlareFadeSpeed: 3
|
||||
m_HaloTexture: {fileID: 0}
|
||||
m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_DefaultReflectionMode: 0
|
||||
m_DefaultReflectionResolution: 128
|
||||
m_ReflectionBounces: 1
|
||||
m_ReflectionIntensity: 1
|
||||
m_CustomReflection: {fileID: 0}
|
||||
m_Sun: {fileID: 0}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 13
|
||||
m_BakeOnSceneLoad: 0
|
||||
m_GISettings:
|
||||
serializedVersion: 2
|
||||
m_BounceScale: 1
|
||||
m_IndirectOutputScale: 1
|
||||
m_AlbedoBoost: 1
|
||||
m_EnvironmentLightingMode: 0
|
||||
m_EnableBakedLightmaps: 0
|
||||
m_EnableRealtimeLightmaps: 0
|
||||
m_LightmapEditorSettings:
|
||||
serializedVersion: 12
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 40
|
||||
m_AtlasSize: 1024
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 0
|
||||
m_ExtractAmbientOcclusion: 0
|
||||
m_Padding: 2
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_LightmapsBakeMode: 1
|
||||
m_TextureCompression: 1
|
||||
m_ReflectionCompression: 2
|
||||
m_MixedBakeMode: 2
|
||||
m_BakeBackend: 0
|
||||
m_PVRSampling: 1
|
||||
m_PVRDirectSampleCount: 32
|
||||
m_PVRSampleCount: 500
|
||||
m_PVRBounces: 2
|
||||
m_PVREnvironmentSampleCount: 500
|
||||
m_PVREnvironmentReferencePointCount: 2048
|
||||
m_PVRFilteringMode: 2
|
||||
m_PVRDenoiserTypeDirect: 0
|
||||
m_PVRDenoiserTypeIndirect: 0
|
||||
m_PVRDenoiserTypeAO: 0
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVREnvironmentMIS: 0
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ExportTrainingData: 0
|
||||
m_TrainingDataDestination: TrainingData
|
||||
m_LightProbeSampleCountMultiplier: 4
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_LightingSettings: {fileID: 0}
|
||||
--- !u!196 &4
|
||||
NavMeshSettings:
|
||||
serializedVersion: 2
|
||||
m_ObjectHideFlags: 0
|
||||
m_BuildSettings:
|
||||
serializedVersion: 3
|
||||
agentTypeID: 0
|
||||
agentRadius: 0.5
|
||||
agentHeight: 2
|
||||
agentSlope: 45
|
||||
agentClimb: 0.4
|
||||
ledgeDropHeight: 0
|
||||
maxJumpAcrossDistance: 0
|
||||
minRegionArea: 2
|
||||
manualCellSize: 0
|
||||
cellSize: 0.16666667
|
||||
manualTileSize: 0
|
||||
tileSize: 256
|
||||
buildHeightMesh: 0
|
||||
maxJobWorkers: 0
|
||||
preserveTilesOutsideBounds: 0
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &465984225
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 465984228}
|
||||
- component: {fileID: 465984227}
|
||||
- component: {fileID: 465984226}
|
||||
m_Layer: 0
|
||||
m_Name: EventSystem
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &465984226
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 465984225}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 01614664b831546d2ae94a42149d80ac, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: Unity.InputSystem::UnityEngine.InputSystem.UI.InputSystemUIInputModule
|
||||
m_SendPointerHoverToParent: 1
|
||||
m_MoveRepeatDelay: 0.5
|
||||
m_MoveRepeatRate: 0.1
|
||||
m_XRTrackingOrigin: {fileID: 0}
|
||||
m_ActionsAsset: {fileID: -944628639613478452, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_PointAction: {fileID: -1654692200621890270, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_MoveAction: {fileID: -8784545083839296357, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_SubmitAction: {fileID: 392368643174621059, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_CancelAction: {fileID: 7727032971491509709, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_LeftClickAction: {fileID: 3001919216989983466, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_MiddleClickAction: {fileID: -2185481485913320682, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_RightClickAction: {fileID: -4090225696740746782, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_ScrollWheelAction: {fileID: 6240969308177333660, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_TrackedDevicePositionAction: {fileID: 6564999863303420839, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_TrackedDeviceOrientationAction: {fileID: 7970375526676320489, guid: ca9f5fa95ffab41fb9a615ab714db018, type: 3}
|
||||
m_DeselectOnBackgroundClick: 1
|
||||
m_PointerBehavior: 0
|
||||
m_CursorLockBehavior: 0
|
||||
m_ScrollDeltaPerTick: 6
|
||||
--- !u!114 &465984227
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 465984225}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.EventSystems.EventSystem
|
||||
m_FirstSelected: {fileID: 0}
|
||||
m_sendNavigationEvents: 1
|
||||
m_DragThreshold: 10
|
||||
--- !u!4 &465984228
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 465984225}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &519420028
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 519420032}
|
||||
- component: {fileID: 519420031}
|
||||
- component: {fileID: 519420029}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!81 &519420029
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 519420028}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &519420031
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 519420028}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 2
|
||||
m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
|
||||
m_projectionMatrixMode: 1
|
||||
m_GateFitMode: 2
|
||||
m_FOVAxisMode: 0
|
||||
m_Iso: 200
|
||||
m_ShutterSpeed: 0.005
|
||||
m_Aperture: 16
|
||||
m_FocusDistance: 10
|
||||
m_FocalLength: 50
|
||||
m_BladeCount: 5
|
||||
m_Curvature: {x: 2, y: 11}
|
||||
m_BarrelClipping: 0.25
|
||||
m_Anamorphism: 0
|
||||
m_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: 0.3
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 1
|
||||
orthographic size: 5
|
||||
m_Depth: -1
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_TargetEye: 0
|
||||
m_HDR: 1
|
||||
m_AllowMSAA: 0
|
||||
m_AllowDynamicResolution: 0
|
||||
m_ForceIntoRT: 0
|
||||
m_OcclusionCulling: 0
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: 0.022
|
||||
--- !u!4 &519420032
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 519420028}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: -10}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &958487876
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 958487877}
|
||||
m_Layer: 0
|
||||
m_Name: SceneController
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &958487877
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 958487876}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 176.11893, y: 1048.543, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1321235252
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1321235256}
|
||||
- component: {fileID: 1321235255}
|
||||
- component: {fileID: 1321235254}
|
||||
- component: {fileID: 1321235253}
|
||||
m_Layer: 5
|
||||
m_Name: Canvas
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1321235253
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1321235252}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.GraphicRaycaster
|
||||
m_IgnoreReversedGraphics: 1
|
||||
m_BlockingObjects: 0
|
||||
m_BlockingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
--- !u!114 &1321235254
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1321235252}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.CanvasScaler
|
||||
m_UiScaleMode: 1
|
||||
m_ReferencePixelsPerUnit: 100
|
||||
m_ScaleFactor: 1
|
||||
m_ReferenceResolution: {x: 1920, y: 1080}
|
||||
m_ScreenMatchMode: 0
|
||||
m_MatchWidthOrHeight: 0
|
||||
m_PhysicalUnit: 3
|
||||
m_FallbackScreenDPI: 96
|
||||
m_DefaultSpriteDPI: 96
|
||||
m_DynamicPixelsPerUnit: 1
|
||||
m_PresetInfoIsWorld: 0
|
||||
--- !u!223 &1321235255
|
||||
Canvas:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1321235252}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 3
|
||||
m_RenderMode: 0
|
||||
m_Camera: {fileID: 0}
|
||||
m_PlaneDistance: 100
|
||||
m_PixelPerfect: 0
|
||||
m_ReceivesEvents: 1
|
||||
m_OverrideSorting: 0
|
||||
m_OverridePixelPerfect: 0
|
||||
m_SortingBucketNormalizedSize: 0
|
||||
m_VertexColorAlwaysGammaSpace: 0
|
||||
m_AdditionalShaderChannelsFlag: 25
|
||||
m_UpdateRectTransformForStandalone: 0
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
m_TargetDisplay: 0
|
||||
--- !u!224 &1321235256
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1321235252}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 0, y: 0, z: 0}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 0}
|
||||
--- !u!1660057539 &9223372036854775807
|
||||
SceneRoots:
|
||||
m_ObjectHideFlags: 0
|
||||
m_Roots:
|
||||
- {fileID: 519420032}
|
||||
- {fileID: 1321235256}
|
||||
- {fileID: 465984228}
|
||||
- {fileID: 958487877}
|
||||
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a399c0729cc6ef344b66a2c63f2065cb
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1422
Assets/Scenes/The2ndScreen/The2ndScreenServerScene.unity
Normal file
1422
Assets/Scenes/The2ndScreen/The2ndScreenServerScene.unity
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 10aef42a6db3b6c46b5d073709fc436a
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@ -1,4 +1,4 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.SceneManagement;
|
||||
using Mirror;
|
||||
@ -23,6 +23,11 @@ public class ClientHomeSceneController : MonoBehaviour
|
||||
SetupScene();
|
||||
//清除遊戲資料
|
||||
GlobalData.ResetGameData();
|
||||
if (ClientMessageHandler.Instance)
|
||||
{
|
||||
ClientMessageHandler.Instance.SendMessageToServer("The2ndScreenClient", "0");
|
||||
ClientMessageHandler.Instance.SendMessageToServer("The2ndScreenClient", "1");
|
||||
}
|
||||
}
|
||||
|
||||
void SetupScene()
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.SceneManagement;
|
||||
using Mirror;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
@ -66,6 +66,10 @@ public class ClientLastWordsSceneController : MonoBehaviour
|
||||
|
||||
private void wordsNextButton_onClick()
|
||||
{
|
||||
if (ClientMessageHandler.Instance)
|
||||
{
|
||||
ClientMessageHandler.Instance.SendMessageToServer("The2ndScreenClient", "6");
|
||||
}
|
||||
processStep(2);
|
||||
}
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
@ -113,11 +113,19 @@ public class ClientWorkMessageResultView2SceneController : MonoBehaviour
|
||||
|
||||
private void step2ExitButton_onClicked()
|
||||
{
|
||||
if (ClientMessageHandler.Instance)
|
||||
{
|
||||
ClientMessageHandler.Instance.SendMessageToServer("The2ndScreenClient", "4");
|
||||
}
|
||||
processStep(5);
|
||||
}
|
||||
|
||||
private void step2NextButton_onClicked()
|
||||
{
|
||||
if (ClientMessageHandler.Instance)
|
||||
{
|
||||
ClientMessageHandler.Instance.SendMessageToServer("The2ndScreenClient", "5");
|
||||
}
|
||||
processStep(3);
|
||||
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using Newtonsoft.Json.Serialization;
|
||||
using Newtonsoft.Json.Serialization;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Linq;
|
||||
@ -34,6 +34,10 @@ public class ClientWorkSceneController : MonoBehaviour
|
||||
void Start()
|
||||
{
|
||||
SetupScene();
|
||||
if (ClientMessageHandler.Instance)
|
||||
{
|
||||
ClientMessageHandler.Instance.SendMessageToServer("The2ndScreenClient", "2");
|
||||
}
|
||||
}
|
||||
|
||||
void SetupScene()
|
||||
@ -125,6 +129,7 @@ public class ClientWorkSceneController : MonoBehaviour
|
||||
if (ClientMessageHandler.Instance != null)
|
||||
{
|
||||
ClientMessageHandler.Instance.SendMessageToServer("workMessage", payloadStr);
|
||||
ClientMessageHandler.Instance.SendMessageToServer("The2ndScreenClient", "3");
|
||||
StartCoroutine(LoadNextScene());
|
||||
}
|
||||
else
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
using Mirror;
|
||||
|
||||
public class NetworkGameManager : NetworkManager
|
||||
@ -35,6 +35,19 @@ public class NetworkGameManager : NetworkManager
|
||||
|
||||
public override void OnServerDisconnect(NetworkConnectionToClient conn)
|
||||
{
|
||||
if (NetworkMessageHandler.CurrentConn == conn)
|
||||
{
|
||||
NetworkMessageHandler.CurrentConn = null;
|
||||
} else
|
||||
if (NetworkMessageHandler.CurrentConn2ndScreen == conn)
|
||||
{
|
||||
NetworkMessageHandler.CurrentConn2ndScreen = null;
|
||||
} else
|
||||
if (NetworkMessageHandler.CurrentConn2ndScreenServer == conn)
|
||||
{
|
||||
NetworkMessageHandler.CurrentConn2ndScreenServer = null;
|
||||
}
|
||||
|
||||
base.OnServerDisconnect(conn);
|
||||
Debug.Log($"客戶端已斷開: {conn.connectionId}");
|
||||
}
|
||||
|
||||
@ -5,7 +5,9 @@ using Mirror;
|
||||
public class NetworkMessageHandler : MonoBehaviour
|
||||
{
|
||||
public static NetworkMessageHandler Instance;
|
||||
public static NetworkConnectionToClient CurrentConn;
|
||||
public static NetworkConnectionToClient CurrentConn = null;
|
||||
public static NetworkConnectionToClient CurrentConn2ndScreen = null;
|
||||
public static NetworkConnectionToClient CurrentConn2ndScreenServer = null;
|
||||
|
||||
void Awake()
|
||||
{
|
||||
@ -25,8 +27,13 @@ public class NetworkMessageHandler : MonoBehaviour
|
||||
{
|
||||
// 確保已經註冊了處理 GameMessage 的 Handler
|
||||
NetworkServer.RegisterHandler<GameMessage>(OnClientMessageReceived);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
void OnClientMessageReceived(NetworkConnectionToClient conn, GameMessage msg)
|
||||
{
|
||||
Debug.Log($"收到客戶端訊息: {msg.action} {msg.payload}");
|
||||
@ -52,10 +59,34 @@ public class NetworkMessageHandler : MonoBehaviour
|
||||
|
||||
}
|
||||
break;
|
||||
case "The2ndScreenClient":
|
||||
if (CurrentConn2ndScreen == null)
|
||||
{
|
||||
CurrentConn2ndScreen = conn;
|
||||
SendMessageTo2ndScreenClient("welcome", "hello");
|
||||
}
|
||||
break;
|
||||
case "The2ndScreenServer":
|
||||
if (CurrentConn2ndScreenServer == null)
|
||||
{
|
||||
CurrentConn2ndScreenServer = conn;
|
||||
SendMessageTo2ndScreenServer("welcome", "hello");
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case "The2ndScreenClient":
|
||||
{
|
||||
SendMessageTo2ndScreenClient("The2ndScreenClient", msg.payload);
|
||||
}
|
||||
break;
|
||||
case "The2ndScreentServer":
|
||||
{
|
||||
SendMessageTo2ndScreenServer("The2ndScreentServer", msg.payload);
|
||||
}
|
||||
break;
|
||||
case "workMessage":
|
||||
{
|
||||
|
||||
@ -257,4 +288,32 @@ public class NetworkMessageHandler : MonoBehaviour
|
||||
Debug.Log($"發送到客戶端失敗: {message}");
|
||||
}
|
||||
}
|
||||
|
||||
public void SendMessageTo2ndScreenClient(string action, string message)
|
||||
{
|
||||
if (CurrentConn2ndScreen != null && CurrentConn2ndScreen.isReady)
|
||||
{
|
||||
GameMessage msg = new GameMessage { action = action, payload = message };
|
||||
CurrentConn2ndScreen.Send(msg);
|
||||
Debug.Log($"發送到2ndScreen客戶端: {message}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log($"發送到2ndScreen客戶端失敗: {message}");
|
||||
}
|
||||
}
|
||||
|
||||
public void SendMessageTo2ndScreenServer(string action, string message)
|
||||
{
|
||||
if (CurrentConn2ndScreenServer != null && CurrentConn2ndScreenServer.isReady)
|
||||
{
|
||||
GameMessage msg = new GameMessage { action = action, payload = message };
|
||||
CurrentConn2ndScreenServer.Send(msg);
|
||||
Debug.Log($"發送到2ndScreen伺服端: {message}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Log($"發送到2ndScreen伺服端失敗: {message}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using UnityEngine.UI;
|
||||
using System.Collections;
|
||||
@ -22,6 +22,11 @@ public class ServerHomeSceneController : MonoBehaviour
|
||||
SetupScene();
|
||||
//清除遊戲資料
|
||||
GlobalData.ResetGameData();
|
||||
if (NetworkMessageHandler.Instance)
|
||||
{
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "0");
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "1");
|
||||
}
|
||||
}
|
||||
|
||||
void SetupScene()
|
||||
|
||||
@ -111,6 +111,11 @@ public class ServerWorkGameFinalPanel : MonoBehaviour
|
||||
|
||||
NetworkMessageHandler.Instance.SendMessageToClient("gameFinalWords", wordsInputField.text);
|
||||
processStep(3);
|
||||
|
||||
if (NetworkMessageHandler.Instance)
|
||||
{
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "3");
|
||||
}
|
||||
}
|
||||
|
||||
private void wordsRightButton_onClicked()
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
using System;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
@ -61,6 +61,11 @@ public class ServerWorkMessageReplyPanel : MonoBehaviour
|
||||
NetworkMessageHandler.Instance.SendMessageToClient("workMessageResult", payloadStr);
|
||||
|
||||
ServerWorkSceneController.Instance.processStep(7);
|
||||
//第2次
|
||||
if (NetworkMessageHandler.Instance)
|
||||
{
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "3");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -87,6 +92,12 @@ public class ServerWorkMessageReplyPanel : MonoBehaviour
|
||||
NetworkMessageHandler.Instance.SendMessageToClient("workMessageResult", payloadStr);
|
||||
|
||||
ServerWorkSceneController.Instance.processStep(7);
|
||||
|
||||
//第2次
|
||||
if (NetworkMessageHandler.Instance)
|
||||
{
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "3");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -111,6 +122,16 @@ public class ServerWorkMessageReplyPanel : MonoBehaviour
|
||||
{
|
||||
ServerWorkSceneController.Instance.processStep(13);
|
||||
}
|
||||
|
||||
if (ServerWorkMessagePanel.workMessageCount > 0)
|
||||
{
|
||||
//第2次
|
||||
if (NetworkMessageHandler.Instance)
|
||||
{
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "3");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
|
||||
@ -71,7 +71,10 @@ public class ServerWorkSceneController : MonoBehaviour
|
||||
messagePanel.SetActive(step == 2 ? true : false);
|
||||
if (step == 2)
|
||||
{
|
||||
|
||||
if (NetworkMessageHandler.Instance)
|
||||
{
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "2");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (messageReplyPanel)
|
||||
@ -90,6 +93,10 @@ public class ServerWorkSceneController : MonoBehaviour
|
||||
{
|
||||
if (step == 5)
|
||||
{
|
||||
if (NetworkMessageHandler.Instance)
|
||||
{
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "3");
|
||||
}
|
||||
ServerWorkMessageReplyWait1Panel.Instance.play();
|
||||
}
|
||||
else
|
||||
@ -151,6 +158,10 @@ public class ServerWorkSceneController : MonoBehaviour
|
||||
{
|
||||
if (step == 9)
|
||||
{
|
||||
if (NetworkMessageHandler.Instance)
|
||||
{
|
||||
NetworkMessageHandler.Instance.SendMessageTo2ndScreenServer("The2ndScreenServer", "4");
|
||||
}
|
||||
ServerWorkMessageReplyExitPanel.Instance.play();
|
||||
}
|
||||
else
|
||||
|
||||
8
Assets/Scripts/The2ndScreen.meta
Normal file
8
Assets/Scripts/The2ndScreen.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fc328370b6491134b9515bd26c725d12
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
257
Assets/Scripts/The2ndScreen/The2ndScreenClientSceneController.cs
Normal file
257
Assets/Scripts/The2ndScreen/The2ndScreenClientSceneController.cs
Normal file
@ -0,0 +1,257 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Video;
|
||||
|
||||
public class The2ndScreenClientSceneController : MonoBehaviour
|
||||
{
|
||||
public static The2ndScreenClientSceneController Instance;
|
||||
|
||||
public GameObject Panel_01;
|
||||
public GameObject Panel_02;
|
||||
public VideoPlayer Panel_02_vplayer;
|
||||
public RawImage Panel_02_vplayer_rawImage;
|
||||
public GameObject Panel_03;
|
||||
public VideoPlayer Panel_03_vplayer;
|
||||
public RawImage Panel_03_vplayer_rawImage;
|
||||
public GameObject Panel_04;
|
||||
public VideoPlayer Panel_04_vplayer;
|
||||
public RawImage Panel_04_vplayer_rawImage;
|
||||
public GameObject Panel_05;
|
||||
public VideoPlayer Panel_05_vplayer;
|
||||
public RawImage Panel_05_vplayer_rawImage;
|
||||
public GameObject Panel_06;
|
||||
public VideoPlayer Panel_06_vplayer;
|
||||
public RawImage Panel_06_vplayer_rawImage;
|
||||
|
||||
private int currentStep = 0;
|
||||
private List<int> StepQ = new List<int>();
|
||||
private bool isPlaying = false;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
if (Panel_02_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_02_vplayer, Panel_02_vplayer_rawImage, false, VideoPlayer_02_OnLoopPointReached);
|
||||
//Panel_02_vplayer.Play();
|
||||
}
|
||||
if (Panel_03_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_03_vplayer, Panel_03_vplayer_rawImage, false, VideoPlayer_03_OnLoopPointReached);
|
||||
//Panel_03_vplayer.Play();
|
||||
}
|
||||
if (Panel_04_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_04_vplayer, Panel_04_vplayer_rawImage, false, VideoPlayer_04_OnLoopPointReached);
|
||||
//Panel_04_vplayer.Play();
|
||||
}
|
||||
|
||||
if (Panel_05_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_05_vplayer, Panel_05_vplayer_rawImage, false, VideoPlayer_05_OnLoopPointReached);
|
||||
//Panel_05_vplayer.Play();
|
||||
}
|
||||
if (Panel_06_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_06_vplayer, Panel_06_vplayer_rawImage, false, VideoPlayer_06_OnLoopPointReached);
|
||||
//Panel_06_vplayer.Play();
|
||||
}
|
||||
}
|
||||
|
||||
void SetupVideoPlayer(VideoPlayer videoPlayer, RawImage rawImage, bool isLooping, VideoPlayer.EventHandler OnLoopPointReached)
|
||||
{
|
||||
if (videoPlayer != null)
|
||||
{
|
||||
if (OnLoopPointReached != null)
|
||||
{
|
||||
videoPlayer.loopPointReached += OnLoopPointReached;
|
||||
}
|
||||
|
||||
videoPlayer.isLooping = isLooping;
|
||||
|
||||
if (rawImage != null)
|
||||
{
|
||||
videoPlayer.targetTexture = null;
|
||||
videoPlayer.renderMode = VideoRenderMode.RenderTexture;
|
||||
RenderTexture rt = new RenderTexture(1920, 1080, 24);
|
||||
videoPlayer.targetTexture = rt;
|
||||
rawImage.texture = rt;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void VideoPlayer_02_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
private void VideoPlayer_03_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
private void VideoPlayer_04_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
private void VideoPlayer_05_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
private void VideoPlayer_06_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
public void processQueueStep(int step)
|
||||
{
|
||||
if (step == 0)
|
||||
{
|
||||
StepQ.Clear();
|
||||
processStep(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isPlaying)
|
||||
{
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
if (StepQ[StepQ.Count - 1] != step)
|
||||
{
|
||||
StepQ.Add(step);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
StepQ.Add(step);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
processStep(step);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void processStep(int step)
|
||||
{
|
||||
isPlaying = false;
|
||||
|
||||
if (Panel_01)
|
||||
{
|
||||
Panel_01.SetActive(step == 1);
|
||||
if (step == 1)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
if (Panel_02)
|
||||
{
|
||||
Panel_02.SetActive(step == 2);
|
||||
if (step == 2)
|
||||
{
|
||||
Panel_02_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_02_vplayer.Stop();
|
||||
}
|
||||
|
||||
}
|
||||
if (Panel_03)
|
||||
{
|
||||
Panel_03.SetActive(step == 3);
|
||||
if (step == 3)
|
||||
{
|
||||
Panel_03_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_03_vplayer.Stop();
|
||||
}
|
||||
}
|
||||
if (Panel_04)
|
||||
{
|
||||
Panel_04.SetActive(step == 4);
|
||||
if (step == 4)
|
||||
{
|
||||
Panel_04_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_04_vplayer.Stop();
|
||||
}
|
||||
}
|
||||
if (Panel_05)
|
||||
{
|
||||
Panel_05.SetActive(step == 5);
|
||||
if (step == 5)
|
||||
{
|
||||
Panel_05_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_05_vplayer.Stop();
|
||||
}
|
||||
}
|
||||
if (Panel_06)
|
||||
{
|
||||
Panel_06.SetActive(step == 6);
|
||||
if (step == 6)
|
||||
{
|
||||
Panel_06_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_06_vplayer.Stop();
|
||||
}
|
||||
}
|
||||
|
||||
currentStep = step;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1e4c225151099e8409e8a637c06a2767
|
||||
164
Assets/Scripts/The2ndScreen/The2ndScreenInitSceneController.cs
Normal file
164
Assets/Scripts/The2ndScreen/The2ndScreenInitSceneController.cs
Normal file
@ -0,0 +1,164 @@
|
||||
using Mirror;
|
||||
using System;
|
||||
using System.Collections;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class The2ndScreenInitSceneController : MonoBehaviour
|
||||
{
|
||||
public static The2ndScreenInitSceneController Instance = null;
|
||||
|
||||
public static string role = "";
|
||||
public static string serverAddr = "";
|
||||
public static string serverPort = "";
|
||||
|
||||
public GameObject panel;
|
||||
public TMP_InputField serverAddrInput;
|
||||
public TMP_InputField serverPortInput;
|
||||
public Button Server2ndButton;
|
||||
public Button Client2ndButton;
|
||||
public TMP_Text statusText;
|
||||
|
||||
private bool welcomeReceived = false;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
serverAddrInput.text = "127.0.0.1";
|
||||
serverPortInput.text = "17777";
|
||||
|
||||
Server2ndButton.onClick.AddListener(Server2ndButton_onClick);
|
||||
Client2ndButton.onClick.AddListener(Client2ndButton_onClick);
|
||||
}
|
||||
|
||||
private void Client2ndButton_onClick()
|
||||
{
|
||||
panel.SetActive(false);
|
||||
role = "The2ndScreenClient";
|
||||
serverAddr = serverAddrInput.text;
|
||||
serverPort = serverPortInput.text;
|
||||
StartCoroutine(ConnectToServer());
|
||||
}
|
||||
|
||||
private void Server2ndButton_onClick()
|
||||
{
|
||||
panel.SetActive(false);
|
||||
role = "The2ndScreenServer";
|
||||
serverAddr = serverAddrInput.text;
|
||||
serverPort = serverPortInput.text;
|
||||
StartCoroutine(ConnectToServer());
|
||||
}
|
||||
|
||||
public void OnReceivedWelcome()
|
||||
{
|
||||
welcomeReceived = true;
|
||||
}
|
||||
|
||||
IEnumerator ConnectToServer()
|
||||
{
|
||||
// 設置 NetworkManager
|
||||
if (The2ndScreenNetworkManager.Instance != null)
|
||||
{
|
||||
The2ndScreenNetworkManager.Instance.networkAddress = The2ndScreenInitSceneController.serverAddr;
|
||||
|
||||
// 使用 Telepathy (TCP) Transport
|
||||
TelepathyTransport transport = The2ndScreenNetworkManager.Instance.GetComponent<TelepathyTransport>();
|
||||
if (transport != null)
|
||||
{
|
||||
transport.port = ushort.Parse(The2ndScreenInitSceneController.serverPort);
|
||||
}
|
||||
|
||||
// 開始連線
|
||||
The2ndScreenNetworkManager.Instance.StartClient();
|
||||
statusText.text = $"開始連線到 {The2ndScreenInitSceneController.serverAddr}:{The2ndScreenInitSceneController.serverPort}";
|
||||
Debug.Log($"開始連線到 {The2ndScreenInitSceneController.serverAddr}:{The2ndScreenInitSceneController.serverPort}");
|
||||
}
|
||||
|
||||
// 等待連線
|
||||
float timeout = 3f;
|
||||
float elapsed = 0f;
|
||||
|
||||
while (!NetworkClient.isConnected && elapsed < timeout)
|
||||
{
|
||||
elapsed += Time.deltaTime;
|
||||
yield return null;
|
||||
}
|
||||
|
||||
if (NetworkClient.isConnected)
|
||||
{
|
||||
Debug.Log("連線成功!等待 Welcome 訊息...");
|
||||
statusText.text = $"連線成功!等待 Welcome 訊息...";
|
||||
|
||||
// send welcome
|
||||
if (The2ndScreenMessageHandler.Instance != null)
|
||||
{
|
||||
//The2ndScreenMessageHandler.Instance.RegisterHandler();
|
||||
|
||||
The2ndScreenMessageHandler.Instance.SendMessageToServer("welcome", The2ndScreenInitSceneController.role);
|
||||
}
|
||||
|
||||
// 等待 Welcome 訊息
|
||||
yield return StartCoroutine(WaitForWelcomeMessage());
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("連線失敗!");
|
||||
statusText.text = $"連線失敗!";
|
||||
panel.SetActive(true);
|
||||
//yield return StartCoroutine(ConnectToServer());
|
||||
}
|
||||
}
|
||||
|
||||
IEnumerator WaitForWelcomeMessage()
|
||||
{
|
||||
float timeout = 3f;
|
||||
float elapsed = 0f;
|
||||
|
||||
while (!welcomeReceived && elapsed < timeout)
|
||||
{
|
||||
elapsed += Time.deltaTime;
|
||||
yield return null;
|
||||
}
|
||||
|
||||
if (!welcomeReceived)
|
||||
{
|
||||
Debug.LogError("未收到 Welcome 訊息!");
|
||||
statusText.text = $"未收到 Welcome 訊息!";
|
||||
panel.SetActive(true);
|
||||
//yield return StartCoroutine(ConnectToServer());
|
||||
}
|
||||
else
|
||||
{
|
||||
if (The2ndScreenInitSceneController.role == "The2ndScreenServer")
|
||||
{
|
||||
statusText.text = $"跳到神明第2畫面";
|
||||
yield return StartCoroutine(LoadNextScene("The2ndScreenServerScene"));
|
||||
} else
|
||||
if (The2ndScreenInitSceneController.role == "The2ndScreenClient")
|
||||
{
|
||||
statusText.text = $"跳到信眾第2畫面";
|
||||
yield return StartCoroutine(LoadNextScene("The2ndScreenClientScene"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
IEnumerator LoadNextScene(string name)
|
||||
{
|
||||
yield return new WaitForSeconds(0f);
|
||||
|
||||
SceneManager.LoadScene(name);
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0f3ca80e36914094aa4195882c8fd287
|
||||
125
Assets/Scripts/The2ndScreen/The2ndScreenMessageHandler.cs
Normal file
125
Assets/Scripts/The2ndScreen/The2ndScreenMessageHandler.cs
Normal file
@ -0,0 +1,125 @@
|
||||
using Mirror;
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
public class The2ndScreenMessageHandler : MonoBehaviour
|
||||
{
|
||||
public static The2ndScreenMessageHandler Instance;
|
||||
|
||||
void Awake()
|
||||
{
|
||||
if (Instance == null)
|
||||
{
|
||||
Instance = this;
|
||||
DontDestroyOnLoad(gameObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
public void UnregisterHandler()
|
||||
{
|
||||
NetworkClient.UnregisterHandler<GameMessage>();
|
||||
}
|
||||
public void RegisterHandler()
|
||||
{
|
||||
NetworkClient.RegisterHandler<GameMessage>(OnServerMessageReceived);
|
||||
|
||||
}
|
||||
|
||||
private void OnServerMessageReceived(GameMessage msg)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Debug.Log($"收到 Server 訊息: {msg.action} {msg.payload}");
|
||||
|
||||
switch (msg.action)
|
||||
{
|
||||
case "welcome":
|
||||
if (The2ndScreenInitSceneController.Instance)
|
||||
{
|
||||
The2ndScreenInitSceneController.Instance.OnReceivedWelcome();
|
||||
}
|
||||
|
||||
break;
|
||||
case "The2ndScreenServer":
|
||||
{
|
||||
if (The2ndScreenServerSceneController.Instance)
|
||||
{
|
||||
switch(msg.payload)
|
||||
{
|
||||
case "0":
|
||||
The2ndScreenServerSceneController.Instance.processQueueStep(0);
|
||||
break;
|
||||
case "1":
|
||||
The2ndScreenServerSceneController.Instance.processQueueStep(1);
|
||||
break;
|
||||
case "2":
|
||||
The2ndScreenServerSceneController.Instance.processQueueStep(2);
|
||||
break;
|
||||
case "3":
|
||||
The2ndScreenServerSceneController.Instance.processQueueStep(3);
|
||||
break;
|
||||
case "4":
|
||||
The2ndScreenServerSceneController.Instance.processQueueStep(4);
|
||||
break;
|
||||
case "5":
|
||||
The2ndScreenServerSceneController.Instance.processQueueStep(5);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "The2ndScreenClient":
|
||||
if (The2ndScreenClientSceneController.Instance)
|
||||
{
|
||||
switch (msg.payload)
|
||||
{
|
||||
case "0":
|
||||
The2ndScreenClientSceneController.Instance.processQueueStep(0);
|
||||
break;
|
||||
case "1":
|
||||
The2ndScreenClientSceneController.Instance.processQueueStep(1);
|
||||
break;
|
||||
case "2":
|
||||
The2ndScreenClientSceneController.Instance.processQueueStep(2);
|
||||
break;
|
||||
case "3":
|
||||
The2ndScreenClientSceneController.Instance.processQueueStep(3);
|
||||
break;
|
||||
case "4":
|
||||
The2ndScreenClientSceneController.Instance.processQueueStep(4);
|
||||
break;
|
||||
case "5":
|
||||
The2ndScreenClientSceneController.Instance.processQueueStep(5);
|
||||
break;
|
||||
case "6":
|
||||
The2ndScreenClientSceneController.Instance.processQueueStep(6);
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Debug.LogError($"解析 JSON 失敗: {e.Message}");
|
||||
}
|
||||
}
|
||||
public void SendMessageToServer(string action, string message)
|
||||
{
|
||||
if (NetworkClient.isConnected)
|
||||
{
|
||||
GameMessage msg = new GameMessage { action = action, payload = message };
|
||||
NetworkClient.Send(msg);
|
||||
Debug.Log($"發送訊息到 Server: {message}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError($"發送訊息到 Server 失敗: {message}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d151f7dcf84b5244d8cba3186364e8f8
|
||||
50
Assets/Scripts/The2ndScreen/The2ndScreenNetworkManager.cs
Normal file
50
Assets/Scripts/The2ndScreen/The2ndScreenNetworkManager.cs
Normal file
@ -0,0 +1,50 @@
|
||||
using Mirror;
|
||||
using System.Collections;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class The2ndScreenNetworkManager : NetworkManager
|
||||
{
|
||||
public static The2ndScreenNetworkManager Instance;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
if (Instance == null)
|
||||
{
|
||||
Instance = this;
|
||||
DontDestroyOnLoad(gameObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
public override void OnClientConnect()
|
||||
{
|
||||
base.OnClientConnect();
|
||||
Debug.Log("The2ndScreen 已連接到 Server");
|
||||
if (The2ndScreenMessageHandler.Instance != null)
|
||||
{
|
||||
The2ndScreenMessageHandler.Instance.RegisterHandler();
|
||||
The2ndScreenMessageHandler.Instance.SendMessageToServer("welcome", "hello");
|
||||
}
|
||||
}
|
||||
|
||||
public override void OnClientDisconnect()
|
||||
{
|
||||
if (The2ndScreenMessageHandler.Instance != null)
|
||||
{
|
||||
The2ndScreenMessageHandler.Instance.UnregisterHandler();
|
||||
}
|
||||
base.OnClientDisconnect();
|
||||
Debug.Log("The2ndScreen 已斷開連接");
|
||||
StartCoroutine(LoadInitScene());
|
||||
}
|
||||
|
||||
IEnumerator LoadInitScene()
|
||||
{
|
||||
yield return new WaitForSeconds(3f);
|
||||
|
||||
SceneManager.LoadScene("The2ndScreenInitScene");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 10efdc289c3aa1c4f971120033c921f5
|
||||
229
Assets/Scripts/The2ndScreen/The2ndScreenServerSceneController.cs
Normal file
229
Assets/Scripts/The2ndScreen/The2ndScreenServerSceneController.cs
Normal file
@ -0,0 +1,229 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Rendering;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Video;
|
||||
|
||||
public class The2ndScreenServerSceneController : MonoBehaviour
|
||||
{
|
||||
public static The2ndScreenServerSceneController Instance;
|
||||
|
||||
public GameObject Panel_01;
|
||||
public GameObject Panel_02;
|
||||
public VideoPlayer Panel_02_vplayer;
|
||||
public RawImage Panel_02_vplayer_rawImage;
|
||||
public GameObject Panel_03;
|
||||
public VideoPlayer Panel_03_vplayer;
|
||||
public RawImage Panel_03_vplayer_rawImage;
|
||||
public GameObject Panel_04;
|
||||
public VideoPlayer Panel_04_vplayer;
|
||||
public RawImage Panel_04_vplayer_rawImage;
|
||||
public GameObject Panel_05;
|
||||
public VideoPlayer Panel_05_vplayer;
|
||||
public RawImage Panel_05_vplayer_rawImage;
|
||||
|
||||
private int currentStep = 0;
|
||||
private List<int> StepQ = new List<int>();
|
||||
private bool isPlaying = false;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
Instance = this;
|
||||
}
|
||||
|
||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||
void Start()
|
||||
{
|
||||
if (Panel_02_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_02_vplayer, Panel_02_vplayer_rawImage, false, VideoPlayer_02_OnLoopPointReached);
|
||||
//Panel_02_vplayer.Play();
|
||||
}
|
||||
if (Panel_03_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_03_vplayer, Panel_03_vplayer_rawImage, false, VideoPlayer_03_OnLoopPointReached);
|
||||
//Panel_03_vplayer.Play();
|
||||
}
|
||||
if (Panel_04_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_04_vplayer, Panel_04_vplayer_rawImage, false, VideoPlayer_04_OnLoopPointReached);
|
||||
//Panel_04_vplayer.Play();
|
||||
}
|
||||
|
||||
if (Panel_05_vplayer)
|
||||
{
|
||||
SetupVideoPlayer(Panel_05_vplayer, Panel_05_vplayer_rawImage, false, VideoPlayer_05_OnLoopPointReached);
|
||||
//Panel_05_vplayer.Play();
|
||||
}
|
||||
}
|
||||
|
||||
void SetupVideoPlayer(VideoPlayer videoPlayer, RawImage rawImage, bool isLooping, VideoPlayer.EventHandler OnLoopPointReached)
|
||||
{
|
||||
if (videoPlayer != null)
|
||||
{
|
||||
if (OnLoopPointReached != null)
|
||||
{
|
||||
videoPlayer.loopPointReached += OnLoopPointReached;
|
||||
}
|
||||
|
||||
videoPlayer.isLooping = isLooping;
|
||||
|
||||
if (rawImage != null)
|
||||
{
|
||||
videoPlayer.targetTexture = null;
|
||||
videoPlayer.renderMode = VideoRenderMode.RenderTexture;
|
||||
RenderTexture rt = new RenderTexture(1920, 1080, 24);
|
||||
videoPlayer.targetTexture = rt;
|
||||
rawImage.texture = rt;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void VideoPlayer_02_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
private void VideoPlayer_03_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
private void VideoPlayer_04_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
private void VideoPlayer_05_OnLoopPointReached(VideoPlayer source)
|
||||
{
|
||||
isPlaying = false;
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
processStep(StepQ[0]);
|
||||
StepQ.RemoveAt(0);
|
||||
}
|
||||
}
|
||||
|
||||
public void processQueueStep(int step)
|
||||
{
|
||||
if (step == 0)
|
||||
{
|
||||
StepQ.Clear();
|
||||
processStep(0);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isPlaying)
|
||||
{
|
||||
if (StepQ.Count > 0)
|
||||
{
|
||||
if (StepQ[StepQ.Count - 1] != step)
|
||||
{
|
||||
StepQ.Add(step);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
StepQ.Add(step);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
processStep(step);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void processStep(int step)
|
||||
{
|
||||
isPlaying = false;
|
||||
|
||||
if (Panel_01)
|
||||
{
|
||||
Panel_01.SetActive(step == 1);
|
||||
if (step == 1)
|
||||
{
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
if (Panel_02)
|
||||
{
|
||||
Panel_02.SetActive(step == 2);
|
||||
if (step == 2)
|
||||
{
|
||||
Panel_02_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_02_vplayer.Stop();
|
||||
}
|
||||
|
||||
}
|
||||
if (Panel_03)
|
||||
{
|
||||
Panel_03.SetActive(step == 3);
|
||||
if (step == 3)
|
||||
{
|
||||
Panel_03_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_03_vplayer.Stop();
|
||||
}
|
||||
}
|
||||
if (Panel_04)
|
||||
{
|
||||
Panel_04.SetActive(step == 4);
|
||||
if (step == 4)
|
||||
{
|
||||
Panel_04_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_04_vplayer.Stop();
|
||||
}
|
||||
}
|
||||
if (Panel_05)
|
||||
{
|
||||
Panel_05.SetActive(step == 5);
|
||||
if (step == 5)
|
||||
{
|
||||
Panel_05_vplayer.Play();
|
||||
isPlaying = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
Panel_05_vplayer.Stop();
|
||||
}
|
||||
}
|
||||
|
||||
currentStep = step;
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d79c053bf7b0d854e842ed54b28a4037
|
||||
@ -171,7 +171,7 @@ MonoBehaviour:
|
||||
- line: '| xboxEnableFitness: 0'
|
||||
- line: '| visibleInBackground: 1'
|
||||
- line: '| allowFullscreenSwitch: 1'
|
||||
- line: '| fullscreenMode: 1'
|
||||
- line: '| fullscreenMode: 3'
|
||||
- line: '| xboxSpeechDB: 0'
|
||||
- line: '| xboxEnableHeadOrientation: 0'
|
||||
- line: '| xboxEnableGuest: 0'
|
||||
|
||||
@ -778,8 +778,8 @@ MonoBehaviour:
|
||||
- rid: 991019083588436157
|
||||
type: {class: WindowsPlatformSettings, ns: UnityEditor.WindowsStandalone, asm: UnityEditor.WindowsStandalone.Extensions}
|
||||
data:
|
||||
m_Development: 0
|
||||
m_ConnectProfiler: 0
|
||||
m_Development: 1
|
||||
m_ConnectProfiler: 1
|
||||
m_BuildWithDeepProfilingSupport: 0
|
||||
m_AllowDebugging: 1
|
||||
m_WaitForManagedDebugger: 0
|
||||
|
||||
795
Assets/Settings/Build Profiles/Windows The2ndScreen.asset
Normal file
795
Assets/Settings/Build Profiles/Windows The2ndScreen.asset
Normal file
@ -0,0 +1,795 @@
|
||||
%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: 15003, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: Windows The2ndScreen
|
||||
m_EditorClassIdentifier: UnityEditor.dll::UnityEditor.Build.Profile.BuildProfile
|
||||
m_AssetVersion: 1
|
||||
m_BuildTarget: 19
|
||||
m_Subtarget: 2
|
||||
m_PlatformId: 4e3c793746204150860bf175a9a41a05
|
||||
m_PlatformBuildProfile:
|
||||
rid: 991019083588436157
|
||||
m_OverrideGlobalSceneList: 1
|
||||
m_Scenes:
|
||||
- m_enabled: 1
|
||||
m_path: Assets/Scenes/The2ndScreen/The2ndScreenInitScene.unity
|
||||
- m_enabled: 1
|
||||
m_path: Assets/Scenes/The2ndScreen/The2ndScreenServerScene.unity
|
||||
- m_enabled: 1
|
||||
m_path: Assets/Scenes/The2ndScreen/The2ndScreenClientScene.unity
|
||||
m_ScriptingDefines: []
|
||||
m_PlayerSettingsYaml:
|
||||
m_Settings:
|
||||
- line: '| PlayerSettings:'
|
||||
- line: '| m_ObjectHideFlags: 0'
|
||||
- line: '| serializedVersion: 28'
|
||||
- line: '| productGUID: fd451b50ed37ee54e891a571a291ae93'
|
||||
- line: '| AndroidProfiler: 0'
|
||||
- line: '| AndroidFilterTouchesWhenObscured: 0'
|
||||
- line: '| AndroidEnableSustainedPerformanceMode: 0'
|
||||
- line: '| defaultScreenOrientation: 4'
|
||||
- line: '| targetDevice: 2'
|
||||
- line: '| useOnDemandResources: 0'
|
||||
- line: '| accelerometerFrequency: 60'
|
||||
- line: '| companyName: DefaultCompany'
|
||||
- line: '| productName: Petition to the Gods The 2nd Screen V3'
|
||||
- line: '| defaultCursor: {instanceID: 0}'
|
||||
- line: '| cursorHotspot: {x: 0, y: 0}'
|
||||
- line: '| m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b:
|
||||
0.1254902, a: 1}'
|
||||
- line: '| m_ShowUnitySplashScreen: 1'
|
||||
- line: '| m_ShowUnitySplashLogo: 1'
|
||||
- line: '| m_SplashScreenOverlayOpacity: 1'
|
||||
- line: '| m_SplashScreenAnimation: 1'
|
||||
- line: '| m_SplashScreenLogoStyle: 1'
|
||||
- line: '| m_SplashScreenDrawMode: 0'
|
||||
- line: '| m_SplashScreenBackgroundAnimationZoom: 1'
|
||||
- line: '| m_SplashScreenLogoAnimationZoom: 1'
|
||||
- line: '| m_SplashScreenBackgroundLandscapeAspect: 1'
|
||||
- line: '| m_SplashScreenBackgroundPortraitAspect: 1'
|
||||
- line: '| m_SplashScreenBackgroundLandscapeUvs:'
|
||||
- line: '| serializedVersion: 2'
|
||||
- line: '| x: 0'
|
||||
- line: '| y: 0'
|
||||
- line: '| width: 1'
|
||||
- line: '| height: 1'
|
||||
- line: '| m_SplashScreenBackgroundPortraitUvs:'
|
||||
- line: '| serializedVersion: 2'
|
||||
- line: '| x: 0'
|
||||
- line: '| y: 0'
|
||||
- line: '| width: 1'
|
||||
- line: '| height: 1'
|
||||
- line: '| m_SplashScreenLogos: []'
|
||||
- line: '| m_VirtualRealitySplashScreen: {instanceID: 0}'
|
||||
- line: '| m_HolographicTrackingLossScreen: {instanceID: 0}'
|
||||
- line: '| defaultScreenWidth: 1920'
|
||||
- line: '| defaultScreenHeight: 1080'
|
||||
- line: '| defaultScreenWidthWeb: 960'
|
||||
- line: '| defaultScreenHeightWeb: 600'
|
||||
- line: '| m_StereoRenderingPath: 0'
|
||||
- line: '| m_ActiveColorSpace: 1'
|
||||
- line: '| unsupportedMSAAFallback: 0'
|
||||
- line: '| m_SpriteBatchMaxVertexCount: 65535'
|
||||
- line: '| m_SpriteBatchVertexThreshold: 300'
|
||||
- line: '| m_MTRendering: 1'
|
||||
- line: '| mipStripping: 0'
|
||||
- line: '| numberOfMipsStripped: 0'
|
||||
- line: '| numberOfMipsStrippedPerMipmapLimitGroup: {}'
|
||||
- line: '| m_StackTraceTypes: 010000000100000001000000010000000100000001000000'
|
||||
- line: '| iosShowActivityIndicatorOnLoading: -1'
|
||||
- line: '| androidShowActivityIndicatorOnLoading: -1'
|
||||
- line: '| iosUseCustomAppBackgroundBehavior: 0'
|
||||
- line: '| allowedAutorotateToPortrait: 1'
|
||||
- line: '| allowedAutorotateToPortraitUpsideDown: 1'
|
||||
- line: '| allowedAutorotateToLandscapeRight: 1'
|
||||
- line: '| allowedAutorotateToLandscapeLeft: 1'
|
||||
- line: '| useOSAutorotation: 1'
|
||||
- line: '| use32BitDisplayBuffer: 1'
|
||||
- line: '| preserveFramebufferAlpha: 0'
|
||||
- line: '| disableDepthAndStencilBuffers: 0'
|
||||
- line: '| androidStartInFullscreen: 1'
|
||||
- line: '| androidRenderOutsideSafeArea: 1'
|
||||
- line: '| androidUseSwappy: 1'
|
||||
- line: '| androidDisplayOptions: 1'
|
||||
- line: '| androidBlitType: 0'
|
||||
- line: '| androidResizeableActivity: 1'
|
||||
- line: '| androidDefaultWindowWidth: 1920'
|
||||
- line: '| androidDefaultWindowHeight: 1080'
|
||||
- line: '| androidMinimumWindowWidth: 400'
|
||||
- line: '| androidMinimumWindowHeight: 300'
|
||||
- line: '| androidFullscreenMode: 1'
|
||||
- line: '| androidAutoRotationBehavior: 1'
|
||||
- line: '| androidPredictiveBackSupport: 0'
|
||||
- line: '| androidApplicationEntry: 2'
|
||||
- line: '| defaultIsNativeResolution: 1'
|
||||
- line: '| macRetinaSupport: 1'
|
||||
- line: '| runInBackground: 1'
|
||||
- line: '| muteOtherAudioSources: 0'
|
||||
- line: '| Prepare IOS For Recording: 0'
|
||||
- line: '| Force IOS Speakers When Recording: 0'
|
||||
- line: '| audioSpatialExperience: 0'
|
||||
- line: '| deferSystemGesturesMode: 0'
|
||||
- line: '| hideHomeButton: 0'
|
||||
- line: '| submitAnalytics: 1'
|
||||
- line: '| usePlayerLog: 1'
|
||||
- line: '| dedicatedServerOptimizations: 1'
|
||||
- line: '| bakeCollisionMeshes: 0'
|
||||
- line: '| forceSingleInstance: 1'
|
||||
- line: '| useFlipModelSwapchain: 1'
|
||||
- line: '| resizableWindow: 1'
|
||||
- line: '| useMacAppStoreValidation: 0'
|
||||
- line: '| macAppStoreCategory: public.app-category.games'
|
||||
- line: '| gpuSkinning: 0'
|
||||
- line: '| meshDeformation: 0'
|
||||
- line: '| xboxPIXTextureCapture: 0'
|
||||
- line: '| xboxEnableAvatar: 0'
|
||||
- line: '| xboxEnableKinect: 0'
|
||||
- line: '| xboxEnableKinectAutoTracking: 0'
|
||||
- line: '| xboxEnableFitness: 0'
|
||||
- line: '| visibleInBackground: 1'
|
||||
- line: '| allowFullscreenSwitch: 1'
|
||||
- line: '| fullscreenMode: 3'
|
||||
- line: '| xboxSpeechDB: 0'
|
||||
- line: '| xboxEnableHeadOrientation: 0'
|
||||
- line: '| xboxEnableGuest: 0'
|
||||
- line: '| xboxEnablePIXSampling: 0'
|
||||
- line: '| metalFramebufferOnly: 0'
|
||||
- line: '| xboxOneResolution: 0'
|
||||
- line: '| xboxOneSResolution: 0'
|
||||
- line: '| xboxOneXResolution: 3'
|
||||
- line: '| xboxOneMonoLoggingLevel: 0'
|
||||
- line: '| xboxOneLoggingLevel: 1'
|
||||
- line: '| xboxOneDisableEsram: 0'
|
||||
- line: '| xboxOneEnableTypeOptimization: 0'
|
||||
- line: '| xboxOnePresentImmediateThreshold: 0'
|
||||
- line: '| switchQueueCommandMemory: 1048576'
|
||||
- line: '| switchQueueControlMemory: 16384'
|
||||
- line: '| switchQueueComputeMemory: 262144'
|
||||
- line: '| switchNVNShaderPoolsGranularity: 33554432'
|
||||
- line: '| switchNVNDefaultPoolsGranularity: 16777216'
|
||||
- line: '| switchNVNOtherPoolsGranularity: 16777216'
|
||||
- line: '| switchGpuScratchPoolGranularity: 2097152'
|
||||
- line: '| switchAllowGpuScratchShrinking: 0'
|
||||
- line: '| switchNVNMaxPublicTextureIDCount: 0'
|
||||
- line: '| switchNVNMaxPublicSamplerIDCount: 0'
|
||||
- line: '| switchMaxWorkerMultiple: 8'
|
||||
- line: '| switchNVNGraphicsFirmwareMemory: 32'
|
||||
- line: '| switchGraphicsJobsSyncAfterKick: 1'
|
||||
- line: '| vulkanNumSwapchainBuffers: 3'
|
||||
- line: '| vulkanEnableSetSRGBWrite: 0'
|
||||
- line: '| vulkanEnablePreTransform: 0'
|
||||
- line: '| vulkanEnableLateAcquireNextImage: 0'
|
||||
- line: '| vulkanEnableCommandBufferRecycling: 1'
|
||||
- line: '| loadStoreDebugModeEnabled: 0'
|
||||
- line: '| visionOSBundleVersion: 1.0'
|
||||
- line: '| tvOSBundleVersion: 1.0'
|
||||
- line: '| bundleVersion: 1.0'
|
||||
- line: '| preloadedAssets:'
|
||||
- line: '| - {fileID: -944628639613478452, guid: 3590b91b4603b465dbb4216d601bff33,
|
||||
type: 3}'
|
||||
- line: '| metroInputSource: 0'
|
||||
- line: '| wsaTransparentSwapchain: 0'
|
||||
- line: '| m_HolographicPauseOnTrackingLoss: 1'
|
||||
- line: '| xboxOneDisableKinectGpuReservation: 1'
|
||||
- line: '| xboxOneEnable7thCore: 1'
|
||||
- line: '| vrSettings:'
|
||||
- line: '| enable360StereoCapture: 0'
|
||||
- line: '| isWsaHolographicRemotingEnabled: 0'
|
||||
- line: '| enableFrameTimingStats: 0'
|
||||
- line: '| enableOpenGLProfilerGPURecorders: 1'
|
||||
- line: '| allowHDRDisplaySupport: 0'
|
||||
- line: '| useHDRDisplay: 0'
|
||||
- line: '| hdrBitDepth: 0'
|
||||
- line: '| m_ColorGamuts: 00000000'
|
||||
- line: '| targetPixelDensity: 30'
|
||||
- line: '| resolutionScalingMode: 0'
|
||||
- line: '| resetResolutionOnWindowResize: 0'
|
||||
- line: '| androidSupportedAspectRatio: 1'
|
||||
- line: '| androidMaxAspectRatio: 2.4'
|
||||
- line: '| androidMinAspectRatio: 1'
|
||||
- line: '| applicationIdentifier:'
|
||||
- line: '| Standalone: com.DefaultCompany.2D-Project'
|
||||
- line: '| buildNumber:'
|
||||
- line: '| Standalone: 0'
|
||||
- line: '| VisionOS: 0'
|
||||
- line: '| iPhone: 0'
|
||||
- line: '| tvOS: 0'
|
||||
- line: '| overrideDefaultApplicationIdentifier: 1'
|
||||
- line: '| AndroidBundleVersionCode: 1'
|
||||
- line: '| AndroidMinSdkVersion: 23'
|
||||
- line: '| AndroidTargetSdkVersion: 0'
|
||||
- line: '| AndroidPreferredInstallLocation: 1'
|
||||
- line: '| aotOptions: '
|
||||
- line: '| stripEngineCode: 1'
|
||||
- line: '| iPhoneStrippingLevel: 0'
|
||||
- line: '| iPhoneScriptCallOptimization: 0'
|
||||
- line: '| ForceInternetPermission: 0'
|
||||
- line: '| ForceSDCardPermission: 0'
|
||||
- line: '| CreateWallpaper: 0'
|
||||
- line: '| androidSplitApplicationBinary: 0'
|
||||
- line: '| keepLoadedShadersAlive: 0'
|
||||
- line: '| StripUnusedMeshComponents: 0'
|
||||
- line: '| strictShaderVariantMatching: 0'
|
||||
- line: '| VertexChannelCompressionMask: 4054'
|
||||
- line: '| iPhoneSdkVersion: 988'
|
||||
- line: '| iOSSimulatorArchitecture: 0'
|
||||
- line: '| iOSTargetOSVersionString: 13.0'
|
||||
- line: '| tvOSSdkVersion: 0'
|
||||
- line: '| tvOSSimulatorArchitecture: 0'
|
||||
- line: '| tvOSRequireExtendedGameController: 0'
|
||||
- line: '| tvOSTargetOSVersionString: 13.0'
|
||||
- line: '| VisionOSSdkVersion: 0'
|
||||
- line: '| VisionOSTargetOSVersionString: 1.0'
|
||||
- line: '| uIPrerenderedIcon: 0'
|
||||
- line: '| uIRequiresPersistentWiFi: 0'
|
||||
- line: '| uIRequiresFullScreen: 1'
|
||||
- line: '| uIStatusBarHidden: 1'
|
||||
- line: '| uIExitOnSuspend: 0'
|
||||
- line: '| uIStatusBarStyle: 0'
|
||||
- line: '| appleTVSplashScreen: {instanceID: 0}'
|
||||
- line: '| appleTVSplashScreen2x: {instanceID: 0}'
|
||||
- line: '| tvOSSmallIconLayers: []'
|
||||
- line: '| tvOSSmallIconLayers2x: []'
|
||||
- line: '| tvOSLargeIconLayers: []'
|
||||
- line: '| tvOSLargeIconLayers2x: []'
|
||||
- line: '| tvOSTopShelfImageLayers: []'
|
||||
- line: '| tvOSTopShelfImageLayers2x: []'
|
||||
- line: '| tvOSTopShelfImageWideLayers: []'
|
||||
- line: '| tvOSTopShelfImageWideLayers2x: []'
|
||||
- line: '| iOSLaunchScreenType: 0'
|
||||
- line: '| iOSLaunchScreenPortrait: {instanceID: 0}'
|
||||
- line: '| iOSLaunchScreenLandscape: {instanceID: 0}'
|
||||
- line: '| iOSLaunchScreenBackgroundColor:'
|
||||
- line: '| serializedVersion: 2'
|
||||
- line: '| rgba: 0'
|
||||
- line: '| iOSLaunchScreenFillPct: 100'
|
||||
- line: '| iOSLaunchScreenSize: 100'
|
||||
- line: '| iOSLaunchScreeniPadType: 0'
|
||||
- line: '| iOSLaunchScreeniPadImage: {instanceID: 0}'
|
||||
- line: '| iOSLaunchScreeniPadBackgroundColor:'
|
||||
- line: '| serializedVersion: 2'
|
||||
- line: '| rgba: 0'
|
||||
- line: '| iOSLaunchScreeniPadFillPct: 100'
|
||||
- line: '| iOSLaunchScreeniPadSize: 100'
|
||||
- line: '| iOSLaunchScreenCustomStoryboardPath: '
|
||||
- line: '| iOSLaunchScreeniPadCustomStoryboardPath: '
|
||||
- line: '| iOSDeviceRequirements: []'
|
||||
- line: '| iOSURLSchemes: []'
|
||||
- line: '| macOSURLSchemes: []'
|
||||
- line: '| iOSBackgroundModes: 0'
|
||||
- line: '| iOSMetalForceHardShadows: 0'
|
||||
- line: '| metalEditorSupport: 1'
|
||||
- line: '| metalAPIValidation: 1'
|
||||
- line: '| metalCompileShaderBinary: 0'
|
||||
- line: '| iOSRenderExtraFrameOnPause: 0'
|
||||
- line: '| iosCopyPluginsCodeInsteadOfSymlink: 0'
|
||||
- line: '| appleDeveloperTeamID: '
|
||||
- line: '| iOSManualSigningProvisioningProfileID: '
|
||||
- line: '| tvOSManualSigningProvisioningProfileID: '
|
||||
- line: '| VisionOSManualSigningProvisioningProfileID: '
|
||||
- line: '| iOSManualSigningProvisioningProfileType: 0'
|
||||
- line: '| tvOSManualSigningProvisioningProfileType: 0'
|
||||
- line: '| VisionOSManualSigningProvisioningProfileType: 0'
|
||||
- line: '| appleEnableAutomaticSigning: 0'
|
||||
- line: '| iOSRequireARKit: 0'
|
||||
- line: '| iOSAutomaticallyDetectAndAddCapabilities: 1'
|
||||
- line: '| appleEnableProMotion: 0'
|
||||
- line: '| shaderPrecisionModel: 0'
|
||||
- line: '| clonedFromGUID: 10ad67313f4034357812315f3c407484'
|
||||
- line: '| templatePackageId: com.unity.template.2d@11.0.0'
|
||||
- line: '| templateDefaultScene: Assets/Scenes/SampleScene.unity'
|
||||
- line: '| useCustomMainManifest: 0'
|
||||
- line: '| useCustomLauncherManifest: 0'
|
||||
- line: '| useCustomMainGradleTemplate: 0'
|
||||
- line: '| useCustomLauncherGradleManifest: 0'
|
||||
- line: '| useCustomBaseGradleTemplate: 0'
|
||||
- line: '| useCustomGradlePropertiesTemplate: 0'
|
||||
- line: '| useCustomGradleSettingsTemplate: 0'
|
||||
- line: '| useCustomProguardFile: 0'
|
||||
- line: '| AndroidTargetArchitectures: 2'
|
||||
- line: '| AndroidSplashScreenScale: 0'
|
||||
- line: '| androidSplashScreen: {instanceID: 0}'
|
||||
- line: '| AndroidKeystoreName: '
|
||||
- line: '| AndroidKeyaliasName: '
|
||||
- line: '| AndroidEnableArmv9SecurityFeatures: 0'
|
||||
- line: '| AndroidEnableArm64MTE: 0'
|
||||
- line: '| AndroidBuildApkPerCpuArchitecture: 0'
|
||||
- line: '| AndroidTVCompatibility: 0'
|
||||
- line: '| AndroidIsGame: 1'
|
||||
- line: '| androidAppCategory: 3'
|
||||
- line: '| useAndroidAppCategory: 1'
|
||||
- line: '| androidAppCategoryOther: '
|
||||
- line: '| AndroidEnableTango: 0'
|
||||
- line: '| androidEnableBanner: 1'
|
||||
- line: '| androidUseLowAccuracyLocation: 0'
|
||||
- line: '| androidUseCustomKeystore: 0'
|
||||
- line: '| m_AndroidBanners:'
|
||||
- line: '| - width: 320'
|
||||
- line: '| height: 180'
|
||||
- line: '| banner: {instanceID: 0}'
|
||||
- line: '| androidGamepadSupportLevel: 0'
|
||||
- line: '| AndroidMinifyRelease: 0'
|
||||
- line: '| AndroidMinifyDebug: 0'
|
||||
- line: '| AndroidValidateAppBundleSize: 1'
|
||||
- line: '| AndroidAppBundleSizeToValidate: 150'
|
||||
- line: '| AndroidReportGooglePlayAppDependencies: 1'
|
||||
- line: '| androidSymbolsSizeThreshold: 800'
|
||||
- line: '| m_BuildTargetIcons: []'
|
||||
- line: '| m_BuildTargetPlatformIcons: []'
|
||||
- line: '| m_BuildTargetBatching:'
|
||||
- line: '| - m_BuildTarget: Standalone'
|
||||
- line: '| m_StaticBatching: 1'
|
||||
- line: '| m_DynamicBatching: 0'
|
||||
- line: '| m_BuildTargetShaderSettings: []'
|
||||
- line: '| m_BuildTargetGraphicsJobs:'
|
||||
- line: '| - m_BuildTarget: MacStandaloneSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: Switch'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: MetroSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: AppleTVSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: BJMSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: LinuxStandaloneSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: PS4Player'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: iOSSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: WindowsStandaloneSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: XboxOnePlayer'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: LuminSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: AndroidPlayer'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| - m_BuildTarget: WebGLSupport'
|
||||
- line: '| m_GraphicsJobs: 0'
|
||||
- line: '| m_BuildTargetGraphicsJobMode: []'
|
||||
- line: '| m_BuildTargetGraphicsAPIs:'
|
||||
- line: '| - m_BuildTarget: AndroidPlayer'
|
||||
- line: '| m_APIs: 150000000b000000'
|
||||
- line: '| m_Automatic: 1'
|
||||
- line: '| - m_BuildTarget: iOSSupport'
|
||||
- line: '| m_APIs: 10000000'
|
||||
- line: '| m_Automatic: 1'
|
||||
- line: '| m_BuildTargetVRSettings: []'
|
||||
- line: '| m_DefaultShaderChunkSizeInMB: 16'
|
||||
- line: '| m_DefaultShaderChunkCount: 0'
|
||||
- line: '| openGLRequireES31: 0'
|
||||
- line: '| openGLRequireES31AEP: 0'
|
||||
- line: '| openGLRequireES32: 0'
|
||||
- line: '| m_TemplateCustomTags: {}'
|
||||
- line: '| mobileMTRendering:'
|
||||
- line: '| Android: 1'
|
||||
- line: '| iPhone: 1'
|
||||
- line: '| tvOS: 1'
|
||||
- line: '| m_BuildTargetGroupLightmapEncodingQuality: []'
|
||||
- line: '| m_BuildTargetGroupHDRCubemapEncodingQuality: []'
|
||||
- line: '| m_BuildTargetGroupLightmapSettings: []'
|
||||
- line: '| m_BuildTargetGroupLoadStoreDebugModeSettings: []'
|
||||
- line: '| m_BuildTargetNormalMapEncoding: []'
|
||||
- line: '| m_BuildTargetDefaultTextureCompressionFormat:'
|
||||
- line: '| - serializedVersion: 3'
|
||||
- line: '| m_BuildTarget: Android'
|
||||
- line: '| m_Formats: 03000000'
|
||||
- line: '| playModeTestRunnerEnabled: 0'
|
||||
- line: '| runPlayModeTestAsEditModeTest: 0'
|
||||
- line: '| actionOnDotNetUnhandledException: 1'
|
||||
- line: '| editorGfxJobOverride: 1'
|
||||
- line: '| enableInternalProfiler: 0'
|
||||
- line: '| logObjCUncaughtExceptions: 1'
|
||||
- line: '| enableCrashReportAPI: 0'
|
||||
- line: '| cameraUsageDescription: '
|
||||
- line: '| locationUsageDescription: '
|
||||
- line: '| microphoneUsageDescription: '
|
||||
- line: '| bluetoothUsageDescription: '
|
||||
- line: '| macOSTargetOSVersion: 11.0'
|
||||
- line: '| switchNMETAOverride: '
|
||||
- line: '| switchNetLibKey: '
|
||||
- line: '| switchSocketMemoryPoolSize: 6144'
|
||||
- line: '| switchSocketAllocatorPoolSize: 128'
|
||||
- line: '| switchSocketConcurrencyLimit: 14'
|
||||
- line: '| switchScreenResolutionBehavior: 2'
|
||||
- line: '| switchUseCPUProfiler: 0'
|
||||
- line: '| switchEnableFileSystemTrace: 0'
|
||||
- line: '| switchLTOSetting: 0'
|
||||
- line: '| switchApplicationID: 0x01004b9000490000'
|
||||
- line: '| switchNSODependencies: '
|
||||
- line: '| switchCompilerFlags: '
|
||||
- line: '| switchTitleNames_0: '
|
||||
- line: '| switchTitleNames_1: '
|
||||
- line: '| switchTitleNames_2: '
|
||||
- line: '| switchTitleNames_3: '
|
||||
- line: '| switchTitleNames_4: '
|
||||
- line: '| switchTitleNames_5: '
|
||||
- line: '| switchTitleNames_6: '
|
||||
- line: '| switchTitleNames_7: '
|
||||
- line: '| switchTitleNames_8: '
|
||||
- line: '| switchTitleNames_9: '
|
||||
- line: '| switchTitleNames_10: '
|
||||
- line: '| switchTitleNames_11: '
|
||||
- line: '| switchTitleNames_12: '
|
||||
- line: '| switchTitleNames_13: '
|
||||
- line: '| switchTitleNames_14: '
|
||||
- line: '| switchTitleNames_15: '
|
||||
- line: '| switchPublisherNames_0: '
|
||||
- line: '| switchPublisherNames_1: '
|
||||
- line: '| switchPublisherNames_2: '
|
||||
- line: '| switchPublisherNames_3: '
|
||||
- line: '| switchPublisherNames_4: '
|
||||
- line: '| switchPublisherNames_5: '
|
||||
- line: '| switchPublisherNames_6: '
|
||||
- line: '| switchPublisherNames_7: '
|
||||
- line: '| switchPublisherNames_8: '
|
||||
- line: '| switchPublisherNames_9: '
|
||||
- line: '| switchPublisherNames_10: '
|
||||
- line: '| switchPublisherNames_11: '
|
||||
- line: '| switchPublisherNames_12: '
|
||||
- line: '| switchPublisherNames_13: '
|
||||
- line: '| switchPublisherNames_14: '
|
||||
- line: '| switchPublisherNames_15: '
|
||||
- line: '| switchIcons_0: {instanceID: 0}'
|
||||
- line: '| switchIcons_1: {instanceID: 0}'
|
||||
- line: '| switchIcons_2: {instanceID: 0}'
|
||||
- line: '| switchIcons_3: {instanceID: 0}'
|
||||
- line: '| switchIcons_4: {instanceID: 0}'
|
||||
- line: '| switchIcons_5: {instanceID: 0}'
|
||||
- line: '| switchIcons_6: {instanceID: 0}'
|
||||
- line: '| switchIcons_7: {instanceID: 0}'
|
||||
- line: '| switchIcons_8: {instanceID: 0}'
|
||||
- line: '| switchIcons_9: {instanceID: 0}'
|
||||
- line: '| switchIcons_10: {instanceID: 0}'
|
||||
- line: '| switchIcons_11: {instanceID: 0}'
|
||||
- line: '| switchIcons_12: {instanceID: 0}'
|
||||
- line: '| switchIcons_13: {instanceID: 0}'
|
||||
- line: '| switchIcons_14: {instanceID: 0}'
|
||||
- line: '| switchIcons_15: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_0: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_1: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_2: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_3: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_4: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_5: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_6: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_7: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_8: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_9: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_10: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_11: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_12: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_13: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_14: {instanceID: 0}'
|
||||
- line: '| switchSmallIcons_15: {instanceID: 0}'
|
||||
- line: '| switchManualHTML: '
|
||||
- line: '| switchAccessibleURLs: '
|
||||
- line: '| switchLegalInformation: '
|
||||
- line: '| switchMainThreadStackSize: 1048576'
|
||||
- line: '| switchPresenceGroupId: '
|
||||
- line: '| switchLogoHandling: 0'
|
||||
- line: '| switchReleaseVersion: 0'
|
||||
- line: '| switchDisplayVersion: 1.0.0'
|
||||
- line: '| switchStartupUserAccount: 0'
|
||||
- line: '| switchSupportedLanguagesMask: 0'
|
||||
- line: '| switchLogoType: 0'
|
||||
- line: '| switchApplicationErrorCodeCategory: '
|
||||
- line: '| switchUserAccountSaveDataSize: 0'
|
||||
- line: '| switchUserAccountSaveDataJournalSize: 0'
|
||||
- line: '| switchApplicationAttribute: 0'
|
||||
- line: '| switchCardSpecSize: -1'
|
||||
- line: '| switchCardSpecClock: -1'
|
||||
- line: '| switchRatingsMask: 0'
|
||||
- line: '| switchRatingsInt_0: 0'
|
||||
- line: '| switchRatingsInt_1: 0'
|
||||
- line: '| switchRatingsInt_2: 0'
|
||||
- line: '| switchRatingsInt_3: 0'
|
||||
- line: '| switchRatingsInt_4: 0'
|
||||
- line: '| switchRatingsInt_5: 0'
|
||||
- line: '| switchRatingsInt_6: 0'
|
||||
- line: '| switchRatingsInt_7: 0'
|
||||
- line: '| switchRatingsInt_8: 0'
|
||||
- line: '| switchRatingsInt_9: 0'
|
||||
- line: '| switchRatingsInt_10: 0'
|
||||
- line: '| switchRatingsInt_11: 0'
|
||||
- line: '| switchRatingsInt_12: 0'
|
||||
- line: '| switchLocalCommunicationIds_0: '
|
||||
- line: '| switchLocalCommunicationIds_1: '
|
||||
- line: '| switchLocalCommunicationIds_2: '
|
||||
- line: '| switchLocalCommunicationIds_3: '
|
||||
- line: '| switchLocalCommunicationIds_4: '
|
||||
- line: '| switchLocalCommunicationIds_5: '
|
||||
- line: '| switchLocalCommunicationIds_6: '
|
||||
- line: '| switchLocalCommunicationIds_7: '
|
||||
- line: '| switchParentalControl: 0'
|
||||
- line: '| switchAllowsScreenshot: 1'
|
||||
- line: '| switchAllowsVideoCapturing: 1'
|
||||
- line: '| switchAllowsRuntimeAddOnContentInstall: 0'
|
||||
- line: '| switchDataLossConfirmation: 0'
|
||||
- line: '| switchUserAccountLockEnabled: 0'
|
||||
- line: '| switchSystemResourceMemory: 16777216'
|
||||
- line: '| switchSupportedNpadStyles: 22'
|
||||
- line: '| switchNativeFsCacheSize: 32'
|
||||
- line: '| switchIsHoldTypeHorizontal: 0'
|
||||
- line: '| switchSupportedNpadCount: 8'
|
||||
- line: '| switchEnableTouchScreen: 1'
|
||||
- line: '| switchSocketConfigEnabled: 0'
|
||||
- line: '| switchTcpInitialSendBufferSize: 32'
|
||||
- line: '| switchTcpInitialReceiveBufferSize: 64'
|
||||
- line: '| switchTcpAutoSendBufferSizeMax: 256'
|
||||
- line: '| switchTcpAutoReceiveBufferSizeMax: 256'
|
||||
- line: '| switchUdpSendBufferSize: 9'
|
||||
- line: '| switchUdpReceiveBufferSize: 42'
|
||||
- line: '| switchSocketBufferEfficiency: 4'
|
||||
- line: '| switchSocketInitializeEnabled: 1'
|
||||
- line: '| switchNetworkInterfaceManagerInitializeEnabled: 1'
|
||||
- line: '| switchDisableHTCSPlayerConnection: 0'
|
||||
- line: '| switchUseNewStyleFilepaths: 0'
|
||||
- line: '| switchUseLegacyFmodPriorities: 0'
|
||||
- line: '| switchUseMicroSleepForYield: 1'
|
||||
- line: '| switchEnableRamDiskSupport: 0'
|
||||
- line: '| switchMicroSleepForYieldTime: 25'
|
||||
- line: '| switchRamDiskSpaceSize: 12'
|
||||
- line: '| switchUpgradedPlayerSettingsToNMETA: 0'
|
||||
- line: '| ps4NPAgeRating: 12'
|
||||
- line: '| ps4NPTitleSecret: '
|
||||
- line: '| ps4NPTrophyPackPath: '
|
||||
- line: '| ps4ParentalLevel: 11'
|
||||
- line: '| ps4ContentID: ED1633-NPXX51362_00-0000000000000000'
|
||||
- line: '| ps4Category: 0'
|
||||
- line: '| ps4MasterVersion: 01.00'
|
||||
- line: '| ps4AppVersion: 01.00'
|
||||
- line: '| ps4AppType: 0'
|
||||
- line: '| ps4ParamSfxPath: '
|
||||
- line: '| ps4VideoOutPixelFormat: 0'
|
||||
- line: '| ps4VideoOutInitialWidth: 1920'
|
||||
- line: '| ps4VideoOutBaseModeInitialWidth: 1920'
|
||||
- line: '| ps4VideoOutReprojectionRate: 60'
|
||||
- line: '| ps4PronunciationXMLPath: '
|
||||
- line: '| ps4PronunciationSIGPath: '
|
||||
- line: '| ps4BackgroundImagePath: '
|
||||
- line: '| ps4StartupImagePath: '
|
||||
- line: '| ps4StartupImagesFolder: '
|
||||
- line: '| ps4IconImagesFolder: '
|
||||
- line: '| ps4SaveDataImagePath: '
|
||||
- line: '| ps4SdkOverride: '
|
||||
- line: '| ps4BGMPath: '
|
||||
- line: '| ps4ShareFilePath: '
|
||||
- line: '| ps4ShareOverlayImagePath: '
|
||||
- line: '| ps4PrivacyGuardImagePath: '
|
||||
- line: '| ps4ExtraSceSysFile: '
|
||||
- line: '| ps4NPtitleDatPath: '
|
||||
- line: '| ps4RemotePlayKeyAssignment: -1'
|
||||
- line: '| ps4RemotePlayKeyMappingDir: '
|
||||
- line: '| ps4PlayTogetherPlayerCount: 0'
|
||||
- line: '| ps4EnterButtonAssignment: 2'
|
||||
- line: '| ps4ApplicationParam1: 0'
|
||||
- line: '| ps4ApplicationParam2: 0'
|
||||
- line: '| ps4ApplicationParam3: 0'
|
||||
- line: '| ps4ApplicationParam4: 0'
|
||||
- line: '| ps4DownloadDataSize: 0'
|
||||
- line: '| ps4GarlicHeapSize: 2048'
|
||||
- line: '| ps4ProGarlicHeapSize: 2560'
|
||||
- line: '| playerPrefsMaxSize: 32768'
|
||||
- line: '| ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ'
|
||||
- line: '| ps4pnSessions: 1'
|
||||
- line: '| ps4pnPresence: 1'
|
||||
- line: '| ps4pnFriends: 1'
|
||||
- line: '| ps4pnGameCustomData: 1'
|
||||
- line: '| playerPrefsSupport: 0'
|
||||
- line: '| enableApplicationExit: 0'
|
||||
- line: '| resetTempFolder: 1'
|
||||
- line: '| restrictedAudioUsageRights: 0'
|
||||
- line: '| ps4UseResolutionFallback: 0'
|
||||
- line: '| ps4ReprojectionSupport: 0'
|
||||
- line: '| ps4UseAudio3dBackend: 0'
|
||||
- line: '| ps4UseLowGarlicFragmentationMode: 1'
|
||||
- line: '| ps4SocialScreenEnabled: 0'
|
||||
- line: '| ps4ScriptOptimizationLevel: 2'
|
||||
- line: '| ps4Audio3dVirtualSpeakerCount: 14'
|
||||
- line: '| ps4attribCpuUsage: 0'
|
||||
- line: '| ps4PatchPkgPath: '
|
||||
- line: '| ps4PatchLatestPkgPath: '
|
||||
- line: '| ps4PatchChangeinfoPath: '
|
||||
- line: '| ps4PatchDayOne: 0'
|
||||
- line: '| ps4attribUserManagement: 0'
|
||||
- line: '| ps4attribMoveSupport: 0'
|
||||
- line: '| ps4attrib3DSupport: 0'
|
||||
- line: '| ps4attribShareSupport: 0'
|
||||
- line: '| ps4attribExclusiveVR: 0'
|
||||
- line: '| ps4disableAutoHideSplash: 0'
|
||||
- line: '| ps4videoRecordingFeaturesUsed: 0'
|
||||
- line: '| ps4contentSearchFeaturesUsed: 0'
|
||||
- line: '| ps4CompatibilityPS5: 0'
|
||||
- line: '| ps4AllowPS5Detection: 0'
|
||||
- line: '| ps4GPU800MHz: 1'
|
||||
- line: '| ps4attribEyeToEyeDistanceSettingVR: 0'
|
||||
- line: '| ps4IncludedModules: []'
|
||||
- line: '| ps4attribVROutputEnabled: 0'
|
||||
- line: '| monoEnv: '
|
||||
- line: '| splashScreenBackgroundSourceLandscape: {instanceID: 0}'
|
||||
- line: '| splashScreenBackgroundSourcePortrait: {instanceID: 0}'
|
||||
- line: '| blurSplashScreenBackground: 1'
|
||||
- line: '| spritePackerPolicy: '
|
||||
- line: '| webGLMemorySize: 32'
|
||||
- line: '| webGLExceptionSupport: 1'
|
||||
- line: '| webGLNameFilesAsHashes: 0'
|
||||
- line: '| webGLShowDiagnostics: 0'
|
||||
- line: '| webGLDataCaching: 1'
|
||||
- line: '| webGLDebugSymbols: 0'
|
||||
- line: '| webGLEmscriptenArgs: '
|
||||
- line: '| webGLModulesDirectory: '
|
||||
- line: '| webGLTemplate: APPLICATION:Default'
|
||||
- line: '| webGLAnalyzeBuildSize: 0'
|
||||
- line: '| webGLUseEmbeddedResources: 0'
|
||||
- line: '| webGLCompressionFormat: 0'
|
||||
- line: '| webGLWasmArithmeticExceptions: 0'
|
||||
- line: '| webGLLinkerTarget: 1'
|
||||
- line: '| webGLThreadsSupport: 0'
|
||||
- line: '| webGLDecompressionFallback: 0'
|
||||
- line: '| webGLInitialMemorySize: 32'
|
||||
- line: '| webGLMaximumMemorySize: 2048'
|
||||
- line: '| webGLMemoryGrowthMode: 2'
|
||||
- line: '| webGLMemoryLinearGrowthStep: 16'
|
||||
- line: '| webGLMemoryGeometricGrowthStep: 0.2'
|
||||
- line: '| webGLMemoryGeometricGrowthCap: 96'
|
||||
- line: '| webGLPowerPreference: 2'
|
||||
- line: '| webGLWebAssemblyTable: 0'
|
||||
- line: '| webGLWebAssemblyBigInt: 0'
|
||||
- line: '| webGLCloseOnQuit: 0'
|
||||
- line: '| webWasm2023: 0'
|
||||
- line: '| webEnableSubmoduleStrippingCompatibility: 0'
|
||||
- line: '| scriptingDefineSymbols:'
|
||||
- line: '| Standalone: MIRROR;MIRROR_89_OR_NEWER;MIRROR_90_OR_NEWER;MIRROR_93_OR_NEWER;MIRROR_96_OR_NEWER;EDGEGAP_PLUGIN_SERVERS'
|
||||
- line: '| additionalCompilerArguments: {}'
|
||||
- line: '| platformArchitecture: {}'
|
||||
- line: '| scriptingBackend:'
|
||||
- line: '| Android: 1'
|
||||
- line: '| il2cppCompilerConfiguration: {}'
|
||||
- line: '| il2cppCodeGeneration: {}'
|
||||
- line: '| il2cppStacktraceInformation: {}'
|
||||
- line: '| managedStrippingLevel: {}'
|
||||
- line: '| incrementalIl2cppBuild: {}'
|
||||
- line: '| suppressCommonWarnings: 1'
|
||||
- line: '| allowUnsafeCode: 0'
|
||||
- line: '| useDeterministicCompilation: 1'
|
||||
- line: '| additionalIl2CppArgs: '
|
||||
- line: '| scriptingRuntimeVersion: 1'
|
||||
- line: '| gcIncremental: 1'
|
||||
- line: '| gcWBarrierValidation: 0'
|
||||
- line: '| apiCompatibilityLevelPerPlatform: {}'
|
||||
- line: '| editorAssembliesCompatibilityLevel: 1'
|
||||
- line: '| m_RenderingPath: 1'
|
||||
- line: '| m_MobileRenderingPath: 1'
|
||||
- line: '| metroPackageName: Petition to the Gods V3'
|
||||
- line: '| metroPackageVersion: '
|
||||
- line: '| metroCertificatePath: '
|
||||
- line: '| metroCertificatePassword: '
|
||||
- line: '| metroCertificateSubject: '
|
||||
- line: '| metroCertificateIssuer: '
|
||||
- line: '| metroCertificateNotAfter: 0000000000000000'
|
||||
- line: '| metroApplicationDescription: Petition to the Gods V3'
|
||||
- line: '| wsaImages: {}'
|
||||
- line: '| metroTileShortName: '
|
||||
- line: '| metroTileShowName: 0'
|
||||
- line: '| metroMediumTileShowName: 0'
|
||||
- line: '| metroLargeTileShowName: 0'
|
||||
- line: '| metroWideTileShowName: 0'
|
||||
- line: '| metroSupportStreamingInstall: 0'
|
||||
- line: '| metroLastRequiredScene: 0'
|
||||
- line: '| metroDefaultTileSize: 1'
|
||||
- line: '| metroTileForegroundText: 2'
|
||||
- line: '| metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628,
|
||||
a: 0}'
|
||||
- line: '| metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902,
|
||||
b: 0.21568628, a: 1}'
|
||||
- line: '| metroSplashScreenUseBackgroundColor: 0'
|
||||
- line: '| syncCapabilities: 0'
|
||||
- line: '| platformCapabilities: {}'
|
||||
- line: '| metroTargetDeviceFamilies: {}'
|
||||
- line: '| metroFTAName: '
|
||||
- line: '| metroFTAFileTypes: []'
|
||||
- line: '| metroProtocolName: '
|
||||
- line: '| vcxProjDefaultLanguage: '
|
||||
- line: '| XboxOneProductId: '
|
||||
- line: '| XboxOneUpdateKey: '
|
||||
- line: '| XboxOneSandboxId: '
|
||||
- line: '| XboxOneContentId: '
|
||||
- line: '| XboxOneTitleId: '
|
||||
- line: '| XboxOneSCId: '
|
||||
- line: '| XboxOneGameOsOverridePath: '
|
||||
- line: '| XboxOnePackagingOverridePath: '
|
||||
- line: '| XboxOneAppManifestOverridePath: '
|
||||
- line: '| XboxOneVersion: 1.0.0.0'
|
||||
- line: '| XboxOnePackageEncryption: 0'
|
||||
- line: '| XboxOnePackageUpdateGranularity: 2'
|
||||
- line: '| XboxOneDescription: '
|
||||
- line: '| XboxOneLanguage:'
|
||||
- line: '| - enus'
|
||||
- line: '| XboxOneCapability: []'
|
||||
- line: '| XboxOneGameRating: {}'
|
||||
- line: '| XboxOneIsContentPackage: 0'
|
||||
- line: '| XboxOneEnhancedXboxCompatibilityMode: 0'
|
||||
- line: '| XboxOneEnableGPUVariability: 1'
|
||||
- line: '| XboxOneSockets: {}'
|
||||
- line: '| XboxOneSplashScreen: {instanceID: 0}'
|
||||
- line: '| XboxOneAllowedProductIds: []'
|
||||
- line: '| XboxOnePersistentLocalStorageSize: 0'
|
||||
- line: '| XboxOneXTitleMemory: 8'
|
||||
- line: '| XboxOneOverrideIdentityName: '
|
||||
- line: '| XboxOneOverrideIdentityPublisher: '
|
||||
- line: '| vrEditorSettings: {}'
|
||||
- line: '| cloudServicesEnabled: {}'
|
||||
- line: '| luminIcon:'
|
||||
- line: '| m_Name: '
|
||||
- line: '| m_ModelFolderPath: '
|
||||
- line: '| m_PortalFolderPath: '
|
||||
- line: '| luminCert:'
|
||||
- line: '| m_CertPath: '
|
||||
- line: '| m_SignPackage: 1'
|
||||
- line: '| luminIsChannelApp: 0'
|
||||
- line: '| luminVersion:'
|
||||
- line: '| m_VersionCode: 1'
|
||||
- line: '| m_VersionName: '
|
||||
- line: '| hmiPlayerDataPath: '
|
||||
- line: '| hmiForceSRGBBlit: 0'
|
||||
- line: '| embeddedLinuxEnableGamepadInput: 0'
|
||||
- line: '| hmiCpuConfiguration: '
|
||||
- line: '| hmiLogStartupTiming: 0'
|
||||
- line: '| qnxGraphicConfPath: '
|
||||
- line: '| apiCompatibilityLevel: 6'
|
||||
- line: '| captureStartupLogs: {}'
|
||||
- line: '| activeInputHandler: 1'
|
||||
- line: '| windowsGamepadBackendHint: 0'
|
||||
- line: '| cloudProjectId: '
|
||||
- line: '| framebufferDepthMemorylessMode: 0'
|
||||
- line: '| qualitySettingsNames: []'
|
||||
- line: '| projectName: '
|
||||
- line: '| organizationId: '
|
||||
- line: '| cloudEnabled: 0'
|
||||
- line: '| legacyClampBlendShapeWeights: 0'
|
||||
- line: '| hmiLoadingImage: {instanceID: 0}'
|
||||
- line: '| platformRequiresReadableAssets: 0'
|
||||
- line: '| virtualTexturingSupportEnabled: 0'
|
||||
- line: '| insecureHttpOption: 0'
|
||||
- line: '| androidVulkanDenyFilterList: []'
|
||||
- line: '| androidVulkanAllowFilterList: []'
|
||||
- line: '| androidVulkanDeviceFilterListAsset: {instanceID: 0}'
|
||||
- line: '| d3d12DeviceFilterListAsset: {instanceID: 0}'
|
||||
- line: '| '
|
||||
references:
|
||||
version: 2
|
||||
RefIds:
|
||||
- rid: 991019083588436157
|
||||
type: {class: WindowsPlatformSettings, ns: UnityEditor.WindowsStandalone, asm: UnityEditor.WindowsStandalone.Extensions}
|
||||
data:
|
||||
m_Development: 0
|
||||
m_ConnectProfiler: 0
|
||||
m_BuildWithDeepProfilingSupport: 0
|
||||
m_AllowDebugging: 1
|
||||
m_WaitForManagedDebugger: 0
|
||||
m_ManagedDebuggerFixedPort: 0
|
||||
m_ExplicitNullChecks: 0
|
||||
m_ExplicitDivideByZeroChecks: 0
|
||||
m_ExplicitArrayBoundsChecks: 0
|
||||
m_CompressionType: 0
|
||||
m_InstallInBuildFolder: 0
|
||||
m_InsightsSettingsContainer:
|
||||
m_BuildProfileEngineDiagnosticsState: 2
|
||||
m_WindowsBuildAndRunDeployTarget: 0
|
||||
m_Architecture: 0
|
||||
m_CreateSolution: 0
|
||||
m_CopyPDBFiles: 0
|
||||
m_WindowsDevicePortalAddress:
|
||||
m_WindowsDevicePortalUsername:
|
||||
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 280c073e71fd2f2439ae963332bedbc7
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user