├── .gitignore ├── Assets ├── Plugins.meta ├── Plugins │ ├── VideoUpdater.jslib │ └── VideoUpdater.jslib.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Scripts.meta ├── Scripts │ ├── VideoUpdater.cs │ └── VideoUpdater.cs.meta ├── Video.mat ├── Video.mat.meta ├── WebGLTemplates.meta └── WebGLTemplates │ ├── LibJitsiMeet.meta │ └── LibJitsiMeet │ ├── index.html │ ├── index.html.meta │ ├── index.js │ ├── index.js.meta │ ├── lib-jitsi-meet.min.js │ └── lib-jitsi-meet.min.js.meta ├── LICENSE ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset └── XRSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Library 3 | Temp 4 | UserSettings 5 | Logs 6 | build 7 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78db839f7ba714f5381f9d56dc97314e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins/VideoUpdater.jslib: -------------------------------------------------------------------------------- 1 | // This just takes the first video element it finds. 2 | // In a real application you would identify each video element somehow and update a separate texture for each video element. 3 | 4 | mergeInto(LibraryManager.library, { 5 | UpdateTextureFromVideoElement: function (textureId) { 6 | const videoElement = Object.values(window.videoElements)[0]; 7 | if (!videoElement) { 8 | console.log("no video element"); 9 | return; 10 | } 11 | 12 | const texture = GL.textures[textureId]; 13 | if (!texture) { 14 | console.log("no texture for id: " + textureId); 15 | return; 16 | } 17 | 18 | GLctx.bindTexture(GLctx.TEXTURE_2D, texture); 19 | 20 | GLctx.texSubImage2D( 21 | GLctx.TEXTURE_2D, 22 | 0, // level 23 | 0, // x offset 24 | 0, // y offset 25 | videoElement.videoWidth, 26 | videoElement.videoHeight, 27 | GLctx.RGB, 28 | GLctx.UNSIGNED_BYTE, 29 | videoElement 30 | ); 31 | } 32 | }); 33 | -------------------------------------------------------------------------------- /Assets/Plugins/VideoUpdater.jslib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 883c8be5a8a7946989885bebd3c11591 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | WebGL: WebGL 27 | second: 28 | enabled: 1 29 | settings: {} 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d2e61748fb9104183846084a417f0039 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 705507994} 41 | m_IndirectSpecularColor: {r: 0.44657815, g: 0.49641192, b: 0.57481617, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 12 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 0 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 500 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 2 83 | m_PVRDenoiserTypeDirect: 0 84 | m_PVRDenoiserTypeIndirect: 0 85 | m_PVRDenoiserTypeAO: 0 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 0 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ExportTrainingData: 0 98 | m_TrainingDataDestination: TrainingData 99 | m_LightProbeSampleCountMultiplier: 4 100 | m_LightingDataAsset: {fileID: 0} 101 | m_LightingSettings: {fileID: 0} 102 | --- !u!196 &4 103 | NavMeshSettings: 104 | serializedVersion: 2 105 | m_ObjectHideFlags: 0 106 | m_BuildSettings: 107 | serializedVersion: 2 108 | agentTypeID: 0 109 | agentRadius: 0.5 110 | agentHeight: 2 111 | agentSlope: 45 112 | agentClimb: 0.4 113 | ledgeDropHeight: 0 114 | maxJumpAcrossDistance: 0 115 | minRegionArea: 2 116 | manualCellSize: 0 117 | cellSize: 0.16666667 118 | manualTileSize: 0 119 | tileSize: 256 120 | accuratePlacement: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &223974226 127 | GameObject: 128 | m_ObjectHideFlags: 0 129 | m_CorrespondingSourceObject: {fileID: 0} 130 | m_PrefabInstance: {fileID: 0} 131 | m_PrefabAsset: {fileID: 0} 132 | serializedVersion: 6 133 | m_Component: 134 | - component: {fileID: 223974231} 135 | - component: {fileID: 223974230} 136 | - component: {fileID: 223974229} 137 | - component: {fileID: 223974228} 138 | - component: {fileID: 223974227} 139 | m_Layer: 0 140 | m_Name: Cube 141 | m_TagString: Untagged 142 | m_Icon: {fileID: 0} 143 | m_NavMeshLayer: 0 144 | m_StaticEditorFlags: 0 145 | m_IsActive: 1 146 | --- !u!114 &223974227 147 | MonoBehaviour: 148 | m_ObjectHideFlags: 0 149 | m_CorrespondingSourceObject: {fileID: 0} 150 | m_PrefabInstance: {fileID: 0} 151 | m_PrefabAsset: {fileID: 0} 152 | m_GameObject: {fileID: 223974226} 153 | m_Enabled: 1 154 | m_EditorHideFlags: 0 155 | m_Script: {fileID: 11500000, guid: a73fd6119ca4943eab16be85a1a66a65, type: 3} 156 | m_Name: 157 | m_EditorClassIdentifier: 158 | --- !u!65 &223974228 159 | BoxCollider: 160 | m_ObjectHideFlags: 0 161 | m_CorrespondingSourceObject: {fileID: 0} 162 | m_PrefabInstance: {fileID: 0} 163 | m_PrefabAsset: {fileID: 0} 164 | m_GameObject: {fileID: 223974226} 165 | m_Material: {fileID: 0} 166 | m_IsTrigger: 0 167 | m_Enabled: 1 168 | serializedVersion: 2 169 | m_Size: {x: 1, y: 1, z: 1} 170 | m_Center: {x: 0, y: 0, z: 0} 171 | --- !u!23 &223974229 172 | MeshRenderer: 173 | m_ObjectHideFlags: 0 174 | m_CorrespondingSourceObject: {fileID: 0} 175 | m_PrefabInstance: {fileID: 0} 176 | m_PrefabAsset: {fileID: 0} 177 | m_GameObject: {fileID: 223974226} 178 | m_Enabled: 1 179 | m_CastShadows: 1 180 | m_ReceiveShadows: 1 181 | m_DynamicOccludee: 1 182 | m_MotionVectors: 1 183 | m_LightProbeUsage: 1 184 | m_ReflectionProbeUsage: 1 185 | m_RayTracingMode: 2 186 | m_RayTraceProcedural: 0 187 | m_RenderingLayerMask: 1 188 | m_RendererPriority: 0 189 | m_Materials: 190 | - {fileID: 2100000, guid: 1885c2e886df14935841a57bd29d53b2, type: 2} 191 | m_StaticBatchInfo: 192 | firstSubMesh: 0 193 | subMeshCount: 0 194 | m_StaticBatchRoot: {fileID: 0} 195 | m_ProbeAnchor: {fileID: 0} 196 | m_LightProbeVolumeOverride: {fileID: 0} 197 | m_ScaleInLightmap: 1 198 | m_ReceiveGI: 1 199 | m_PreserveUVs: 0 200 | m_IgnoreNormalsForChartDetection: 0 201 | m_ImportantGI: 0 202 | m_StitchLightmapSeams: 1 203 | m_SelectedEditorRenderState: 3 204 | m_MinimumChartSize: 4 205 | m_AutoUVMaxDistance: 0.5 206 | m_AutoUVMaxAngle: 89 207 | m_LightmapParameters: {fileID: 0} 208 | m_SortingLayerID: 0 209 | m_SortingLayer: 0 210 | m_SortingOrder: 0 211 | m_AdditionalVertexStreams: {fileID: 0} 212 | --- !u!33 &223974230 213 | MeshFilter: 214 | m_ObjectHideFlags: 0 215 | m_CorrespondingSourceObject: {fileID: 0} 216 | m_PrefabInstance: {fileID: 0} 217 | m_PrefabAsset: {fileID: 0} 218 | m_GameObject: {fileID: 223974226} 219 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 220 | --- !u!4 &223974231 221 | Transform: 222 | m_ObjectHideFlags: 0 223 | m_CorrespondingSourceObject: {fileID: 0} 224 | m_PrefabInstance: {fileID: 0} 225 | m_PrefabAsset: {fileID: 0} 226 | m_GameObject: {fileID: 223974226} 227 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 228 | m_LocalPosition: {x: 0, y: 0, z: 0} 229 | m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} 230 | m_Children: [] 231 | m_Father: {fileID: 0} 232 | m_RootOrder: 2 233 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 234 | --- !u!1 &705507993 235 | GameObject: 236 | m_ObjectHideFlags: 0 237 | m_CorrespondingSourceObject: {fileID: 0} 238 | m_PrefabInstance: {fileID: 0} 239 | m_PrefabAsset: {fileID: 0} 240 | serializedVersion: 6 241 | m_Component: 242 | - component: {fileID: 705507995} 243 | - component: {fileID: 705507994} 244 | m_Layer: 0 245 | m_Name: Directional Light 246 | m_TagString: Untagged 247 | m_Icon: {fileID: 0} 248 | m_NavMeshLayer: 0 249 | m_StaticEditorFlags: 0 250 | m_IsActive: 1 251 | --- !u!108 &705507994 252 | Light: 253 | m_ObjectHideFlags: 0 254 | m_CorrespondingSourceObject: {fileID: 0} 255 | m_PrefabInstance: {fileID: 0} 256 | m_PrefabAsset: {fileID: 0} 257 | m_GameObject: {fileID: 705507993} 258 | m_Enabled: 1 259 | serializedVersion: 10 260 | m_Type: 1 261 | m_Shape: 0 262 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 263 | m_Intensity: 1 264 | m_Range: 10 265 | m_SpotAngle: 30 266 | m_InnerSpotAngle: 21.802082 267 | m_CookieSize: 10 268 | m_Shadows: 269 | m_Type: 2 270 | m_Resolution: -1 271 | m_CustomResolution: -1 272 | m_Strength: 1 273 | m_Bias: 0.05 274 | m_NormalBias: 0.4 275 | m_NearPlane: 0.2 276 | m_CullingMatrixOverride: 277 | e00: 1 278 | e01: 0 279 | e02: 0 280 | e03: 0 281 | e10: 0 282 | e11: 1 283 | e12: 0 284 | e13: 0 285 | e20: 0 286 | e21: 0 287 | e22: 1 288 | e23: 0 289 | e30: 0 290 | e31: 0 291 | e32: 0 292 | e33: 1 293 | m_UseCullingMatrixOverride: 0 294 | m_Cookie: {fileID: 0} 295 | m_DrawHalo: 0 296 | m_Flare: {fileID: 0} 297 | m_RenderMode: 0 298 | m_CullingMask: 299 | serializedVersion: 2 300 | m_Bits: 4294967295 301 | m_RenderingLayerMask: 1 302 | m_Lightmapping: 1 303 | m_LightShadowCasterMode: 0 304 | m_AreaSize: {x: 1, y: 1} 305 | m_BounceIntensity: 1 306 | m_ColorTemperature: 6570 307 | m_UseColorTemperature: 0 308 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 309 | m_UseBoundingSphereOverride: 0 310 | m_UseViewFrustumForShadowCasterCull: 1 311 | m_ShadowRadius: 0 312 | m_ShadowAngle: 0 313 | --- !u!4 &705507995 314 | Transform: 315 | m_ObjectHideFlags: 0 316 | m_CorrespondingSourceObject: {fileID: 0} 317 | m_PrefabInstance: {fileID: 0} 318 | m_PrefabAsset: {fileID: 0} 319 | m_GameObject: {fileID: 705507993} 320 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 321 | m_LocalPosition: {x: 0, y: 3, z: 0} 322 | m_LocalScale: {x: 1, y: 1, z: 1} 323 | m_Children: [] 324 | m_Father: {fileID: 0} 325 | m_RootOrder: 1 326 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 327 | --- !u!1 &963194225 328 | GameObject: 329 | m_ObjectHideFlags: 0 330 | m_CorrespondingSourceObject: {fileID: 0} 331 | m_PrefabInstance: {fileID: 0} 332 | m_PrefabAsset: {fileID: 0} 333 | serializedVersion: 6 334 | m_Component: 335 | - component: {fileID: 963194228} 336 | - component: {fileID: 963194227} 337 | - component: {fileID: 963194226} 338 | m_Layer: 0 339 | m_Name: Main Camera 340 | m_TagString: MainCamera 341 | m_Icon: {fileID: 0} 342 | m_NavMeshLayer: 0 343 | m_StaticEditorFlags: 0 344 | m_IsActive: 1 345 | --- !u!81 &963194226 346 | AudioListener: 347 | m_ObjectHideFlags: 0 348 | m_CorrespondingSourceObject: {fileID: 0} 349 | m_PrefabInstance: {fileID: 0} 350 | m_PrefabAsset: {fileID: 0} 351 | m_GameObject: {fileID: 963194225} 352 | m_Enabled: 1 353 | --- !u!20 &963194227 354 | Camera: 355 | m_ObjectHideFlags: 0 356 | m_CorrespondingSourceObject: {fileID: 0} 357 | m_PrefabInstance: {fileID: 0} 358 | m_PrefabAsset: {fileID: 0} 359 | m_GameObject: {fileID: 963194225} 360 | m_Enabled: 1 361 | serializedVersion: 2 362 | m_ClearFlags: 1 363 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 364 | m_projectionMatrixMode: 1 365 | m_GateFitMode: 2 366 | m_FOVAxisMode: 0 367 | m_SensorSize: {x: 36, y: 24} 368 | m_LensShift: {x: 0, y: 0} 369 | m_FocalLength: 50 370 | m_NormalizedViewPortRect: 371 | serializedVersion: 2 372 | x: 0 373 | y: 0 374 | width: 1 375 | height: 1 376 | near clip plane: 0.3 377 | far clip plane: 1000 378 | field of view: 60 379 | orthographic: 0 380 | orthographic size: 5 381 | m_Depth: -1 382 | m_CullingMask: 383 | serializedVersion: 2 384 | m_Bits: 4294967295 385 | m_RenderingPath: -1 386 | m_TargetTexture: {fileID: 0} 387 | m_TargetDisplay: 0 388 | m_TargetEye: 3 389 | m_HDR: 1 390 | m_AllowMSAA: 1 391 | m_AllowDynamicResolution: 0 392 | m_ForceIntoRT: 0 393 | m_OcclusionCulling: 1 394 | m_StereoConvergence: 10 395 | m_StereoSeparation: 0.022 396 | --- !u!4 &963194228 397 | Transform: 398 | m_ObjectHideFlags: 0 399 | m_CorrespondingSourceObject: {fileID: 0} 400 | m_PrefabInstance: {fileID: 0} 401 | m_PrefabAsset: {fileID: 0} 402 | m_GameObject: {fileID: 963194225} 403 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 404 | m_LocalPosition: {x: -0.6, y: -0.14, z: -1.24} 405 | m_LocalScale: {x: 1, y: 1, z: 1} 406 | m_Children: [] 407 | m_Father: {fileID: 0} 408 | m_RootOrder: 0 409 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 410 | -------------------------------------------------------------------------------- /Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49aaf0cdacd324e0a834cfb97f6cd451 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/VideoUpdater.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using System.Runtime.InteropServices; 6 | 7 | public class VideoUpdater : MonoBehaviour 8 | { 9 | private Texture2D texture; 10 | private int textureId = 0; 11 | 12 | [DllImport("__Internal")] 13 | private static extern void UpdateTextureFromVideoElement(int textureId); 14 | 15 | void Start() { 16 | texture = new Texture2D(320, 180, TextureFormat.RGBA32, false); 17 | var data = texture.GetPixels(0); 18 | for (int i = 0; i < data.Length; ++i) { 19 | data[i] = Color.black; 20 | } 21 | texture.SetPixels(data, 0); 22 | texture.Apply(false); 23 | 24 | var renderer = GetComponent(); 25 | renderer.material.SetTexture("_MainTex", texture); 26 | } 27 | 28 | void Update() { 29 | if (textureId == 0) { 30 | textureId = texture.GetNativeTextureID(); 31 | } 32 | UpdateTextureFromVideoElement(textureId); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Scripts/VideoUpdater.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a73fd6119ca4943eab16be85a1a66a65 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Video.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Video 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 1, g: 1, b: 1, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | m_BuildTextureStacks: [] 79 | -------------------------------------------------------------------------------- /Assets/Video.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1885c2e886df14935841a57bd29d53b2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/WebGLTemplates.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 844720dd6119643d78005d1241f86d97 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/WebGLTemplates/LibJitsiMeet.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 154ea8fe97e224bf4bb0ac1eee7f7149 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/WebGLTemplates/LibJitsiMeet/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Unity WebGL Player | {{{ PRODUCT_NAME }}} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 30 | 31 | -------------------------------------------------------------------------------- /Assets/WebGLTemplates/LibJitsiMeet/index.html.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10e23e772bfea4f949e3654286777ee7 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/WebGLTemplates/LibJitsiMeet/index.js: -------------------------------------------------------------------------------- 1 | const options = { 2 | hosts: { 3 | domain: 'YOURSTACKNAME.onavstack.net', 4 | muc: 'conference.YOURSTACKNAME.onavstack.net', 5 | focus: 'focus@auth.YOURSTACKNAME.onavstack.net/focus', 6 | }, 7 | serviceUrl: 'wss://YOURSTACKNAME.onavstack.net/YOURSTACKNAME/xmpp-websocket', 8 | openBridgeChannel: 'websocket', 9 | resolution: 180, 10 | }; 11 | 12 | const conferenceName = 'unity-demo'; 13 | 14 | let connection = null; 15 | let isJoined = false; 16 | let room = null; 17 | 18 | var videoElements = {}; 19 | let localTracks = []; 20 | let remoteTracks = {}; 21 | 22 | function onLocalTracks(tracks) { 23 | localTracks = tracks; 24 | if (isJoined) { 25 | for (let i = 0; i < localTracks.length; i++) { 26 | room.addTrack(localTracks[i]); 27 | } 28 | } 29 | } 30 | 31 | function onRemoteTrack(track) { 32 | if (track.isLocal()) { 33 | return; 34 | } 35 | 36 | const participantId = track.getParticipantId(); 37 | 38 | if (!remoteTracks[participantId]) { 39 | remoteTracks[participantId] = []; 40 | } 41 | remoteTracks[participantId].push(track); 42 | 43 | if (track.getType() == 'video') { 44 | // Video elements just get stored, they're accessed from Unity. 45 | const key = "participant-" + participantId; 46 | window.videoElements[key] = document.createElement('video'); 47 | window.videoElements[key].autoplay = true; 48 | track.attach(window.videoElements[key]); 49 | } 50 | else { 51 | // Audio elements get added to the DOM (can be made invisible with CSS) so that the audio plays back. 52 | const audioElement = document.createElement('audio'); 53 | audioElement.autoplay = true; 54 | audioElement.id = "audio-" + participantId; 55 | document.body.appendChild(audioElement); 56 | track.attach(audioElement); 57 | } 58 | } 59 | 60 | function onConferenceJoined() { 61 | isJoined = true; 62 | for (let i = 0; i < localTracks.length; i++) { 63 | room.addTrack(localTracks[i]); 64 | } 65 | } 66 | 67 | function onUserLeft(id) { 68 | if (!remoteTracks[id]) { 69 | return; 70 | } 71 | const tracks = remoteTracks[id]; 72 | for (let i = 0; i < tracks.length; i++) { 73 | if (tracks[i].getType() == 'video') { 74 | const key = "participant-" + id; 75 | const videoElement = window.videoElements[key]; 76 | if (videoElement) { 77 | tracks[i].detach(videoElement); 78 | delete window.videoElements[key]; 79 | } 80 | } 81 | else { 82 | const audioElement = document.getElementById('audio-' + id); 83 | if (audioElement) { 84 | tracks[i].detach(audioElement); 85 | audioElement.parentNode.removeChild(audioElement); 86 | } 87 | } 88 | } 89 | } 90 | 91 | function onConnectionSuccess() { 92 | room = connection.initJitsiConference(conferenceName, options); 93 | room.on(JitsiMeetJS.events.conference.TRACK_ADDED, onRemoteTrack); 94 | room.on(JitsiMeetJS.events.conference.CONFERENCE_JOINED, onConferenceJoined); 95 | room.on(JitsiMeetJS.events.conference.USER_JOINED, id => { remoteTracks[id] = []; }); 96 | room.on(JitsiMeetJS.events.conference.USER_LEFT, onUserLeft); 97 | room.join(); 98 | } 99 | 100 | function unload() { 101 | for (let i = 0; i < localTracks.length; i++) { 102 | localTracks[i].dispose(); 103 | } 104 | room.leave(); 105 | connection.disconnect(); 106 | } 107 | 108 | function connect() { 109 | JitsiMeetJS.init(options); 110 | connection = new JitsiMeetJS.JitsiConnection(null, null, options); 111 | connection.addEventListener(JitsiMeetJS.events.connection.CONNECTION_ESTABLISHED, onConnectionSuccess); 112 | connection.connect(); 113 | JitsiMeetJS.createLocalTracks({devices: ["audio", "video"]}) 114 | .then(onLocalTracks); 115 | } 116 | 117 | window.addEventListener('load', connect); 118 | window.addEventListener('beforeunload', unload); 119 | window.addEventListener('unload', unload); -------------------------------------------------------------------------------- /Assets/WebGLTemplates/LibJitsiMeet/index.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c44d51b94b8754ba88cc502158211ae7 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/WebGLTemplates/LibJitsiMeet/lib-jitsi-meet.min.js.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 430696605bd574a679c600d7264b90fa 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any 2 | person obtaining a copy of this software and associated 3 | documentation files (the "Software"), to deal in the 4 | Software without restriction, including without 5 | limitation the rights to use, copy, modify, merge, 6 | publish, distribute, sublicense, and/or sell copies of 7 | the Software, and to permit persons to whom the Software 8 | is furnished to do so, subject to the following 9 | conditions: 10 | 11 | The above copyright notice and this permission notice 12 | shall be included in all copies or substantial portions 13 | of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF 16 | ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 17 | TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 18 | PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT 19 | SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 21 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR 22 | IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 23 | DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "1.7.1", 4 | "com.unity.ide.rider": "2.0.7", 5 | "com.unity.ide.visualstudio": "2.0.11", 6 | "com.unity.ide.vscode": "1.2.3", 7 | "com.unity.test-framework": "1.1.27", 8 | "com.unity.textmeshpro": "3.0.6", 9 | "com.unity.timeline": "1.4.8", 10 | "com.unity.ugui": "1.0.0", 11 | "com.unity.modules.ai": "1.0.0", 12 | "com.unity.modules.androidjni": "1.0.0", 13 | "com.unity.modules.animation": "1.0.0", 14 | "com.unity.modules.assetbundle": "1.0.0", 15 | "com.unity.modules.audio": "1.0.0", 16 | "com.unity.modules.cloth": "1.0.0", 17 | "com.unity.modules.director": "1.0.0", 18 | "com.unity.modules.imageconversion": "1.0.0", 19 | "com.unity.modules.imgui": "1.0.0", 20 | "com.unity.modules.jsonserialize": "1.0.0", 21 | "com.unity.modules.particlesystem": "1.0.0", 22 | "com.unity.modules.physics": "1.0.0", 23 | "com.unity.modules.physics2d": "1.0.0", 24 | "com.unity.modules.screencapture": "1.0.0", 25 | "com.unity.modules.terrain": "1.0.0", 26 | "com.unity.modules.terrainphysics": "1.0.0", 27 | "com.unity.modules.tilemap": "1.0.0", 28 | "com.unity.modules.ui": "1.0.0", 29 | "com.unity.modules.uielements": "1.0.0", 30 | "com.unity.modules.umbra": "1.0.0", 31 | "com.unity.modules.unityanalytics": "1.0.0", 32 | "com.unity.modules.unitywebrequest": "1.0.0", 33 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 34 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 35 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 36 | "com.unity.modules.unitywebrequestwww": "1.0.0", 37 | "com.unity.modules.vehicles": "1.0.0", 38 | "com.unity.modules.video": "1.0.0", 39 | "com.unity.modules.vr": "1.0.0", 40 | "com.unity.modules.wind": "1.0.0", 41 | "com.unity.modules.xr": "1.0.0" 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": { 4 | "version": "1.7.1", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": { 8 | "com.unity.nuget.newtonsoft-json": "2.0.0" 9 | }, 10 | "url": "https://packages.unity.com" 11 | }, 12 | "com.unity.ext.nunit": { 13 | "version": "1.0.6", 14 | "depth": 1, 15 | "source": "registry", 16 | "dependencies": {}, 17 | "url": "https://packages.unity.com" 18 | }, 19 | "com.unity.ide.rider": { 20 | "version": "2.0.7", 21 | "depth": 0, 22 | "source": "registry", 23 | "dependencies": { 24 | "com.unity.test-framework": "1.1.1" 25 | }, 26 | "url": "https://packages.unity.com" 27 | }, 28 | "com.unity.ide.visualstudio": { 29 | "version": "2.0.11", 30 | "depth": 0, 31 | "source": "registry", 32 | "dependencies": { 33 | "com.unity.test-framework": "1.1.9" 34 | }, 35 | "url": "https://packages.unity.com" 36 | }, 37 | "com.unity.ide.vscode": { 38 | "version": "1.2.3", 39 | "depth": 0, 40 | "source": "registry", 41 | "dependencies": {}, 42 | "url": "https://packages.unity.com" 43 | }, 44 | "com.unity.nuget.newtonsoft-json": { 45 | "version": "2.0.0", 46 | "depth": 1, 47 | "source": "registry", 48 | "dependencies": {}, 49 | "url": "https://packages.unity.com" 50 | }, 51 | "com.unity.test-framework": { 52 | "version": "1.1.27", 53 | "depth": 0, 54 | "source": "registry", 55 | "dependencies": { 56 | "com.unity.ext.nunit": "1.0.6", 57 | "com.unity.modules.imgui": "1.0.0", 58 | "com.unity.modules.jsonserialize": "1.0.0" 59 | }, 60 | "url": "https://packages.unity.com" 61 | }, 62 | "com.unity.textmeshpro": { 63 | "version": "3.0.6", 64 | "depth": 0, 65 | "source": "registry", 66 | "dependencies": { 67 | "com.unity.ugui": "1.0.0" 68 | }, 69 | "url": "https://packages.unity.com" 70 | }, 71 | "com.unity.timeline": { 72 | "version": "1.4.8", 73 | "depth": 0, 74 | "source": "registry", 75 | "dependencies": { 76 | "com.unity.modules.director": "1.0.0", 77 | "com.unity.modules.animation": "1.0.0", 78 | "com.unity.modules.audio": "1.0.0", 79 | "com.unity.modules.particlesystem": "1.0.0" 80 | }, 81 | "url": "https://packages.unity.com" 82 | }, 83 | "com.unity.ugui": { 84 | "version": "1.0.0", 85 | "depth": 0, 86 | "source": "builtin", 87 | "dependencies": { 88 | "com.unity.modules.ui": "1.0.0", 89 | "com.unity.modules.imgui": "1.0.0" 90 | } 91 | }, 92 | "com.unity.modules.ai": { 93 | "version": "1.0.0", 94 | "depth": 0, 95 | "source": "builtin", 96 | "dependencies": {} 97 | }, 98 | "com.unity.modules.androidjni": { 99 | "version": "1.0.0", 100 | "depth": 0, 101 | "source": "builtin", 102 | "dependencies": {} 103 | }, 104 | "com.unity.modules.animation": { 105 | "version": "1.0.0", 106 | "depth": 0, 107 | "source": "builtin", 108 | "dependencies": {} 109 | }, 110 | "com.unity.modules.assetbundle": { 111 | "version": "1.0.0", 112 | "depth": 0, 113 | "source": "builtin", 114 | "dependencies": {} 115 | }, 116 | "com.unity.modules.audio": { 117 | "version": "1.0.0", 118 | "depth": 0, 119 | "source": "builtin", 120 | "dependencies": {} 121 | }, 122 | "com.unity.modules.cloth": { 123 | "version": "1.0.0", 124 | "depth": 0, 125 | "source": "builtin", 126 | "dependencies": { 127 | "com.unity.modules.physics": "1.0.0" 128 | } 129 | }, 130 | "com.unity.modules.director": { 131 | "version": "1.0.0", 132 | "depth": 0, 133 | "source": "builtin", 134 | "dependencies": { 135 | "com.unity.modules.audio": "1.0.0", 136 | "com.unity.modules.animation": "1.0.0" 137 | } 138 | }, 139 | "com.unity.modules.imageconversion": { 140 | "version": "1.0.0", 141 | "depth": 0, 142 | "source": "builtin", 143 | "dependencies": {} 144 | }, 145 | "com.unity.modules.imgui": { 146 | "version": "1.0.0", 147 | "depth": 0, 148 | "source": "builtin", 149 | "dependencies": {} 150 | }, 151 | "com.unity.modules.jsonserialize": { 152 | "version": "1.0.0", 153 | "depth": 0, 154 | "source": "builtin", 155 | "dependencies": {} 156 | }, 157 | "com.unity.modules.particlesystem": { 158 | "version": "1.0.0", 159 | "depth": 0, 160 | "source": "builtin", 161 | "dependencies": {} 162 | }, 163 | "com.unity.modules.physics": { 164 | "version": "1.0.0", 165 | "depth": 0, 166 | "source": "builtin", 167 | "dependencies": {} 168 | }, 169 | "com.unity.modules.physics2d": { 170 | "version": "1.0.0", 171 | "depth": 0, 172 | "source": "builtin", 173 | "dependencies": {} 174 | }, 175 | "com.unity.modules.screencapture": { 176 | "version": "1.0.0", 177 | "depth": 0, 178 | "source": "builtin", 179 | "dependencies": { 180 | "com.unity.modules.imageconversion": "1.0.0" 181 | } 182 | }, 183 | "com.unity.modules.subsystems": { 184 | "version": "1.0.0", 185 | "depth": 1, 186 | "source": "builtin", 187 | "dependencies": { 188 | "com.unity.modules.jsonserialize": "1.0.0" 189 | } 190 | }, 191 | "com.unity.modules.terrain": { 192 | "version": "1.0.0", 193 | "depth": 0, 194 | "source": "builtin", 195 | "dependencies": {} 196 | }, 197 | "com.unity.modules.terrainphysics": { 198 | "version": "1.0.0", 199 | "depth": 0, 200 | "source": "builtin", 201 | "dependencies": { 202 | "com.unity.modules.physics": "1.0.0", 203 | "com.unity.modules.terrain": "1.0.0" 204 | } 205 | }, 206 | "com.unity.modules.tilemap": { 207 | "version": "1.0.0", 208 | "depth": 0, 209 | "source": "builtin", 210 | "dependencies": { 211 | "com.unity.modules.physics2d": "1.0.0" 212 | } 213 | }, 214 | "com.unity.modules.ui": { 215 | "version": "1.0.0", 216 | "depth": 0, 217 | "source": "builtin", 218 | "dependencies": {} 219 | }, 220 | "com.unity.modules.uielements": { 221 | "version": "1.0.0", 222 | "depth": 0, 223 | "source": "builtin", 224 | "dependencies": { 225 | "com.unity.modules.ui": "1.0.0", 226 | "com.unity.modules.imgui": "1.0.0", 227 | "com.unity.modules.jsonserialize": "1.0.0", 228 | "com.unity.modules.uielementsnative": "1.0.0" 229 | } 230 | }, 231 | "com.unity.modules.uielementsnative": { 232 | "version": "1.0.0", 233 | "depth": 1, 234 | "source": "builtin", 235 | "dependencies": { 236 | "com.unity.modules.ui": "1.0.0", 237 | "com.unity.modules.imgui": "1.0.0", 238 | "com.unity.modules.jsonserialize": "1.0.0" 239 | } 240 | }, 241 | "com.unity.modules.umbra": { 242 | "version": "1.0.0", 243 | "depth": 0, 244 | "source": "builtin", 245 | "dependencies": {} 246 | }, 247 | "com.unity.modules.unityanalytics": { 248 | "version": "1.0.0", 249 | "depth": 0, 250 | "source": "builtin", 251 | "dependencies": { 252 | "com.unity.modules.unitywebrequest": "1.0.0", 253 | "com.unity.modules.jsonserialize": "1.0.0" 254 | } 255 | }, 256 | "com.unity.modules.unitywebrequest": { 257 | "version": "1.0.0", 258 | "depth": 0, 259 | "source": "builtin", 260 | "dependencies": {} 261 | }, 262 | "com.unity.modules.unitywebrequestassetbundle": { 263 | "version": "1.0.0", 264 | "depth": 0, 265 | "source": "builtin", 266 | "dependencies": { 267 | "com.unity.modules.assetbundle": "1.0.0", 268 | "com.unity.modules.unitywebrequest": "1.0.0" 269 | } 270 | }, 271 | "com.unity.modules.unitywebrequestaudio": { 272 | "version": "1.0.0", 273 | "depth": 0, 274 | "source": "builtin", 275 | "dependencies": { 276 | "com.unity.modules.unitywebrequest": "1.0.0", 277 | "com.unity.modules.audio": "1.0.0" 278 | } 279 | }, 280 | "com.unity.modules.unitywebrequesttexture": { 281 | "version": "1.0.0", 282 | "depth": 0, 283 | "source": "builtin", 284 | "dependencies": { 285 | "com.unity.modules.unitywebrequest": "1.0.0", 286 | "com.unity.modules.imageconversion": "1.0.0" 287 | } 288 | }, 289 | "com.unity.modules.unitywebrequestwww": { 290 | "version": "1.0.0", 291 | "depth": 0, 292 | "source": "builtin", 293 | "dependencies": { 294 | "com.unity.modules.unitywebrequest": "1.0.0", 295 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 296 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 297 | "com.unity.modules.audio": "1.0.0", 298 | "com.unity.modules.assetbundle": "1.0.0", 299 | "com.unity.modules.imageconversion": "1.0.0" 300 | } 301 | }, 302 | "com.unity.modules.vehicles": { 303 | "version": "1.0.0", 304 | "depth": 0, 305 | "source": "builtin", 306 | "dependencies": { 307 | "com.unity.modules.physics": "1.0.0" 308 | } 309 | }, 310 | "com.unity.modules.video": { 311 | "version": "1.0.0", 312 | "depth": 0, 313 | "source": "builtin", 314 | "dependencies": { 315 | "com.unity.modules.audio": "1.0.0", 316 | "com.unity.modules.ui": "1.0.0", 317 | "com.unity.modules.unitywebrequest": "1.0.0" 318 | } 319 | }, 320 | "com.unity.modules.vr": { 321 | "version": "1.0.0", 322 | "depth": 0, 323 | "source": "builtin", 324 | "dependencies": { 325 | "com.unity.modules.jsonserialize": "1.0.0", 326 | "com.unity.modules.physics": "1.0.0", 327 | "com.unity.modules.xr": "1.0.0" 328 | } 329 | }, 330 | "com.unity.modules.wind": { 331 | "version": "1.0.0", 332 | "depth": 0, 333 | "source": "builtin", 334 | "dependencies": {} 335 | }, 336 | "com.unity.modules.xr": { 337 | "version": "1.0.0", 338 | "depth": 0, 339 | "source": "builtin", 340 | "dependencies": { 341 | "com.unity.modules.physics": "1.0.0", 342 | "com.unity.modules.jsonserialize": "1.0.0", 343 | "com.unity.modules.subsystems": "1.0.0" 344 | } 345 | } 346 | } 347 | } 348 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_SerializeInlineMappingsOnOneLine: 1 -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 13 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | m_LogWhenShaderIsCompiled: 0 63 | m_AllowEnlightenSupportForUpgradedProject: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreviewPackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | oneTimeWarningShown: 0 20 | m_Registries: 21 | - m_Id: main 22 | m_Name: 23 | m_Url: https://packages.unity.com 24 | m_Scopes: [] 25 | m_IsDefault: 1 26 | m_Capabilities: 7 27 | m_UserSelectedRegistryName: 28 | m_UserAddingNewScopedRegistry: 0 29 | m_RegistryInfoDraft: 30 | m_ErrorMessage: 31 | m_Original: 32 | m_Id: 33 | m_Name: 34 | m_Url: 35 | m_Scopes: [] 36 | m_IsDefault: 0 37 | m_Capabilities: 0 38 | m_Modified: 0 39 | m_Name: 40 | m_Url: 41 | m_Scopes: 42 | - 43 | m_SelectedScopeIndex: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 22 7 | productGUID: d9b78195a993544439a194052e64848e 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: jitsi-meet-unity-demo 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | mipStripping: 0 53 | numberOfMipsStripped: 0 54 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 55 | iosShowActivityIndicatorOnLoading: -1 56 | androidShowActivityIndicatorOnLoading: -1 57 | iosUseCustomAppBackgroundBehavior: 0 58 | iosAllowHTTPDownload: 1 59 | allowedAutorotateToPortrait: 1 60 | allowedAutorotateToPortraitUpsideDown: 1 61 | allowedAutorotateToLandscapeRight: 1 62 | allowedAutorotateToLandscapeLeft: 1 63 | useOSAutorotation: 1 64 | use32BitDisplayBuffer: 1 65 | preserveFramebufferAlpha: 0 66 | disableDepthAndStencilBuffers: 0 67 | androidStartInFullscreen: 1 68 | androidRenderOutsideSafeArea: 1 69 | androidUseSwappy: 1 70 | androidBlitType: 0 71 | defaultIsNativeResolution: 1 72 | macRetinaSupport: 1 73 | runInBackground: 1 74 | captureSingleScreen: 0 75 | muteOtherAudioSources: 0 76 | Prepare IOS For Recording: 0 77 | Force IOS Speakers When Recording: 0 78 | deferSystemGesturesMode: 0 79 | hideHomeButton: 0 80 | submitAnalytics: 1 81 | usePlayerLog: 1 82 | bakeCollisionMeshes: 0 83 | forceSingleInstance: 0 84 | useFlipModelSwapchain: 1 85 | resizableWindow: 0 86 | useMacAppStoreValidation: 0 87 | macAppStoreCategory: public.app-category.games 88 | gpuSkinning: 1 89 | xboxPIXTextureCapture: 0 90 | xboxEnableAvatar: 0 91 | xboxEnableKinect: 0 92 | xboxEnableKinectAutoTracking: 0 93 | xboxEnableFitness: 0 94 | visibleInBackground: 1 95 | allowFullscreenSwitch: 1 96 | fullscreenMode: 1 97 | xboxSpeechDB: 0 98 | xboxEnableHeadOrientation: 0 99 | xboxEnableGuest: 0 100 | xboxEnablePIXSampling: 0 101 | metalFramebufferOnly: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOneEnableTypeOptimization: 0 109 | xboxOnePresentImmediateThreshold: 0 110 | switchQueueCommandMemory: 0 111 | switchQueueControlMemory: 16384 112 | switchQueueComputeMemory: 262144 113 | switchNVNShaderPoolsGranularity: 33554432 114 | switchNVNDefaultPoolsGranularity: 16777216 115 | switchNVNOtherPoolsGranularity: 16777216 116 | switchNVNMaxPublicTextureIDCount: 0 117 | switchNVNMaxPublicSamplerIDCount: 0 118 | stadiaPresentMode: 0 119 | stadiaTargetFramerate: 0 120 | vulkanNumSwapchainBuffers: 3 121 | vulkanEnableSetSRGBWrite: 0 122 | vulkanEnablePreTransform: 0 123 | vulkanEnableLateAcquireNextImage: 0 124 | m_SupportedAspectRatios: 125 | 4:3: 1 126 | 5:4: 1 127 | 16:10: 1 128 | 16:9: 1 129 | Others: 1 130 | bundleVersion: 0.1 131 | preloadedAssets: [] 132 | metroInputSource: 0 133 | wsaTransparentSwapchain: 0 134 | m_HolographicPauseOnTrackingLoss: 1 135 | xboxOneDisableKinectGpuReservation: 1 136 | xboxOneEnable7thCore: 1 137 | vrSettings: 138 | enable360StereoCapture: 0 139 | isWsaHolographicRemotingEnabled: 0 140 | enableFrameTimingStats: 0 141 | useHDRDisplay: 0 142 | D3DHDRBitDepth: 0 143 | m_ColorGamuts: 00000000 144 | targetPixelDensity: 30 145 | resolutionScalingMode: 0 146 | androidSupportedAspectRatio: 1 147 | androidMaxAspectRatio: 2.1 148 | applicationIdentifier: {} 149 | buildNumber: 150 | Standalone: 0 151 | iPhone: 0 152 | tvOS: 0 153 | overrideDefaultApplicationIdentifier: 0 154 | AndroidBundleVersionCode: 1 155 | AndroidMinSdkVersion: 19 156 | AndroidTargetSdkVersion: 0 157 | AndroidPreferredInstallLocation: 1 158 | aotOptions: 159 | stripEngineCode: 1 160 | iPhoneStrippingLevel: 0 161 | iPhoneScriptCallOptimization: 0 162 | ForceInternetPermission: 0 163 | ForceSDCardPermission: 0 164 | CreateWallpaper: 0 165 | APKExpansionFiles: 0 166 | keepLoadedShadersAlive: 0 167 | StripUnusedMeshComponents: 1 168 | VertexChannelCompressionMask: 4054 169 | iPhoneSdkVersion: 988 170 | iOSTargetOSVersionString: 11.0 171 | tvOSSdkVersion: 0 172 | tvOSRequireExtendedGameController: 0 173 | tvOSTargetOSVersionString: 11.0 174 | uIPrerenderedIcon: 0 175 | uIRequiresPersistentWiFi: 0 176 | uIRequiresFullScreen: 1 177 | uIStatusBarHidden: 1 178 | uIExitOnSuspend: 0 179 | uIStatusBarStyle: 0 180 | appleTVSplashScreen: {fileID: 0} 181 | appleTVSplashScreen2x: {fileID: 0} 182 | tvOSSmallIconLayers: [] 183 | tvOSSmallIconLayers2x: [] 184 | tvOSLargeIconLayers: [] 185 | tvOSLargeIconLayers2x: [] 186 | tvOSTopShelfImageLayers: [] 187 | tvOSTopShelfImageLayers2x: [] 188 | tvOSTopShelfImageWideLayers: [] 189 | tvOSTopShelfImageWideLayers2x: [] 190 | iOSLaunchScreenType: 0 191 | iOSLaunchScreenPortrait: {fileID: 0} 192 | iOSLaunchScreenLandscape: {fileID: 0} 193 | iOSLaunchScreenBackgroundColor: 194 | serializedVersion: 2 195 | rgba: 0 196 | iOSLaunchScreenFillPct: 100 197 | iOSLaunchScreenSize: 100 198 | iOSLaunchScreenCustomXibPath: 199 | iOSLaunchScreeniPadType: 0 200 | iOSLaunchScreeniPadImage: {fileID: 0} 201 | iOSLaunchScreeniPadBackgroundColor: 202 | serializedVersion: 2 203 | rgba: 0 204 | iOSLaunchScreeniPadFillPct: 100 205 | iOSLaunchScreeniPadSize: 100 206 | iOSLaunchScreeniPadCustomXibPath: 207 | iOSLaunchScreenCustomStoryboardPath: 208 | iOSLaunchScreeniPadCustomStoryboardPath: 209 | iOSDeviceRequirements: [] 210 | iOSURLSchemes: [] 211 | iOSBackgroundModes: 0 212 | iOSMetalForceHardShadows: 0 213 | metalEditorSupport: 1 214 | metalAPIValidation: 1 215 | iOSRenderExtraFrameOnPause: 0 216 | iosCopyPluginsCodeInsteadOfSymlink: 0 217 | appleDeveloperTeamID: 218 | iOSManualSigningProvisioningProfileID: 219 | tvOSManualSigningProvisioningProfileID: 220 | iOSManualSigningProvisioningProfileType: 0 221 | tvOSManualSigningProvisioningProfileType: 0 222 | appleEnableAutomaticSigning: 0 223 | iOSRequireARKit: 0 224 | iOSAutomaticallyDetectAndAddCapabilities: 1 225 | appleEnableProMotion: 0 226 | shaderPrecisionModel: 0 227 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 228 | templatePackageId: com.unity.template.3d@5.0.4 229 | templateDefaultScene: Assets/Scenes/SampleScene.unity 230 | useCustomMainManifest: 0 231 | useCustomLauncherManifest: 0 232 | useCustomMainGradleTemplate: 0 233 | useCustomLauncherGradleManifest: 0 234 | useCustomBaseGradleTemplate: 0 235 | useCustomGradlePropertiesTemplate: 0 236 | useCustomProguardFile: 0 237 | AndroidTargetArchitectures: 1 238 | AndroidSplashScreenScale: 0 239 | androidSplashScreen: {fileID: 0} 240 | AndroidKeystoreName: 241 | AndroidKeyaliasName: 242 | AndroidBuildApkPerCpuArchitecture: 0 243 | AndroidTVCompatibility: 0 244 | AndroidIsGame: 1 245 | AndroidEnableTango: 0 246 | androidEnableBanner: 1 247 | androidUseLowAccuracyLocation: 0 248 | androidUseCustomKeystore: 0 249 | m_AndroidBanners: 250 | - width: 320 251 | height: 180 252 | banner: {fileID: 0} 253 | androidGamepadSupportLevel: 0 254 | AndroidMinifyWithR8: 0 255 | AndroidMinifyRelease: 0 256 | AndroidMinifyDebug: 0 257 | AndroidValidateAppBundleSize: 1 258 | AndroidAppBundleSizeToValidate: 150 259 | m_BuildTargetIcons: [] 260 | m_BuildTargetPlatformIcons: [] 261 | m_BuildTargetBatching: 262 | - m_BuildTarget: Standalone 263 | m_StaticBatching: 1 264 | m_DynamicBatching: 0 265 | - m_BuildTarget: tvOS 266 | m_StaticBatching: 1 267 | m_DynamicBatching: 0 268 | - m_BuildTarget: Android 269 | m_StaticBatching: 1 270 | m_DynamicBatching: 0 271 | - m_BuildTarget: iPhone 272 | m_StaticBatching: 1 273 | m_DynamicBatching: 0 274 | - m_BuildTarget: WebGL 275 | m_StaticBatching: 0 276 | m_DynamicBatching: 0 277 | m_BuildTargetGraphicsJobs: 278 | - m_BuildTarget: MacStandaloneSupport 279 | m_GraphicsJobs: 0 280 | - m_BuildTarget: Switch 281 | m_GraphicsJobs: 1 282 | - m_BuildTarget: MetroSupport 283 | m_GraphicsJobs: 1 284 | - m_BuildTarget: AppleTVSupport 285 | m_GraphicsJobs: 0 286 | - m_BuildTarget: BJMSupport 287 | m_GraphicsJobs: 1 288 | - m_BuildTarget: LinuxStandaloneSupport 289 | m_GraphicsJobs: 1 290 | - m_BuildTarget: PS4Player 291 | m_GraphicsJobs: 1 292 | - m_BuildTarget: iOSSupport 293 | m_GraphicsJobs: 0 294 | - m_BuildTarget: WindowsStandaloneSupport 295 | m_GraphicsJobs: 1 296 | - m_BuildTarget: XboxOnePlayer 297 | m_GraphicsJobs: 1 298 | - m_BuildTarget: LuminSupport 299 | m_GraphicsJobs: 0 300 | - m_BuildTarget: AndroidPlayer 301 | m_GraphicsJobs: 0 302 | - m_BuildTarget: WebGLSupport 303 | m_GraphicsJobs: 0 304 | m_BuildTargetGraphicsJobMode: 305 | - m_BuildTarget: PS4Player 306 | m_GraphicsJobMode: 0 307 | - m_BuildTarget: XboxOnePlayer 308 | m_GraphicsJobMode: 0 309 | m_BuildTargetGraphicsAPIs: 310 | - m_BuildTarget: AndroidPlayer 311 | m_APIs: 150000000b000000 312 | m_Automatic: 0 313 | - m_BuildTarget: iOSSupport 314 | m_APIs: 10000000 315 | m_Automatic: 1 316 | - m_BuildTarget: AppleTVSupport 317 | m_APIs: 10000000 318 | m_Automatic: 1 319 | - m_BuildTarget: WebGLSupport 320 | m_APIs: 0b000000 321 | m_Automatic: 0 322 | m_BuildTargetVRSettings: 323 | - m_BuildTarget: Standalone 324 | m_Enabled: 0 325 | m_Devices: 326 | - Oculus 327 | - OpenVR 328 | openGLRequireES31: 0 329 | openGLRequireES31AEP: 0 330 | openGLRequireES32: 0 331 | m_TemplateCustomTags: {} 332 | mobileMTRendering: 333 | Android: 1 334 | iPhone: 1 335 | tvOS: 1 336 | m_BuildTargetGroupLightmapEncodingQuality: [] 337 | m_BuildTargetGroupLightmapSettings: [] 338 | m_BuildTargetNormalMapEncoding: [] 339 | playModeTestRunnerEnabled: 0 340 | runPlayModeTestAsEditModeTest: 0 341 | actionOnDotNetUnhandledException: 1 342 | enableInternalProfiler: 0 343 | logObjCUncaughtExceptions: 1 344 | enableCrashReportAPI: 0 345 | cameraUsageDescription: 346 | locationUsageDescription: 347 | microphoneUsageDescription: 348 | switchNMETAOverride: 349 | switchNetLibKey: 350 | switchSocketMemoryPoolSize: 6144 351 | switchSocketAllocatorPoolSize: 128 352 | switchSocketConcurrencyLimit: 14 353 | switchScreenResolutionBehavior: 2 354 | switchUseCPUProfiler: 0 355 | switchUseGOLDLinker: 0 356 | switchApplicationID: 0x01004b9000490000 357 | switchNSODependencies: 358 | switchTitleNames_0: 359 | switchTitleNames_1: 360 | switchTitleNames_2: 361 | switchTitleNames_3: 362 | switchTitleNames_4: 363 | switchTitleNames_5: 364 | switchTitleNames_6: 365 | switchTitleNames_7: 366 | switchTitleNames_8: 367 | switchTitleNames_9: 368 | switchTitleNames_10: 369 | switchTitleNames_11: 370 | switchTitleNames_12: 371 | switchTitleNames_13: 372 | switchTitleNames_14: 373 | switchTitleNames_15: 374 | switchPublisherNames_0: 375 | switchPublisherNames_1: 376 | switchPublisherNames_2: 377 | switchPublisherNames_3: 378 | switchPublisherNames_4: 379 | switchPublisherNames_5: 380 | switchPublisherNames_6: 381 | switchPublisherNames_7: 382 | switchPublisherNames_8: 383 | switchPublisherNames_9: 384 | switchPublisherNames_10: 385 | switchPublisherNames_11: 386 | switchPublisherNames_12: 387 | switchPublisherNames_13: 388 | switchPublisherNames_14: 389 | switchPublisherNames_15: 390 | switchIcons_0: {fileID: 0} 391 | switchIcons_1: {fileID: 0} 392 | switchIcons_2: {fileID: 0} 393 | switchIcons_3: {fileID: 0} 394 | switchIcons_4: {fileID: 0} 395 | switchIcons_5: {fileID: 0} 396 | switchIcons_6: {fileID: 0} 397 | switchIcons_7: {fileID: 0} 398 | switchIcons_8: {fileID: 0} 399 | switchIcons_9: {fileID: 0} 400 | switchIcons_10: {fileID: 0} 401 | switchIcons_11: {fileID: 0} 402 | switchIcons_12: {fileID: 0} 403 | switchIcons_13: {fileID: 0} 404 | switchIcons_14: {fileID: 0} 405 | switchIcons_15: {fileID: 0} 406 | switchSmallIcons_0: {fileID: 0} 407 | switchSmallIcons_1: {fileID: 0} 408 | switchSmallIcons_2: {fileID: 0} 409 | switchSmallIcons_3: {fileID: 0} 410 | switchSmallIcons_4: {fileID: 0} 411 | switchSmallIcons_5: {fileID: 0} 412 | switchSmallIcons_6: {fileID: 0} 413 | switchSmallIcons_7: {fileID: 0} 414 | switchSmallIcons_8: {fileID: 0} 415 | switchSmallIcons_9: {fileID: 0} 416 | switchSmallIcons_10: {fileID: 0} 417 | switchSmallIcons_11: {fileID: 0} 418 | switchSmallIcons_12: {fileID: 0} 419 | switchSmallIcons_13: {fileID: 0} 420 | switchSmallIcons_14: {fileID: 0} 421 | switchSmallIcons_15: {fileID: 0} 422 | switchManualHTML: 423 | switchAccessibleURLs: 424 | switchLegalInformation: 425 | switchMainThreadStackSize: 1048576 426 | switchPresenceGroupId: 427 | switchLogoHandling: 0 428 | switchReleaseVersion: 0 429 | switchDisplayVersion: 1.0.0 430 | switchStartupUserAccount: 0 431 | switchTouchScreenUsage: 0 432 | switchSupportedLanguagesMask: 0 433 | switchLogoType: 0 434 | switchApplicationErrorCodeCategory: 435 | switchUserAccountSaveDataSize: 0 436 | switchUserAccountSaveDataJournalSize: 0 437 | switchApplicationAttribute: 0 438 | switchCardSpecSize: -1 439 | switchCardSpecClock: -1 440 | switchRatingsMask: 0 441 | switchRatingsInt_0: 0 442 | switchRatingsInt_1: 0 443 | switchRatingsInt_2: 0 444 | switchRatingsInt_3: 0 445 | switchRatingsInt_4: 0 446 | switchRatingsInt_5: 0 447 | switchRatingsInt_6: 0 448 | switchRatingsInt_7: 0 449 | switchRatingsInt_8: 0 450 | switchRatingsInt_9: 0 451 | switchRatingsInt_10: 0 452 | switchRatingsInt_11: 0 453 | switchRatingsInt_12: 0 454 | switchLocalCommunicationIds_0: 455 | switchLocalCommunicationIds_1: 456 | switchLocalCommunicationIds_2: 457 | switchLocalCommunicationIds_3: 458 | switchLocalCommunicationIds_4: 459 | switchLocalCommunicationIds_5: 460 | switchLocalCommunicationIds_6: 461 | switchLocalCommunicationIds_7: 462 | switchParentalControl: 0 463 | switchAllowsScreenshot: 1 464 | switchAllowsVideoCapturing: 1 465 | switchAllowsRuntimeAddOnContentInstall: 0 466 | switchDataLossConfirmation: 0 467 | switchUserAccountLockEnabled: 0 468 | switchSystemResourceMemory: 16777216 469 | switchSupportedNpadStyles: 22 470 | switchNativeFsCacheSize: 32 471 | switchIsHoldTypeHorizontal: 0 472 | switchSupportedNpadCount: 8 473 | switchSocketConfigEnabled: 0 474 | switchTcpInitialSendBufferSize: 32 475 | switchTcpInitialReceiveBufferSize: 64 476 | switchTcpAutoSendBufferSizeMax: 256 477 | switchTcpAutoReceiveBufferSizeMax: 256 478 | switchUdpSendBufferSize: 9 479 | switchUdpReceiveBufferSize: 42 480 | switchSocketBufferEfficiency: 4 481 | switchSocketInitializeEnabled: 1 482 | switchNetworkInterfaceManagerInitializeEnabled: 1 483 | switchPlayerConnectionEnabled: 1 484 | switchUseNewStyleFilepaths: 0 485 | switchUseMicroSleepForYield: 1 486 | switchMicroSleepForYieldTime: 25 487 | ps4NPAgeRating: 12 488 | ps4NPTitleSecret: 489 | ps4NPTrophyPackPath: 490 | ps4ParentalLevel: 11 491 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 492 | ps4Category: 0 493 | ps4MasterVersion: 01.00 494 | ps4AppVersion: 01.00 495 | ps4AppType: 0 496 | ps4ParamSfxPath: 497 | ps4VideoOutPixelFormat: 0 498 | ps4VideoOutInitialWidth: 1920 499 | ps4VideoOutBaseModeInitialWidth: 1920 500 | ps4VideoOutReprojectionRate: 60 501 | ps4PronunciationXMLPath: 502 | ps4PronunciationSIGPath: 503 | ps4BackgroundImagePath: 504 | ps4StartupImagePath: 505 | ps4StartupImagesFolder: 506 | ps4IconImagesFolder: 507 | ps4SaveDataImagePath: 508 | ps4SdkOverride: 509 | ps4BGMPath: 510 | ps4ShareFilePath: 511 | ps4ShareOverlayImagePath: 512 | ps4PrivacyGuardImagePath: 513 | ps4ExtraSceSysFile: 514 | ps4NPtitleDatPath: 515 | ps4RemotePlayKeyAssignment: -1 516 | ps4RemotePlayKeyMappingDir: 517 | ps4PlayTogetherPlayerCount: 0 518 | ps4EnterButtonAssignment: 1 519 | ps4ApplicationParam1: 0 520 | ps4ApplicationParam2: 0 521 | ps4ApplicationParam3: 0 522 | ps4ApplicationParam4: 0 523 | ps4DownloadDataSize: 0 524 | ps4GarlicHeapSize: 2048 525 | ps4ProGarlicHeapSize: 2560 526 | playerPrefsMaxSize: 32768 527 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 528 | ps4pnSessions: 1 529 | ps4pnPresence: 1 530 | ps4pnFriends: 1 531 | ps4pnGameCustomData: 1 532 | playerPrefsSupport: 0 533 | enableApplicationExit: 0 534 | resetTempFolder: 1 535 | restrictedAudioUsageRights: 0 536 | ps4UseResolutionFallback: 0 537 | ps4ReprojectionSupport: 0 538 | ps4UseAudio3dBackend: 0 539 | ps4UseLowGarlicFragmentationMode: 1 540 | ps4SocialScreenEnabled: 0 541 | ps4ScriptOptimizationLevel: 0 542 | ps4Audio3dVirtualSpeakerCount: 14 543 | ps4attribCpuUsage: 0 544 | ps4PatchPkgPath: 545 | ps4PatchLatestPkgPath: 546 | ps4PatchChangeinfoPath: 547 | ps4PatchDayOne: 0 548 | ps4attribUserManagement: 0 549 | ps4attribMoveSupport: 0 550 | ps4attrib3DSupport: 0 551 | ps4attribShareSupport: 0 552 | ps4attribExclusiveVR: 0 553 | ps4disableAutoHideSplash: 0 554 | ps4videoRecordingFeaturesUsed: 0 555 | ps4contentSearchFeaturesUsed: 0 556 | ps4CompatibilityPS5: 0 557 | ps4AllowPS5Detection: 0 558 | ps4GPU800MHz: 1 559 | ps4attribEyeToEyeDistanceSettingVR: 0 560 | ps4IncludedModules: [] 561 | ps4attribVROutputEnabled: 0 562 | monoEnv: 563 | splashScreenBackgroundSourceLandscape: {fileID: 0} 564 | splashScreenBackgroundSourcePortrait: {fileID: 0} 565 | blurSplashScreenBackground: 1 566 | spritePackerPolicy: 567 | webGLMemorySize: 16 568 | webGLExceptionSupport: 1 569 | webGLNameFilesAsHashes: 0 570 | webGLDataCaching: 1 571 | webGLDebugSymbols: 0 572 | webGLEmscriptenArgs: 573 | webGLModulesDirectory: 574 | webGLTemplate: PROJECT:LibJitsiMeet 575 | webGLAnalyzeBuildSize: 0 576 | webGLUseEmbeddedResources: 0 577 | webGLCompressionFormat: 1 578 | webGLWasmArithmeticExceptions: 0 579 | webGLLinkerTarget: 1 580 | webGLThreadsSupport: 0 581 | webGLDecompressionFallback: 0 582 | scriptingDefineSymbols: {} 583 | additionalCompilerArguments: {} 584 | platformArchitecture: {} 585 | scriptingBackend: {} 586 | il2cppCompilerConfiguration: {} 587 | managedStrippingLevel: {} 588 | incrementalIl2cppBuild: {} 589 | suppressCommonWarnings: 1 590 | allowUnsafeCode: 0 591 | useDeterministicCompilation: 1 592 | useReferenceAssemblies: 1 593 | enableRoslynAnalyzers: 1 594 | additionalIl2CppArgs: 595 | scriptingRuntimeVersion: 1 596 | gcIncremental: 1 597 | assemblyVersionValidation: 1 598 | gcWBarrierValidation: 0 599 | apiCompatibilityLevelPerPlatform: {} 600 | m_RenderingPath: 1 601 | m_MobileRenderingPath: 1 602 | metroPackageName: Template_3D 603 | metroPackageVersion: 604 | metroCertificatePath: 605 | metroCertificatePassword: 606 | metroCertificateSubject: 607 | metroCertificateIssuer: 608 | metroCertificateNotAfter: 0000000000000000 609 | metroApplicationDescription: Template_3D 610 | wsaImages: {} 611 | metroTileShortName: 612 | metroTileShowName: 0 613 | metroMediumTileShowName: 0 614 | metroLargeTileShowName: 0 615 | metroWideTileShowName: 0 616 | metroSupportStreamingInstall: 0 617 | metroLastRequiredScene: 0 618 | metroDefaultTileSize: 1 619 | metroTileForegroundText: 2 620 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 621 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 622 | metroSplashScreenUseBackgroundColor: 0 623 | platformCapabilities: {} 624 | metroTargetDeviceFamilies: {} 625 | metroFTAName: 626 | metroFTAFileTypes: [] 627 | metroProtocolName: 628 | XboxOneProductId: 629 | XboxOneUpdateKey: 630 | XboxOneSandboxId: 631 | XboxOneContentId: 632 | XboxOneTitleId: 633 | XboxOneSCId: 634 | XboxOneGameOsOverridePath: 635 | XboxOnePackagingOverridePath: 636 | XboxOneAppManifestOverridePath: 637 | XboxOneVersion: 1.0.0.0 638 | XboxOnePackageEncryption: 0 639 | XboxOnePackageUpdateGranularity: 2 640 | XboxOneDescription: 641 | XboxOneLanguage: 642 | - enus 643 | XboxOneCapability: [] 644 | XboxOneGameRating: {} 645 | XboxOneIsContentPackage: 0 646 | XboxOneEnhancedXboxCompatibilityMode: 0 647 | XboxOneEnableGPUVariability: 1 648 | XboxOneSockets: {} 649 | XboxOneSplashScreen: {fileID: 0} 650 | XboxOneAllowedProductIds: [] 651 | XboxOnePersistentLocalStorageSize: 0 652 | XboxOneXTitleMemory: 8 653 | XboxOneOverrideIdentityName: 654 | XboxOneOverrideIdentityPublisher: 655 | vrEditorSettings: {} 656 | cloudServicesEnabled: 657 | UNet: 1 658 | luminIcon: 659 | m_Name: 660 | m_ModelFolderPath: 661 | m_PortalFolderPath: 662 | luminCert: 663 | m_CertPath: 664 | m_SignPackage: 1 665 | luminIsChannelApp: 0 666 | luminVersion: 667 | m_VersionCode: 1 668 | m_VersionName: 669 | apiCompatibilityLevel: 6 670 | activeInputHandler: 0 671 | cloudProjectId: 672 | framebufferDepthMemorylessMode: 0 673 | qualitySettingsNames: [] 674 | projectName: 675 | organizationId: 676 | cloudEnabled: 0 677 | legacyClampBlendShapeWeights: 0 678 | virtualTexturingSupportEnabled: 0 679 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2020.3.16f1 2 | m_EditorVersionWithRevision: 2020.3.16f1 (049d6eca3c44) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | blendWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | blendWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | blendWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | blendWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | blendWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | blendWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: 220 | Android: 2 221 | Lumin: 5 222 | Nintendo 3DS: 5 223 | Nintendo Switch: 5 224 | PS4: 5 225 | PSP2: 2 226 | Stadia: 5 227 | Standalone: 5 228 | WebGL: 3 229 | Windows Store Apps: 5 230 | XboxOne: 5 231 | iPhone: 2 232 | tvOS: 2 233 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # lib-jitsi-meet + Unity WebGL 2 | 3 | This is a very basic example of drawing remote video tracks from lib-jitsi-meet on objects in Unity (WebGL only). 4 | 5 | 1. When lib-jitsi-meet reports new a remote video track, it is attached to an HTML `video` element, which is stored in a JS global. 6 | 2. A script component is attached to a Unity object. The script's `Start` function creates a texture and attaches it to a material on the object. The script's `Update` function calls a JS plugin method, passing a pointer to the texture. 7 | 3. The JS plugin method uses `texSubImage2D` to copy pixels from the `video` element of the first remote track onto the texture. In a real application you would identify the remote tracks (e.g. by participant ID) and paint each one on a separate object. 8 | 9 | For other platforms than WebGL, integration would be more complex as it would require the signalling to be implemented natively. [Contact us](mailto:team@avstack.io) if you are interested in native integration. 10 | 11 | ## AVStack 12 | 13 | If you're building with Jitsi Meet, [AVStack](https://www.avstack.io/) provides global, scalable, managed Jitsi Meet backends that can power your application from launch up to large scale. 14 | 15 | ## License 16 | 17 | MIT license. 18 | --------------------------------------------------------------------------------