diff --git a/Assets/Mirror/Examples/Room.meta b/Assets/Mirror/Examples/Room.meta
deleted file mode 100644
index 51c8ec20e..000000000
--- a/Assets/Mirror/Examples/Room.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ba0822b68f209a743bc575c6f2cc78f0
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Materials.meta b/Assets/Mirror/Examples/Room/Materials.meta
deleted file mode 100644
index 15935716d..000000000
--- a/Assets/Mirror/Examples/Room/Materials.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 177a490b498134246b6eeddfeb608b94
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Materials/PlayArea.mat b/Assets/Mirror/Examples/Room/Materials/PlayArea.mat
deleted file mode 100644
index f39520d10..000000000
--- a/Assets/Mirror/Examples/Room/Materials/PlayArea.mat
+++ /dev/null
@@ -1,77 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
- serializedVersion: 6
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_Name: PlayArea
- m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
- m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _NORMALMAP _SPECULARHIGHLIGHTS_OFF
- m_LightmapFlags: 4
- m_EnableInstancingVariants: 0
- m_DoubleSidedGI: 0
- m_CustomRenderQueue: -1
- stringTagMap: {}
- disabledShaderPasses: []
- m_SavedProperties:
- serializedVersion: 3
- m_TexEnvs:
- - _BumpMap:
- m_Texture: {fileID: 2800000, guid: 1ef4aad253cf7e9488305da905643f09, type: 3}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailAlbedoMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailMask:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailNormalMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _EmissionMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 8, y: 8}
- m_Offset: {x: 0, y: 0}
- - _MainTex:
- m_Texture: {fileID: 2800000, guid: 0ce4715b95ec59e4ca799c740a5e144a, type: 3}
- m_Scale: {x: 8, y: 8}
- m_Offset: {x: 0, y: 0}
- - _MetallicGlossMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _OcclusionMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _ParallaxMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- m_Floats:
- - _BumpScale: 1
- - _Cutoff: 0.5
- - _DetailNormalMapScale: 1
- - _DstBlend: 0
- - _GlossMapScale: 1
- - _Glossiness: 0.5
- - _GlossyReflections: 0
- - _Metallic: 0
- - _Mode: 0
- - _OcclusionStrength: 1
- - _Parallax: 0.02
- - _SmoothnessTextureChannel: 0
- - _SpecularHighlights: 0
- - _SrcBlend: 1
- - _UVSec: 0
- - _ZWrite: 1
- m_Colors:
- - _Color: {r: 0.8867924, g: 0.84346247, b: 0.7654859, a: 1}
- - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
diff --git a/Assets/Mirror/Examples/Room/Materials/PlayArea.mat.meta b/Assets/Mirror/Examples/Room/Materials/PlayArea.mat.meta
deleted file mode 100644
index 093bbc444..000000000
--- a/Assets/Mirror/Examples/Room/Materials/PlayArea.mat.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 3201636fa507dad448e9a36d66a80825
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 2100000
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Materials/Player.mat b/Assets/Mirror/Examples/Room/Materials/Player.mat
deleted file mode 100644
index a394fe1d7..000000000
--- a/Assets/Mirror/Examples/Room/Materials/Player.mat
+++ /dev/null
@@ -1,77 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
- serializedVersion: 6
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_Name: Player
- m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
- m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
- m_LightmapFlags: 4
- m_EnableInstancingVariants: 0
- m_DoubleSidedGI: 0
- m_CustomRenderQueue: -1
- stringTagMap: {}
- disabledShaderPasses: []
- m_SavedProperties:
- serializedVersion: 3
- m_TexEnvs:
- - _BumpMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailAlbedoMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailMask:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailNormalMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _EmissionMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _MainTex:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _MetallicGlossMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _OcclusionMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _ParallaxMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- m_Floats:
- - _BumpScale: 1
- - _Cutoff: 0.5
- - _DetailNormalMapScale: 1
- - _DstBlend: 0
- - _GlossMapScale: 1
- - _Glossiness: 1
- - _GlossyReflections: 0
- - _Metallic: 0
- - _Mode: 0
- - _OcclusionStrength: 1
- - _Parallax: 0.02
- - _SmoothnessTextureChannel: 0
- - _SpecularHighlights: 0
- - _SrcBlend: 1
- - _UVSec: 0
- - _ZWrite: 1
- m_Colors:
- - _Color: {r: 0, g: 0, b: 0, a: 1}
- - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
diff --git a/Assets/Mirror/Examples/Room/Materials/Player.mat.meta b/Assets/Mirror/Examples/Room/Materials/Player.mat.meta
deleted file mode 100644
index 46963af06..000000000
--- a/Assets/Mirror/Examples/Room/Materials/Player.mat.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: ac64a68d9ea8fa9459ff2f158065c1d0
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 2100000
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Materials/Prize.mat b/Assets/Mirror/Examples/Room/Materials/Prize.mat
deleted file mode 100644
index 08f5003a3..000000000
--- a/Assets/Mirror/Examples/Room/Materials/Prize.mat
+++ /dev/null
@@ -1,77 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
- serializedVersion: 6
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_Name: Prize
- m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
- m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
- m_LightmapFlags: 4
- m_EnableInstancingVariants: 0
- m_DoubleSidedGI: 0
- m_CustomRenderQueue: -1
- stringTagMap: {}
- disabledShaderPasses: []
- m_SavedProperties:
- serializedVersion: 3
- m_TexEnvs:
- - _BumpMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailAlbedoMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailMask:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _DetailNormalMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _EmissionMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _MainTex:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _MetallicGlossMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _OcclusionMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- - _ParallaxMap:
- m_Texture: {fileID: 0}
- m_Scale: {x: 1, y: 1}
- m_Offset: {x: 0, y: 0}
- m_Floats:
- - _BumpScale: 1
- - _Cutoff: 0.5
- - _DetailNormalMapScale: 1
- - _DstBlend: 0
- - _GlossMapScale: 1
- - _Glossiness: 1
- - _GlossyReflections: 0
- - _Metallic: 0
- - _Mode: 0
- - _OcclusionStrength: 1
- - _Parallax: 0.02
- - _SmoothnessTextureChannel: 0
- - _SpecularHighlights: 0
- - _SrcBlend: 1
- - _UVSec: 0
- - _ZWrite: 1
- m_Colors:
- - _Color: {r: 0, g: 0, b: 0, a: 1}
- - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
diff --git a/Assets/Mirror/Examples/Room/Materials/Prize.mat.meta b/Assets/Mirror/Examples/Room/Materials/Prize.mat.meta
deleted file mode 100644
index 18935a5dc..000000000
--- a/Assets/Mirror/Examples/Room/Materials/Prize.mat.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: a1d7c9f39b41d414d86e64f7761cd545
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 2100000
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Materials/Textures.meta b/Assets/Mirror/Examples/Room/Materials/Textures.meta
deleted file mode 100644
index 0ab790252..000000000
--- a/Assets/Mirror/Examples/Room/Materials/Textures.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 047a5014adf04914f9ffded62a715e39
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Materials/Textures/Wall01.tga b/Assets/Mirror/Examples/Room/Materials/Textures/Wall01.tga
deleted file mode 100644
index 52fb75590..000000000
Binary files a/Assets/Mirror/Examples/Room/Materials/Textures/Wall01.tga and /dev/null differ
diff --git a/Assets/Mirror/Examples/Room/Materials/Textures/Wall01.tga.meta b/Assets/Mirror/Examples/Room/Materials/Textures/Wall01.tga.meta
deleted file mode 100644
index e48bd9599..000000000
--- a/Assets/Mirror/Examples/Room/Materials/Textures/Wall01.tga.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: 0ce4715b95ec59e4ca799c740a5e144a
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 1
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 0
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: -1
- maxTextureSize: 1024
- textureSettings:
- serializedVersion: 2
- filterMode: -1
- aniso: -1
- mipBias: -100
- wrapU: -1
- wrapV: -1
- wrapW: -1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 0
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 1024
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Materials/Textures/Wall01_n.tga b/Assets/Mirror/Examples/Room/Materials/Textures/Wall01_n.tga
deleted file mode 100644
index c3899abb3..000000000
Binary files a/Assets/Mirror/Examples/Room/Materials/Textures/Wall01_n.tga and /dev/null differ
diff --git a/Assets/Mirror/Examples/Room/Materials/Textures/Wall01_n.tga.meta b/Assets/Mirror/Examples/Room/Materials/Textures/Wall01_n.tga.meta
deleted file mode 100644
index 1e69edae3..000000000
--- a/Assets/Mirror/Examples/Room/Materials/Textures/Wall01_n.tga.meta
+++ /dev/null
@@ -1,88 +0,0 @@
-fileFormatVersion: 2
-guid: 1ef4aad253cf7e9488305da905643f09
-TextureImporter:
- fileIDToRecycleName: {}
- externalObjects: {}
- serializedVersion: 7
- mipmaps:
- mipMapMode: 0
- enableMipMap: 1
- sRGBTexture: 1
- linearTexture: 0
- fadeOut: 0
- borderMipMap: 0
- mipMapsPreserveCoverage: 0
- alphaTestReferenceValue: 0.5
- mipMapFadeDistanceStart: 1
- mipMapFadeDistanceEnd: 3
- bumpmap:
- convertToNormalMap: 0
- externalNormalMap: 1
- heightScale: 0.25
- normalMapFilter: 0
- isReadable: 0
- streamingMipmaps: 0
- streamingMipmapsPriority: 0
- grayScaleToAlpha: 0
- generateCubemap: 6
- cubemapConvolution: 0
- seamlessCubemap: 0
- textureFormat: -1
- maxTextureSize: 1024
- textureSettings:
- serializedVersion: 2
- filterMode: -1
- aniso: -1
- mipBias: -100
- wrapU: -1
- wrapV: -1
- wrapW: -1
- nPOTScale: 1
- lightmap: 0
- compressionQuality: 50
- spriteMode: 0
- spriteExtrude: 1
- spriteMeshType: 1
- alignment: 0
- spritePivot: {x: 0.5, y: 0.5}
- spritePixelsToUnits: 100
- spriteBorder: {x: 0, y: 0, z: 0, w: 0}
- spriteGenerateFallbackPhysicsShape: 1
- alphaUsage: 1
- alphaIsTransparency: 0
- spriteTessellationDetail: -1
- textureType: 1
- textureShape: 1
- singleChannelComponent: 0
- maxTextureSizeSet: 0
- compressionQualitySet: 0
- textureFormatSet: 0
- platformSettings:
- - serializedVersion: 2
- buildTarget: DefaultTexturePlatform
- maxTextureSize: 1024
- resizeAlgorithm: 0
- textureFormat: -1
- textureCompression: 1
- compressionQuality: 50
- crunchedCompression: 0
- allowsAlphaSplitting: 0
- overridden: 0
- androidETC2FallbackOverride: 0
- spriteSheet:
- serializedVersion: 2
- sprites: []
- outline: []
- physicsShape: []
- bones: []
- spriteID:
- vertices: []
- indices:
- edges: []
- weights: []
- spritePackingTag:
- pSDRemoveMatte: 0
- pSDShowRemoveMatteOption: 0
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Prefabs.meta b/Assets/Mirror/Examples/Room/Prefabs.meta
deleted file mode 100644
index 78f4e75b7..000000000
--- a/Assets/Mirror/Examples/Room/Prefabs.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 9a6e603a7f407ec4aa25ac2c2799f71b
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Prefabs/GamePlayer.prefab b/Assets/Mirror/Examples/Room/Prefabs/GamePlayer.prefab
deleted file mode 100644
index 48799c3d9..000000000
--- a/Assets/Mirror/Examples/Room/Prefabs/GamePlayer.prefab
+++ /dev/null
@@ -1,339 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &1430875437483682
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 4216737524944602}
- - component: {fileID: 33190644788701022}
- - component: {fileID: 23708975923909982}
- m_Layer: 0
- m_Name: Visor
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &4216737524944602
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1430875437483682}
- m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
- m_LocalPosition: {x: 0, y: 0.39999998, z: 0.5}
- m_LocalScale: {x: 0.5, y: 0.1, z: 0.2}
- m_Children: []
- m_Father: {fileID: 3138541494209382947}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!33 &33190644788701022
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1430875437483682}
- m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
---- !u!23 &23708975923909982
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1430875437483682}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RenderingLayerMask: 4294967295
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_ReceiveGI: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 0
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
---- !u!1 &1480027675339556
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 4822224316094678}
- - component: {fileID: 114402732107420660}
- - component: {fileID: 114265392388239132}
- - component: {fileID: 143011667059871024}
- - component: {fileID: 6799120071495980942}
- - component: {fileID: -6233809968765690729}
- - component: {fileID: 114892629901890886}
- - component: {fileID: 6261579163786439309}
- - component: {fileID: 115187108610643062}
- m_Layer: 0
- m_Name: GamePlayer
- m_TagString: Player
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &4822224316094678
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 1, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 3138541494209382947}
- m_Father: {fileID: 0}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &114402732107420660
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- sceneId: 0
- serverOnly: 0
- m_AssetId:
- hasSpawned: 0
---- !u!114 &114265392388239132
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 2f74aedd71d9a4f55b3ce499326d45fb, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- syncMode: 0
- syncInterval: 0
- clientAuthority: 1
- localPositionSensitivity: 0.01
- localRotationSensitivity: 0.01
- localScaleSensitivity: 0.01
---- !u!143 &143011667059871024
-CharacterController:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 0
- serializedVersion: 2
- m_Height: 2
- m_Radius: 0.5
- m_SlopeLimit: 45
- m_StepOffset: 0.3
- m_SkinWidth: 0.08
- m_MinMoveDistance: 0.001
- m_Center: {x: 0, y: 0, z: 0}
---- !u!136 &6799120071495980942
-CapsuleCollider:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 0
- m_Radius: 0.5
- m_Height: 1
- m_Direction: 1
- m_Center: {x: 0, y: 0, z: 0}
---- !u!54 &-6233809968765690729
-Rigidbody:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- serializedVersion: 2
- m_Mass: 1
- m_Drag: 0
- m_AngularDrag: 0.05
- m_UseGravity: 0
- m_IsKinematic: 1
- m_Interpolate: 0
- m_Constraints: 0
- m_CollisionDetection: 0
---- !u!114 &114892629901890886
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 24fd13686a451ad498101a604d134e39, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- syncMode: 0
- syncInterval: 0
- characterController: {fileID: 143011667059871024}
- capsuleCollider: {fileID: 6799120071495980942}
- moveSpeed: 8
- turnSensitivity: 5
- maxTurnSpeed: 150
- horizontal: 0
- vertical: 0
- turn: 6.57
- jumpSpeed: 0
- isGrounded: 1
- isFalling: 0
- velocity: {x: 0, y: 0, z: 0}
---- !u!114 &6261579163786439309
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 1e6a8bf08f02e254aa9a52ef0aaa1553, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- syncMode: 0
- syncInterval: 0.1
- color:
- serializedVersion: 2
- rgba: 4278190080
---- !u!114 &115187108610643062
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1480027675339556}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 1ba998ee2eff92a419f4377519caf095, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- syncMode: 0
- syncInterval: 0
- index: 0
- score: 0
---- !u!1 &4926068573968176962
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 3138541494209382947}
- - component: {fileID: 1736510165009824269}
- - component: {fileID: 4008900414740136170}
- m_Layer: 0
- m_Name: Capsule
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &3138541494209382947
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 4926068573968176962}
- 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_Children:
- - {fileID: 4216737524944602}
- m_Father: {fileID: 4822224316094678}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!33 &1736510165009824269
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 4926068573968176962}
- m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0}
---- !u!23 &4008900414740136170
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 4926068573968176962}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RenderingLayerMask: 1
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 2100000, guid: ac64a68d9ea8fa9459ff2f158065c1d0, type: 2}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_ReceiveGI: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 0
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
diff --git a/Assets/Mirror/Examples/Room/Prefabs/GamePlayer.prefab.meta b/Assets/Mirror/Examples/Room/Prefabs/GamePlayer.prefab.meta
deleted file mode 100644
index 0df6ef032..000000000
--- a/Assets/Mirror/Examples/Room/Prefabs/GamePlayer.prefab.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 21daf89214c6ee443ad6875b73083c60
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 100100000
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Prefabs/Prize.prefab b/Assets/Mirror/Examples/Room/Prefabs/Prize.prefab
deleted file mode 100644
index 1adeaa4e6..000000000
--- a/Assets/Mirror/Examples/Room/Prefabs/Prize.prefab
+++ /dev/null
@@ -1,194 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &1139254171913846
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 4362442735993418}
- - component: {fileID: 114251241889735402}
- - component: {fileID: 114048121767222990}
- - component: {fileID: 7669440687796875101}
- - component: {fileID: 135606878775227198}
- - component: {fileID: 1765969535664783447}
- m_Layer: 0
- m_Name: Prize
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 4294967295
- m_IsActive: 1
---- !u!4 &4362442735993418
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1139254171913846}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 1, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 7524893234998283593}
- m_Father: {fileID: 0}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &114251241889735402
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1139254171913846}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- sceneId: 0
- serverOnly: 0
- m_AssetId:
---- !u!114 &114048121767222990
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1139254171913846}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: a22f9eb8ebad79e47babf4c051a714ee, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- syncMode: 0
- syncInterval: 0.1
- available: 1
- spawner: {fileID: 0}
- randomColor: {fileID: 7669440687796875101}
---- !u!114 &7669440687796875101
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1139254171913846}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 1e6a8bf08f02e254aa9a52ef0aaa1553, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- syncMode: 0
- syncInterval: 0.1
- color:
- serializedVersion: 2
- rgba: 4278190080
---- !u!135 &135606878775227198
-SphereCollider:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1139254171913846}
- m_Material: {fileID: 0}
- m_IsTrigger: 1
- m_Enabled: 1
- serializedVersion: 2
- m_Radius: 0.3
- m_Center: {x: 0, y: 0, z: 0}
---- !u!54 &1765969535664783447
-Rigidbody:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1139254171913846}
- serializedVersion: 2
- m_Mass: 1
- m_Drag: 0
- m_AngularDrag: 0.05
- m_UseGravity: 0
- m_IsKinematic: 1
- m_Interpolate: 0
- m_Constraints: 0
- m_CollisionDetection: 0
---- !u!1 &5133204039361288107
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 7524893234998283593}
- - component: {fileID: 8440477969432842110}
- - component: {fileID: 6355089084613864400}
- m_Layer: 0
- m_Name: Sphere
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &7524893234998283593
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 5133204039361288107}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 0.3, y: 0.3, z: 0.3}
- m_Children: []
- m_Father: {fileID: 4362442735993418}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!33 &8440477969432842110
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 5133204039361288107}
- m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
---- !u!23 &6355089084613864400
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 5133204039361288107}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RenderingLayerMask: 1
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 2100000, guid: a1d7c9f39b41d414d86e64f7761cd545, type: 2}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_ReceiveGI: 1
- m_PreserveUVs: 0
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 0
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
diff --git a/Assets/Mirror/Examples/Room/Prefabs/Prize.prefab.meta b/Assets/Mirror/Examples/Room/Prefabs/Prize.prefab.meta
deleted file mode 100644
index 87ab623a0..000000000
--- a/Assets/Mirror/Examples/Room/Prefabs/Prize.prefab.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 52f1c9ea06cfd154cb68ff9d1b66fc13
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 100100000
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Prefabs/RoomPlayer.prefab b/Assets/Mirror/Examples/Room/Prefabs/RoomPlayer.prefab
deleted file mode 100644
index 3f0eed5ad..000000000
--- a/Assets/Mirror/Examples/Room/Prefabs/RoomPlayer.prefab
+++ /dev/null
@@ -1,66 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!1 &1588750985201798
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 4817109203880908}
- - component: {fileID: 114387717104821018}
- - component: {fileID: 114033720796874720}
- m_Layer: 0
- m_Name: RoomPlayer
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &4817109203880908
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1588750985201798}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 1, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &114387717104821018
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1588750985201798}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- sceneId: 0
- serverOnly: 0
- m_AssetId:
---- !u!114 &114033720796874720
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1588750985201798}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41fc608223969754e817c29908fdb1d3, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- syncMode: 0
- syncInterval: 0.1
- showRoomGUI: 1
- readyToBegin: 0
- index: 0
diff --git a/Assets/Mirror/Examples/Room/Prefabs/RoomPlayer.prefab.meta b/Assets/Mirror/Examples/Room/Prefabs/RoomPlayer.prefab.meta
deleted file mode 100644
index 153c825d9..000000000
--- a/Assets/Mirror/Examples/Room/Prefabs/RoomPlayer.prefab.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: deae2134a1d77704b9c595efe69767dd
-NativeFormatImporter:
- externalObjects: {}
- mainObjectFileID: 100100000
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/README.md b/Assets/Mirror/Examples/Room/README.md
deleted file mode 100644
index 178051461..000000000
--- a/Assets/Mirror/Examples/Room/README.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# Room Example
-
-In Build Settings, remove all scenes and add all of the scenes from the Examples\Room\Scenes folder in the following order:
-- OfflineScene
-- RoomScene
-- OnlineScene
-
-If you opened the Offline scene before doing the above steps, you may have to reassign the scenes to the NetworkRoomManagerExt component of the RoomManager scene object.
-
-File -> Build and Run
-
-Start up to 4 built instances: These will all be client players.
-
-Open the Offline scene in the Editor and press Play
-
-Click Host (Server + Client) in the HUD: This will be host and the 5th player. You can also use Server Only if you prefer.
-
-Click Client in the built instances.
-
-Click Ready in each instance, and finally in the Editor (Host).
-
-Click the Start Game button when all players are ready.
-
-You should now be in the Online scene with your players of random color.
-
-WASDQE keys to move & turn your player capsule.
-Collide with the spheres to score points.
-Lighter colors score higher.
diff --git a/Assets/Mirror/Examples/Room/README.md.meta b/Assets/Mirror/Examples/Room/README.md.meta
deleted file mode 100644
index eb4961d75..000000000
--- a/Assets/Mirror/Examples/Room/README.md.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 9110f04bd1e8468479f6625342d311c5
-TextScriptImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scenes.meta b/Assets/Mirror/Examples/Room/Scenes.meta
deleted file mode 100644
index 17072cfd6..000000000
--- a/Assets/Mirror/Examples/Room/Scenes.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 4f704ae4b4f98ae41a0bce26658850c1
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scenes/OfflineScene.unity b/Assets/Mirror/Examples/Room/Scenes/OfflineScene.unity
deleted file mode 100644
index 6aa1dd8df..000000000
--- a/Assets/Mirror/Examples/Room/Scenes/OfflineScene.unity
+++ /dev/null
@@ -1,323 +0,0 @@
-%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: 9
- 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, g: 0, b: 0, 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: 0
- 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_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
- m_UseRadianceAmbientProbe: 0
---- !u!157 &3
-LightmapSettings:
- m_ObjectHideFlags: 0
- serializedVersion: 11
- m_GIWorkflowMode: 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: 10
- m_Resolution: 2
- m_BakeResolution: 40
- m_AtlasSize: 1024
- m_AO: 0
- m_AOMaxDistance: 1
- m_CompAOExponent: 1
- m_CompAOExponentDirect: 0
- m_Padding: 2
- m_LightmapParameters: {fileID: 0}
- m_LightmapsBakeMode: 1
- m_TextureCompression: 1
- m_FinalGather: 0
- m_FinalGatherFiltering: 1
- m_FinalGatherRayCount: 256
- m_ReflectionCompression: 2
- m_MixedBakeMode: 2
- m_BakeBackend: 1
- m_PVRSampling: 1
- m_PVRDirectSampleCount: 32
- m_PVRSampleCount: 500
- m_PVRBounces: 2
- m_PVRFilterTypeDirect: 0
- m_PVRFilterTypeIndirect: 0
- m_PVRFilterTypeAO: 0
- m_PVRFilteringMode: 1
- m_PVRCulling: 1
- m_PVRFilteringGaussRadiusDirect: 1
- m_PVRFilteringGaussRadiusIndirect: 5
- m_PVRFilteringGaussRadiusAO: 2
- m_PVRFilteringAtrousPositionSigmaDirect: 0.5
- m_PVRFilteringAtrousPositionSigmaIndirect: 2
- m_PVRFilteringAtrousPositionSigmaAO: 1
- m_ShowResolutionOverlay: 1
- m_LightingDataAsset: {fileID: 0}
- m_UseShadowmask: 1
---- !u!196 &4
-NavMeshSettings:
- serializedVersion: 2
- m_ObjectHideFlags: 0
- m_BuildSettings:
- serializedVersion: 2
- 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
- accuratePlacement: 0
- debug:
- m_Flags: 0
- m_NavMeshData: {fileID: 0}
---- !u!1 &639890310
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 639890313}
- - component: {fileID: 639890312}
- - component: {fileID: 639890311}
- 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 &639890311
-AudioListener:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 639890310}
- m_Enabled: 1
---- !u!20 &639890312
-Camera:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 639890310}
- m_Enabled: 1
- serializedVersion: 2
- m_ClearFlags: 1
- m_BackGroundColor: {r: 0.23429157, g: 0.254717, b: 0.23546094, a: 0}
- m_projectionMatrixMode: 1
- m_SensorSize: {x: 36, y: 24}
- m_LensShift: {x: 0, y: 0}
- m_GateFitMode: 2
- m_FocalLength: 50
- m_NormalizedViewPortRect:
- serializedVersion: 2
- x: 0
- y: 0
- width: 1
- height: 1
- near clip plane: 0.3
- far clip plane: 1000
- field of view: 26.991467
- orthographic: 0
- 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: 3
- m_HDR: 1
- m_AllowMSAA: 1
- m_AllowDynamicResolution: 0
- m_ForceIntoRT: 0
- m_OcclusionCulling: 1
- m_StereoConvergence: 10
- m_StereoSeparation: 0.022
---- !u!4 &639890313
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 639890310}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 1, z: -10}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1 &2008127829
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 2008127832}
- - component: {fileID: 2008127833}
- - component: {fileID: 2008127831}
- - component: {fileID: 2008127830}
- m_Layer: 0
- m_Name: RoomManager
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!114 &2008127830
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2008127829}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: c7424c1070fad4ba2a7a96b02fbeb4bb, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- OnClientConnected:
- m_PersistentCalls:
- m_Calls: []
- OnClientDataReceived:
- m_PersistentCalls:
- m_Calls: []
- OnClientError:
- m_PersistentCalls:
- m_Calls: []
- OnClientDisconnected:
- m_PersistentCalls:
- m_Calls: []
- OnServerConnected:
- m_PersistentCalls:
- m_Calls: []
- OnServerDataReceived:
- m_PersistentCalls:
- m_Calls: []
- OnServerError:
- m_PersistentCalls:
- m_Calls: []
- OnServerDisconnected:
- m_PersistentCalls:
- m_Calls: []
- port: 7777
- NoDelay: 1
- serverMaxMessageSize: 16384
- clientMaxMessageSize: 16384
---- !u!114 &2008127831
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2008127829}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: e7d8650c751710349bb9546d1697b9cb, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- dontDestroyOnLoad: 1
- runInBackground: 1
- startOnHeadless: 1
- showDebugMessages: 0
- serverTickRate: 30
- offlineScene: Assets/Mirror/Examples/Room/Scenes/OfflineScene.unity
- onlineScene: Assets/Mirror/Examples/Room/Scenes/RoomScene.unity
- transport: {fileID: 2008127830}
- networkAddress: localhost
- maxConnections: 5
- disconnectInactiveConnections: 0
- disconnectInactiveTimeout: 60
- authenticator: {fileID: 0}
- playerPrefab: {fileID: 1480027675339556, guid: 21daf89214c6ee443ad6875b73083c60,
- type: 3}
- autoCreatePlayer: 1
- playerSpawnMethod: 1
- spawnPrefabs:
- - {fileID: 1139254171913846, guid: 52f1c9ea06cfd154cb68ff9d1b66fc13, type: 3}
- showRoomGUI: 1
- minPlayers: 1
- roomPlayerPrefab: {fileID: 114033720796874720, guid: deae2134a1d77704b9c595efe69767dd,
- type: 3}
- RoomScene: Assets/Mirror/Examples/Room/Scenes/RoomScene.unity
- GameplayScene: Assets/Mirror/Examples/Room/Scenes/OnlineScene.unity
- allPlayersReady: 0
- roomSlots: []
---- !u!4 &2008127832
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2008127829}
- 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_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 1
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &2008127833
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2008127829}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 6442dc8070ceb41f094e44de0bf87274, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- showGUI: 1
- offsetX: 0
- offsetY: 0
diff --git a/Assets/Mirror/Examples/Room/Scenes/OfflineScene.unity.meta b/Assets/Mirror/Examples/Room/Scenes/OfflineScene.unity.meta
deleted file mode 100644
index 45332ad88..000000000
--- a/Assets/Mirror/Examples/Room/Scenes/OfflineScene.unity.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 9e6f14982412b2545a0911ebaaa46a23
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scenes/OnlineScene.unity b/Assets/Mirror/Examples/Room/Scenes/OnlineScene.unity
deleted file mode 100644
index 3b9e83981..000000000
--- a/Assets/Mirror/Examples/Room/Scenes/OnlineScene.unity
+++ /dev/null
@@ -1,859 +0,0 @@
-%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: 9
- 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: 0
- m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
- m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 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_IndirectSpecularColor: {r: 0.4366757, g: 0.48427194, b: 0.5645252, a: 1}
- m_UseRadianceAmbientProbe: 0
---- !u!157 &3
-LightmapSettings:
- m_ObjectHideFlags: 0
- serializedVersion: 11
- m_GIWorkflowMode: 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: 10
- m_Resolution: 2
- m_BakeResolution: 40
- m_AtlasSize: 1024
- m_AO: 0
- m_AOMaxDistance: 1
- m_CompAOExponent: 1
- m_CompAOExponentDirect: 0
- m_Padding: 2
- m_LightmapParameters: {fileID: 0}
- m_LightmapsBakeMode: 1
- m_TextureCompression: 1
- m_FinalGather: 0
- m_FinalGatherFiltering: 1
- m_FinalGatherRayCount: 256
- m_ReflectionCompression: 2
- m_MixedBakeMode: 2
- m_BakeBackend: 1
- m_PVRSampling: 1
- m_PVRDirectSampleCount: 32
- m_PVRSampleCount: 500
- m_PVRBounces: 2
- m_PVRFilterTypeDirect: 0
- m_PVRFilterTypeIndirect: 0
- m_PVRFilterTypeAO: 0
- m_PVRFilteringMode: 1
- m_PVRCulling: 1
- m_PVRFilteringGaussRadiusDirect: 1
- m_PVRFilteringGaussRadiusIndirect: 5
- m_PVRFilteringGaussRadiusAO: 2
- m_PVRFilteringAtrousPositionSigmaDirect: 0.5
- m_PVRFilteringAtrousPositionSigmaIndirect: 2
- m_PVRFilteringAtrousPositionSigmaAO: 1
- m_ShowResolutionOverlay: 1
- m_LightingDataAsset: {fileID: 112000002, guid: 83612f89e0d5b404fbd99891bda78df4,
- type: 2}
- m_UseShadowmask: 1
---- !u!196 &4
-NavMeshSettings:
- serializedVersion: 2
- m_ObjectHideFlags: 0
- m_BuildSettings:
- serializedVersion: 2
- 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
- accuratePlacement: 0
- debug:
- m_Flags: 0
- m_NavMeshData: {fileID: 0}
---- !u!1 &29930032
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 29930035}
- - component: {fileID: 29930034}
- - component: {fileID: 29930033}
- m_Layer: 0
- m_Name: Spawner
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!114 &29930033
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 29930032}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 9b91ecbcc199f4492b9a91e820070131, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- serverOnly: 1
- m_AssetId:
- m_SceneId: 6047645
---- !u!114 &29930034
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 29930032}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 0bf5c082d04f7ea459fcd30e60b5bd70, type: 3}
- m_Name:
- m_EditorClassIdentifier:
- syncMode: 0
- syncInterval: 0.1
- prizePrefab: {fileID: 114251241889735402, guid: 52f1c9ea06cfd154cb68ff9d1b66fc13,
- type: 3}
---- !u!4 &29930035
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 29930032}
- 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_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 4
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1 &151116940
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 151116942}
- - component: {fileID: 151116941}
- m_Layer: 0
- m_Name: Directional Light
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!108 &151116941
-Light:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 151116940}
- m_Enabled: 1
- serializedVersion: 8
- m_Type: 1
- m_Color: {r: 0.990566, g: 0.9496818, b: 0.82702917, a: 1}
- m_Intensity: 1
- m_Range: 10
- m_SpotAngle: 30
- m_CookieSize: 10
- m_Shadows:
- m_Type: 2
- m_Resolution: -1
- m_CustomResolution: -1
- m_Strength: 0.7
- m_Bias: 0.05
- m_NormalBias: 0.4
- m_NearPlane: 0.2
- m_Cookie: {fileID: 0}
- m_DrawHalo: 0
- m_Flare: {fileID: 0}
- m_RenderMode: 0
- m_CullingMask:
- serializedVersion: 2
- m_Bits: 4294967295
- m_Lightmapping: 4
- m_LightShadowCasterMode: 0
- m_AreaSize: {x: 1, y: 1}
- m_BounceIntensity: 1
- m_ColorTemperature: 6570
- m_UseColorTemperature: 0
- m_ShadowRadius: 0
- m_ShadowAngle: 0
---- !u!4 &151116942
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 151116940}
- m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
- m_LocalPosition: {x: 0, y: 10, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 1
- m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
---- !u!1 &204334129
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 204334130}
- - component: {fileID: 204334131}
- m_Layer: 0
- m_Name: PlayerStart
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &204334130
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 204334129}
- m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: -15}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1445635740}
- m_RootOrder: 4
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!114 &204334131
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 204334129}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41f84591ce72545258ea98cb7518d8b9, type: 3}
- m_Name:
- m_EditorClassIdentifier:
---- !u!1 &263230754
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 263230755}
- - component: {fileID: 263230756}
- m_Layer: 0
- m_Name: PlayerStart
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &263230755
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 263230754}
- m_LocalRotation: {x: 0, y: 0.38268343, z: 0, w: 0.92387956}
- m_LocalPosition: {x: -15, y: 0, z: -15}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1445635740}
- m_RootOrder: 5
- m_LocalEulerAnglesHint: {x: 0, y: 45, z: 0}
---- !u!114 &263230756
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 263230754}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41f84591ce72545258ea98cb7518d8b9, type: 3}
- m_Name:
- m_EditorClassIdentifier:
---- !u!1 &290557149
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 290557150}
- - component: {fileID: 290557151}
- m_Layer: 0
- m_Name: PlayerStart
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &290557150
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 290557149}
- m_LocalRotation: {x: 0, y: 0.7071068, z: 0, w: 0.7071068}
- m_LocalPosition: {x: -15, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1445635740}
- m_RootOrder: 6
- m_LocalEulerAnglesHint: {x: 0, y: 90, z: 0}
---- !u!114 &290557151
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 290557149}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41f84591ce72545258ea98cb7518d8b9, type: 3}
- m_Name:
- m_EditorClassIdentifier:
---- !u!1 &733367779
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 733367780}
- - component: {fileID: 733367781}
- m_Layer: 0
- m_Name: PlayerStart
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &733367780
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 733367779}
- m_LocalRotation: {x: -0, y: 1, z: -0, w: 0}
- m_LocalPosition: {x: 0, y: 0, z: 15}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1445635740}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 180, z: 0}
---- !u!114 &733367781
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 733367779}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41f84591ce72545258ea98cb7518d8b9, type: 3}
- m_Name:
- m_EditorClassIdentifier:
---- !u!1 &990635329
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 990635330}
- - component: {fileID: 990635331}
- m_Layer: 0
- m_Name: PlayerStart
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &990635330
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 990635329}
- m_LocalRotation: {x: 0, y: 0.92387956, z: 0, w: 0.38268343}
- m_LocalPosition: {x: -15, y: 0, z: 15}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1445635740}
- m_RootOrder: 7
- m_LocalEulerAnglesHint: {x: 0, y: 135, z: 0}
---- !u!114 &990635331
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 990635329}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41f84591ce72545258ea98cb7518d8b9, type: 3}
- m_Name:
- m_EditorClassIdentifier:
---- !u!1 &1050066542
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 1050066545}
- - component: {fileID: 1050066544}
- - component: {fileID: 1050066543}
- 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 &1050066543
-AudioListener:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1050066542}
- m_Enabled: 1
---- !u!20 &1050066544
-Camera:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1050066542}
- m_Enabled: 1
- serializedVersion: 2
- m_ClearFlags: 1
- m_BackGroundColor: {r: 0.23429157, g: 0.254717, b: 0.23546094, a: 0}
- m_projectionMatrixMode: 1
- m_SensorSize: {x: 36, y: 24}
- m_LensShift: {x: 0, y: 0}
- m_GateFitMode: 2
- m_FocalLength: 50
- 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: 25
- m_Depth: -1
- m_CullingMask:
- serializedVersion: 2
- m_Bits: 4294967295
- m_RenderingPath: -1
- m_TargetTexture: {fileID: 0}
- m_TargetDisplay: 0
- m_TargetEye: 3
- m_HDR: 1
- m_AllowMSAA: 1
- m_AllowDynamicResolution: 0
- m_ForceIntoRT: 0
- m_OcclusionCulling: 1
- m_StereoConvergence: 10
- m_StereoSeparation: 0.022
---- !u!4 &1050066545
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1050066542}
- m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068}
- m_LocalPosition: {x: 0, y: 70, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0}
---- !u!1 &1305256737
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 1305256745}
- - component: {fileID: 1305256744}
- - component: {fileID: 1305256742}
- - component: {fileID: 1305256743}
- - component: {fileID: 1305256741}
- - component: {fileID: 1305256740}
- - component: {fileID: 1305256739}
- - component: {fileID: 1305256738}
- m_Layer: 0
- m_Name: PlayArea
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!65 &1305256738
-BoxCollider:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1305256737}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 2
- m_Size: {x: 10, y: 2, z: 0.1}
- m_Center: {x: 0, y: 1, z: 5}
---- !u!65 &1305256739
-BoxCollider:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1305256737}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 2
- m_Size: {x: 10, y: 2, z: 0.1}
- m_Center: {x: 0, y: 1, z: -5}
---- !u!65 &1305256740
-BoxCollider:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1305256737}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 2
- m_Size: {x: 0.1, y: 2, z: 10}
- m_Center: {x: 5, y: 1, z: 0}
---- !u!65 &1305256741
-BoxCollider:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1305256737}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 2
- m_Size: {x: 0.1, y: 2, z: 10}
- m_Center: {x: -5, y: 1, z: 0}
---- !u!23 &1305256742
-MeshRenderer:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1305256737}
- m_Enabled: 1
- m_CastShadows: 1
- m_ReceiveShadows: 1
- m_DynamicOccludee: 1
- m_MotionVectors: 1
- m_LightProbeUsage: 1
- m_ReflectionProbeUsage: 1
- m_RenderingLayerMask: 4294967295
- m_RendererPriority: 0
- m_Materials:
- - {fileID: 2100000, guid: 3201636fa507dad448e9a36d66a80825, type: 2}
- m_StaticBatchInfo:
- firstSubMesh: 0
- subMeshCount: 0
- m_StaticBatchRoot: {fileID: 0}
- m_ProbeAnchor: {fileID: 0}
- m_LightProbeVolumeOverride: {fileID: 0}
- m_ScaleInLightmap: 1
- m_PreserveUVs: 1
- m_IgnoreNormalsForChartDetection: 0
- m_ImportantGI: 0
- m_StitchLightmapSeams: 0
- m_SelectedEditorRenderState: 3
- m_MinimumChartSize: 4
- m_AutoUVMaxDistance: 0.5
- m_AutoUVMaxAngle: 89
- m_LightmapParameters: {fileID: 0}
- m_SortingLayerID: 0
- m_SortingLayer: 0
- m_SortingOrder: 0
---- !u!64 &1305256743
-MeshCollider:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1305256737}
- m_Material: {fileID: 0}
- m_IsTrigger: 0
- m_Enabled: 1
- serializedVersion: 3
- m_Convex: 0
- m_CookingOptions: 14
- m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
---- !u!33 &1305256744
-MeshFilter:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1305256737}
- m_Mesh: {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0}
---- !u!4 &1305256745
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1305256737}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 0, z: 0}
- m_LocalScale: {x: 4, y: 1, z: 4}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 2
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1 &1445635739
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 1445635740}
- m_Layer: 0
- m_Name: StartPositions
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &1445635740
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1445635739}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 1.08, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children:
- - {fileID: 733367780}
- - {fileID: 2127619492}
- - {fileID: 1975674813}
- - {fileID: 1760045337}
- - {fileID: 204334130}
- - {fileID: 263230755}
- - {fileID: 290557150}
- - {fileID: 990635330}
- m_Father: {fileID: 0}
- m_RootOrder: 3
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
---- !u!1 &1760045336
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 1760045337}
- - component: {fileID: 1760045338}
- m_Layer: 0
- m_Name: PlayerStart
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &1760045337
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1760045336}
- m_LocalRotation: {x: 0, y: 0.3826836, z: -0, w: -0.92387944}
- m_LocalPosition: {x: 15, y: 0, z: -15}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1445635740}
- m_RootOrder: 3
- m_LocalEulerAnglesHint: {x: 0, y: 315, z: 0}
---- !u!114 &1760045338
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1760045336}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41f84591ce72545258ea98cb7518d8b9, type: 3}
- m_Name:
- m_EditorClassIdentifier:
---- !u!1 &1975674812
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 1975674813}
- - component: {fileID: 1975674814}
- m_Layer: 0
- m_Name: PlayerStart
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &1975674813
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1975674812}
- m_LocalRotation: {x: 0, y: 0.7071068, z: -0, w: -0.7071068}
- m_LocalPosition: {x: 15, y: 0, z: 0}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1445635740}
- m_RootOrder: 2
- m_LocalEulerAnglesHint: {x: 0, y: 270, z: 0}
---- !u!114 &1975674814
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 1975674812}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41f84591ce72545258ea98cb7518d8b9, type: 3}
- m_Name:
- m_EditorClassIdentifier:
---- !u!1 &2127619491
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 2127619492}
- - component: {fileID: 2127619493}
- m_Layer: 0
- m_Name: PlayerStart
- m_TagString: Untagged
- m_Icon: {fileID: 0}
- m_NavMeshLayer: 0
- m_StaticEditorFlags: 0
- m_IsActive: 1
---- !u!4 &2127619492
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2127619491}
- m_LocalRotation: {x: 0, y: 0.9238796, z: -0, w: -0.38268325}
- m_LocalPosition: {x: 15, y: 0, z: 15}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 1445635740}
- m_RootOrder: 1
- m_LocalEulerAnglesHint: {x: 0, y: 225, z: 0}
---- !u!114 &2127619493
-MonoBehaviour:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 2127619491}
- m_Enabled: 1
- m_EditorHideFlags: 0
- m_Script: {fileID: 11500000, guid: 41f84591ce72545258ea98cb7518d8b9, type: 3}
- m_Name:
- m_EditorClassIdentifier:
diff --git a/Assets/Mirror/Examples/Room/Scenes/OnlineScene.unity.meta b/Assets/Mirror/Examples/Room/Scenes/OnlineScene.unity.meta
deleted file mode 100644
index 8a990fea9..000000000
--- a/Assets/Mirror/Examples/Room/Scenes/OnlineScene.unity.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: d7a6763559b31854586c9e49916273ef
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scenes/RoomScene.unity b/Assets/Mirror/Examples/Room/Scenes/RoomScene.unity
deleted file mode 100644
index 3d5b499b3..000000000
--- a/Assets/Mirror/Examples/Room/Scenes/RoomScene.unity
+++ /dev/null
@@ -1,196 +0,0 @@
-%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: 9
- 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, g: 0, b: 0, 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: 0
- 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_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
- m_UseRadianceAmbientProbe: 0
---- !u!157 &3
-LightmapSettings:
- m_ObjectHideFlags: 0
- serializedVersion: 11
- m_GIWorkflowMode: 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: 10
- m_Resolution: 2
- m_BakeResolution: 40
- m_AtlasSize: 1024
- m_AO: 0
- m_AOMaxDistance: 1
- m_CompAOExponent: 1
- m_CompAOExponentDirect: 0
- m_Padding: 2
- m_LightmapParameters: {fileID: 0}
- m_LightmapsBakeMode: 1
- m_TextureCompression: 1
- m_FinalGather: 0
- m_FinalGatherFiltering: 1
- m_FinalGatherRayCount: 256
- m_ReflectionCompression: 2
- m_MixedBakeMode: 2
- m_BakeBackend: 1
- m_PVRSampling: 1
- m_PVRDirectSampleCount: 32
- m_PVRSampleCount: 500
- m_PVRBounces: 2
- m_PVRFilterTypeDirect: 0
- m_PVRFilterTypeIndirect: 0
- m_PVRFilterTypeAO: 0
- m_PVRFilteringMode: 1
- m_PVRCulling: 1
- m_PVRFilteringGaussRadiusDirect: 1
- m_PVRFilteringGaussRadiusIndirect: 5
- m_PVRFilteringGaussRadiusAO: 2
- m_PVRFilteringAtrousPositionSigmaDirect: 0.5
- m_PVRFilteringAtrousPositionSigmaIndirect: 2
- m_PVRFilteringAtrousPositionSigmaAO: 1
- m_ShowResolutionOverlay: 1
- m_LightingDataAsset: {fileID: 0}
- m_UseShadowmask: 1
---- !u!196 &4
-NavMeshSettings:
- serializedVersion: 2
- m_ObjectHideFlags: 0
- m_BuildSettings:
- serializedVersion: 2
- 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
- accuratePlacement: 0
- debug:
- m_Flags: 0
- m_NavMeshData: {fileID: 0}
---- !u!1 &639890310
-GameObject:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- serializedVersion: 6
- m_Component:
- - component: {fileID: 639890313}
- - component: {fileID: 639890312}
- - component: {fileID: 639890311}
- 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 &639890311
-AudioListener:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 639890310}
- m_Enabled: 1
---- !u!20 &639890312
-Camera:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 639890310}
- m_Enabled: 1
- serializedVersion: 2
- m_ClearFlags: 1
- m_BackGroundColor: {r: 0.23429157, g: 0.254717, b: 0.23546094, a: 0}
- m_projectionMatrixMode: 1
- m_SensorSize: {x: 36, y: 24}
- m_LensShift: {x: 0, y: 0}
- m_GateFitMode: 2
- m_FocalLength: 50
- 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: 0
- orthographic size: 5
- m_Depth: -1
- m_CullingMask:
- serializedVersion: 2
- m_Bits: 4294967295
- m_RenderingPath: 3
- m_TargetTexture: {fileID: 0}
- m_TargetDisplay: 0
- m_TargetEye: 3
- m_HDR: 1
- m_AllowMSAA: 0
- m_AllowDynamicResolution: 0
- m_ForceIntoRT: 0
- m_OcclusionCulling: 1
- m_StereoConvergence: 10
- m_StereoSeparation: 0.022
---- !u!4 &639890313
-Transform:
- m_ObjectHideFlags: 0
- m_CorrespondingSourceObject: {fileID: 0}
- m_PrefabInstance: {fileID: 0}
- m_PrefabAsset: {fileID: 0}
- m_GameObject: {fileID: 639890310}
- m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
- m_LocalPosition: {x: 0, y: 1, z: -10}
- m_LocalScale: {x: 1, y: 1, z: 1}
- m_Children: []
- m_Father: {fileID: 0}
- m_RootOrder: 0
- m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
diff --git a/Assets/Mirror/Examples/Room/Scenes/RoomScene.unity.meta b/Assets/Mirror/Examples/Room/Scenes/RoomScene.unity.meta
deleted file mode 100644
index 87490263c..000000000
--- a/Assets/Mirror/Examples/Room/Scenes/RoomScene.unity.meta
+++ /dev/null
@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 48478f4d522f96945b8396f376299d3a
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scripts.meta b/Assets/Mirror/Examples/Room/Scripts.meta
deleted file mode 100644
index b15256aa0..000000000
--- a/Assets/Mirror/Examples/Room/Scripts.meta
+++ /dev/null
@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 03401915dd450454e88f0a839d3346f1
-folderAsset: yes
-DefaultImporter:
- externalObjects: {}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scripts/NetworkRoomManagerExt.cs b/Assets/Mirror/Examples/Room/Scripts/NetworkRoomManagerExt.cs
deleted file mode 100644
index 6313609ed..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/NetworkRoomManagerExt.cs
+++ /dev/null
@@ -1,78 +0,0 @@
-using UnityEngine;
-using UnityEngine.SceneManagement;
-
-namespace Mirror.Examples.NetworkRoom
-{
- [AddComponentMenu("")]
- public class NetworkRoomManagerExt : NetworkRoomManager
- {
- ///
- /// Called just after GamePlayer object is instantiated and just before it replaces RoomPlayer object.
- /// This is the ideal point to pass any data like player name, credentials, tokens, colors, etc.
- /// into the GamePlayer object as it is about to enter the Online scene.
- ///
- ///
- ///
- /// true unless some code in here decides it needs to abort the replacement
- public override bool OnRoomServerSceneLoadedForPlayer(NetworkConnection conn, GameObject roomPlayer, GameObject gamePlayer)
- {
- PlayerScore playerScore = gamePlayer.GetComponent();
- playerScore.index = roomPlayer.GetComponent().index;
- return true;
- }
-
- public override void OnRoomStopClient()
- {
- // Demonstrates how to get the Network Manager out of DontDestroyOnLoad when
- // going to the offline scene to avoid collision with the one that lives there.
- if (gameObject.scene.name == "DontDestroyOnLoad" && !string.IsNullOrEmpty(offlineScene) && SceneManager.GetActiveScene().path != offlineScene)
- SceneManager.MoveGameObjectToScene(gameObject, SceneManager.GetActiveScene());
-
- base.OnRoomStopClient();
- }
-
- public override void OnRoomStopServer()
- {
- // Demonstrates how to get the Network Manager out of DontDestroyOnLoad when
- // going to the offline scene to avoid collision with the one that lives there.
- if (gameObject.scene.name == "DontDestroyOnLoad" && !string.IsNullOrEmpty(offlineScene) && SceneManager.GetActiveScene().path != offlineScene)
- SceneManager.MoveGameObjectToScene(gameObject, SceneManager.GetActiveScene());
-
- base.OnRoomStopServer();
- }
-
- /*
- This code below is to demonstrate how to do a Start button that only appears for the Host player
- showStartButton is a local bool that's needed because OnRoomServerPlayersReady is only fired when
- all players are ready, but if a player cancels their ready state there's no callback to set it back to false
- Therefore, allPlayersReady is used in combination with showStartButton to show/hide the Start button correctly.
- Setting showStartButton false when the button is pressed hides it in the game scene since NetworkRoomManager
- is set as DontDestroyOnLoad = true.
- */
-
- bool showStartButton;
-
- public override void OnRoomServerPlayersReady()
- {
- // calling the base method calls ServerChangeScene as soon as all players are in Ready state.
-#if UNITY_SERVER
- base.OnRoomServerPlayersReady();
-#else
- showStartButton = true;
-#endif
- }
-
- public override void OnGUI()
- {
- base.OnGUI();
-
- if (allPlayersReady && showStartButton && GUI.Button(new Rect(150, 300, 120, 20), "START GAME"))
- {
- // set to false to hide it in the game scene
- showStartButton = false;
-
- ServerChangeScene(GameplayScene);
- }
- }
- }
-}
diff --git a/Assets/Mirror/Examples/Room/Scripts/NetworkRoomManagerExt.cs.meta b/Assets/Mirror/Examples/Room/Scripts/NetworkRoomManagerExt.cs.meta
deleted file mode 100644
index d8f57604d..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/NetworkRoomManagerExt.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: e7d8650c751710349bb9546d1697b9cb
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scripts/NetworkRoomPlayerExt.cs b/Assets/Mirror/Examples/Room/Scripts/NetworkRoomPlayerExt.cs
deleted file mode 100644
index 40e636076..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/NetworkRoomPlayerExt.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using UnityEngine;
-using UnityEngine.SceneManagement;
-
-namespace Mirror.Examples.NetworkRoom
-{
- [AddComponentMenu("")]
- public class NetworkRoomPlayerExt : NetworkRoomPlayer
- {
- static readonly ILogger logger = LogFactory.GetLogger(typeof(NetworkRoomPlayerExt));
-
- public override void OnStartClient()
- {
- if (logger.LogEnabled()) logger.LogFormat(LogType.Log, "OnStartClient {0}", SceneManager.GetActiveScene().path);
-
- base.OnStartClient();
- }
-
- public override void OnClientEnterRoom()
- {
- if (logger.LogEnabled()) logger.LogFormat(LogType.Log, "OnClientEnterRoom {0}", SceneManager.GetActiveScene().path);
- }
-
- public override void OnClientExitRoom()
- {
- if (logger.LogEnabled()) logger.LogFormat(LogType.Log, "OnClientExitRoom {0}", SceneManager.GetActiveScene().path);
- }
-
- public override void ReadyStateChanged(bool _, bool newReadyState)
- {
- if (logger.LogEnabled()) logger.LogFormat(LogType.Log, "ReadyStateChanged {0}", newReadyState);
- }
- }
-}
diff --git a/Assets/Mirror/Examples/Room/Scripts/NetworkRoomPlayerExt.cs.meta b/Assets/Mirror/Examples/Room/Scripts/NetworkRoomPlayerExt.cs.meta
deleted file mode 100644
index 8e4d1359a..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/NetworkRoomPlayerExt.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 41fc608223969754e817c29908fdb1d3
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs b/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs
deleted file mode 100644
index 86916f295..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs
+++ /dev/null
@@ -1,115 +0,0 @@
-using UnityEngine;
-
-namespace Mirror.Examples.NetworkRoom
-{
- [RequireComponent(typeof(CharacterController))]
- [RequireComponent(typeof(NetworkTransform))]
- [RequireComponent(typeof(CapsuleCollider))]
- [RequireComponent(typeof(Rigidbody))]
- public class PlayerController : NetworkBehaviour
- {
- public CharacterController characterController;
- public CapsuleCollider capsuleCollider;
-
- void OnValidate()
- {
- if (characterController == null)
- characterController = GetComponent();
- if (capsuleCollider == null)
- capsuleCollider = GetComponent();
- }
-
- void Start()
- {
- capsuleCollider.enabled = isServer;
- }
-
- public override void OnStartLocalPlayer()
- {
- characterController.enabled = true;
-
- Camera.main.orthographic = false;
- Camera.main.transform.SetParent(transform);
- Camera.main.transform.localPosition = new Vector3(0f, 3f, -8f);
- Camera.main.transform.localEulerAngles = new Vector3(10f, 0f, 0f);
- }
-
- void OnDisable()
- {
- if (isLocalPlayer && Camera.main != null)
- {
- Camera.main.orthographic = true;
- Camera.main.transform.SetParent(null);
- Camera.main.transform.localPosition = new Vector3(0f, 70f, 0f);
- Camera.main.transform.localEulerAngles = new Vector3(90f, 0f, 0f);
- }
- }
-
- [Header("Movement Settings")]
- public float moveSpeed = 8f;
- public float turnSensitivity = 5f;
- public float maxTurnSpeed = 150f;
-
- [Header("Diagnostics")]
- public float horizontal;
- public float vertical;
- public float turn;
- public float jumpSpeed;
- public bool isGrounded = true;
- public bool isFalling;
- public Vector3 velocity;
-
- void Update()
- {
- if (!isLocalPlayer)
- return;
-
- horizontal = Input.GetAxis("Horizontal");
- vertical = Input.GetAxis("Vertical");
-
- // Q and E cancel each other out, reducing the turn to zero
- if (Input.GetKey(KeyCode.Q))
- turn = Mathf.MoveTowards(turn, -maxTurnSpeed, turnSensitivity);
- if (Input.GetKey(KeyCode.E))
- turn = Mathf.MoveTowards(turn, maxTurnSpeed, turnSensitivity);
- if (Input.GetKey(KeyCode.Q) && Input.GetKey(KeyCode.E))
- turn = Mathf.MoveTowards(turn, 0, turnSensitivity);
- if (!Input.GetKey(KeyCode.Q) && !Input.GetKey(KeyCode.E))
- turn = Mathf.MoveTowards(turn, 0, turnSensitivity);
-
- if (isGrounded)
- isFalling = false;
-
- if ((isGrounded || !isFalling) && jumpSpeed < 1f && Input.GetKey(KeyCode.Space))
- {
- jumpSpeed = Mathf.Lerp(jumpSpeed, 1f, 0.5f);
- }
- else if (!isGrounded)
- {
- isFalling = true;
- jumpSpeed = 0;
- }
- }
-
- void FixedUpdate()
- {
- if (!isLocalPlayer || characterController == null)
- return;
-
- transform.Rotate(0f, turn * Time.fixedDeltaTime, 0f);
-
- Vector3 direction = new Vector3(horizontal, jumpSpeed, vertical);
- direction = Vector3.ClampMagnitude(direction, 1f);
- direction = transform.TransformDirection(direction);
- direction *= moveSpeed;
-
- if (jumpSpeed > 0)
- characterController.Move(direction * Time.fixedDeltaTime);
- else
- characterController.SimpleMove(direction);
-
- isGrounded = characterController.isGrounded;
- velocity = characterController.velocity;
- }
- }
-}
diff --git a/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs.meta b/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs.meta
deleted file mode 100644
index 74f8f9565..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/PlayerController.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 24fd13686a451ad498101a604d134e39
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scripts/PlayerScore.cs b/Assets/Mirror/Examples/Room/Scripts/PlayerScore.cs
deleted file mode 100644
index 7fae22ccc..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/PlayerScore.cs
+++ /dev/null
@@ -1,23 +0,0 @@
-using UnityEngine;
-
-namespace Mirror.Examples.NetworkRoom
-{
- public class PlayerScore : NetworkBehaviour
- {
- [SyncVar]
- public int index;
-
- [SyncVar]
- public uint score;
-
- public override void OnStartServer()
- {
- index = connectionToClient.connectionId;
- }
-
- void OnGUI()
- {
- GUI.Box(new Rect(10f + (index * 110), 10f, 100f, 25f), $"P{index}: {score.ToString("0000000")}");
- }
- }
-}
diff --git a/Assets/Mirror/Examples/Room/Scripts/PlayerScore.cs.meta b/Assets/Mirror/Examples/Room/Scripts/PlayerScore.cs.meta
deleted file mode 100644
index 7b1502ffe..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/PlayerScore.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1ba998ee2eff92a419f4377519caf095
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scripts/RandomColor.cs b/Assets/Mirror/Examples/Room/Scripts/RandomColor.cs
deleted file mode 100644
index 6092deb53..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/RandomColor.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using UnityEngine;
-
-namespace Mirror.Examples.NetworkRoom
-{
- public class RandomColor : NetworkBehaviour
- {
- public override void OnStartServer()
- {
- base.OnStartServer();
- color = Random.ColorHSV(0f, 1f, 1f, 1f, 0.5f, 1f);
- }
-
- // Color32 packs to 4 bytes
- [SyncVar(hook = nameof(SetColor))]
- public Color32 color = Color.black;
-
- // Unity clones the material when GetComponent().material is called
- // Cache it here and destroy it in OnDestroy to prevent a memory leak
- Material cachedMaterial;
-
- void SetColor(Color32 oldColor, Color32 newColor)
- {
- if (cachedMaterial == null) cachedMaterial = GetComponentInChildren().material;
- cachedMaterial.color = newColor;
- }
-
- void OnDestroy()
- {
- Destroy(cachedMaterial);
- }
- }
-}
diff --git a/Assets/Mirror/Examples/Room/Scripts/RandomColor.cs.meta b/Assets/Mirror/Examples/Room/Scripts/RandomColor.cs.meta
deleted file mode 100644
index be310a0c1..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/RandomColor.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 1e6a8bf08f02e254aa9a52ef0aaa1553
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scripts/Reward.cs b/Assets/Mirror/Examples/Room/Scripts/Reward.cs
deleted file mode 100644
index ec804a654..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/Reward.cs
+++ /dev/null
@@ -1,59 +0,0 @@
-using UnityEngine;
-
-namespace Mirror.Examples.NetworkRoom
-{
- [RequireComponent(typeof(RandomColor))]
- public class Reward : NetworkBehaviour
- {
- static readonly ILogger logger = LogFactory.GetLogger(typeof(Reward));
-
- public bool available = true;
- public Spawner spawner;
- uint points;
-
- public RandomColor randomColor;
-
- void OnValidate()
- {
- if (randomColor == null)
- randomColor = GetComponent();
- }
-
- [ServerCallback]
- void OnTriggerEnter(Collider other)
- {
- if (other.gameObject.CompareTag("Player"))
- {
- ClaimPrize(other.gameObject);
- }
- }
-
- // This is called from PlayerController.CmdClaimPrize which is invoked by PlayerController.OnControllerColliderHit
- // This only runs on the server
- public void ClaimPrize(GameObject player)
- {
- if (available)
- {
- // This is a fast switch to prevent two players claiming the prize in a bang-bang close contest for it.
- // First hit turns it off, pending the object being destroyed a few frames later.
- available = false;
-
- Color prizeColor = randomColor.color;
-
- // calculate the points from the color ... lighter scores higher as the average approaches 255
- // UnityEngine.Color RGB values are float fractions of 255
- points = (uint)(((prizeColor.r * 255) + (prizeColor.g * 255) + (prizeColor.b * 255)) / 3);
- if (logger.LogEnabled()) logger.LogFormat(LogType.Log, "Scored {0} points R:{1} G:{2} B:{3}", points, prizeColor.r, prizeColor.g, prizeColor.b);
-
- // award the points via SyncVar on the PlayerController
- player.GetComponent().score += points;
-
- // spawn a replacement
- spawner.SpawnPrize();
-
- // destroy this one
- NetworkServer.Destroy(gameObject);
- }
- }
- }
-}
diff --git a/Assets/Mirror/Examples/Room/Scripts/Reward.cs.meta b/Assets/Mirror/Examples/Room/Scripts/Reward.cs.meta
deleted file mode 100644
index 879bc7db3..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/Reward.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: a22f9eb8ebad79e47babf4c051a714ee
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant:
diff --git a/Assets/Mirror/Examples/Room/Scripts/Spawner.cs b/Assets/Mirror/Examples/Room/Scripts/Spawner.cs
deleted file mode 100644
index c31107b17..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/Spawner.cs
+++ /dev/null
@@ -1,26 +0,0 @@
-using UnityEngine;
-
-namespace Mirror.Examples.NetworkRoom
-{
- public class Spawner : NetworkBehaviour
- {
- public NetworkIdentity prizePrefab;
-
- public override void OnStartServer()
- {
- for (int i = 0; i < 10; i++)
- SpawnPrize();
- }
-
- public void SpawnPrize()
- {
- Vector3 spawnPosition = new Vector3(Random.Range(-19, 20), 1, Random.Range(-19, 20));
-
- GameObject newPrize = Instantiate(prizePrefab.gameObject, spawnPosition, Quaternion.identity);
- Reward reward = newPrize.gameObject.GetComponent();
- reward.spawner = this;
-
- NetworkServer.Spawn(newPrize);
- }
- }
-}
diff --git a/Assets/Mirror/Examples/Room/Scripts/Spawner.cs.meta b/Assets/Mirror/Examples/Room/Scripts/Spawner.cs.meta
deleted file mode 100644
index d4103d6b0..000000000
--- a/Assets/Mirror/Examples/Room/Scripts/Spawner.cs.meta
+++ /dev/null
@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0bf5c082d04f7ea459fcd30e60b5bd70
-MonoImporter:
- externalObjects: {}
- serializedVersion: 2
- defaultReferences: []
- executionOrder: 0
- icon: {instanceID: 0}
- userData:
- assetBundleName:
- assetBundleVariant: