├── .gitignore ├── demo ├── .gitignore ├── .vs │ └── demo │ │ └── FileContentIndex │ │ ├── d060a7e4-f3f8-49a5-a875-2103c911c325.vsidx │ │ ├── ef6eaa4b-031e-4dd8-b454-ad698c45a458.vsidx │ │ └── read.lock ├── .vsconfig ├── Assets │ ├── Scenes.meta │ ├── Scenes │ │ ├── SampleScene.unity │ │ └── SampleScene.unity.meta │ ├── TouchController.cs │ ├── TouchController.cs.meta │ ├── TouchInput.cs │ └── TouchInput.cs.meta ├── Logs │ ├── Packages-Update.log │ └── shadercompiler-UnityShaderCompiler.exe0.log ├── Packages │ ├── manifest.json │ └── packages-lock.json ├── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── MemorySettings.asset │ ├── NavMeshAreas.asset │ ├── PackageManagerSettings.asset │ ├── Packages │ │ └── com.unity.testtools.codecoverage │ │ │ └── Settings.json │ ├── Physics2DSettings.asset │ ├── PresetManager.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── SceneTemplateSettings.json │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── UnityConnectSettings.asset │ ├── VFXManager.asset │ ├── VersionControlSettings.asset │ └── XRSettings.asset └── UserSettings │ ├── EditorUserSettings.asset │ └── Search.settings ├── license.md ├── readme.md └── source └── TouchInput.cs /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | 6 | # Autogenerated VS/MD solution and project files 7 | *.csproj 8 | *.unityproj 9 | *.sln 10 | *.suo 11 | *.tmp 12 | *.user 13 | *.userprefs 14 | *.pidb 15 | *.booproj 16 | 17 | # Unity3D generated meta files 18 | *.pidb.meta 19 | 20 | # Unity3D Generated File On Crash Reports 21 | sysinfo.txt 22 | 23 | -------------------------------------------------------------------------------- /demo/.gitignore: -------------------------------------------------------------------------------- 1 | logs/* 2 | -------------------------------------------------------------------------------- /demo/.vs/demo/FileContentIndex/d060a7e4-f3f8-49a5-a875-2103c911c325.vsidx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jocic/unity-touch-controls/a39c8c9af59ff8f51651ef061dc0ecd016594a25/demo/.vs/demo/FileContentIndex/d060a7e4-f3f8-49a5-a875-2103c911c325.vsidx -------------------------------------------------------------------------------- /demo/.vs/demo/FileContentIndex/ef6eaa4b-031e-4dd8-b454-ad698c45a458.vsidx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jocic/unity-touch-controls/a39c8c9af59ff8f51651ef061dc0ecd016594a25/demo/.vs/demo/FileContentIndex/ef6eaa4b-031e-4dd8-b454-ad698c45a458.vsidx -------------------------------------------------------------------------------- /demo/.vs/demo/FileContentIndex/read.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jocic/unity-touch-controls/a39c8c9af59ff8f51651ef061dc0ecd016594a25/demo/.vs/demo/FileContentIndex/read.lock -------------------------------------------------------------------------------- /demo/.vsconfig: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0", 3 | "components": [ 4 | "Microsoft.VisualStudio.Workload.ManagedGame" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /demo/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a01c1c858d10604b91157ddc8880ba3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /demo/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.44657874, g: 0.49641275, b: 0.5748172, 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: 3 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 | buildHeightMesh: 0 121 | maxJobWorkers: 0 122 | preserveTilesOutsideBounds: 0 123 | debug: 124 | m_Flags: 0 125 | m_NavMeshData: {fileID: 0} 126 | --- !u!1 &705507993 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: 705507995} 135 | - component: {fileID: 705507994} 136 | m_Layer: 0 137 | m_Name: Directional Light 138 | m_TagString: Untagged 139 | m_Icon: {fileID: 0} 140 | m_NavMeshLayer: 0 141 | m_StaticEditorFlags: 0 142 | m_IsActive: 1 143 | --- !u!108 &705507994 144 | Light: 145 | m_ObjectHideFlags: 0 146 | m_CorrespondingSourceObject: {fileID: 0} 147 | m_PrefabInstance: {fileID: 0} 148 | m_PrefabAsset: {fileID: 0} 149 | m_GameObject: {fileID: 705507993} 150 | m_Enabled: 1 151 | serializedVersion: 10 152 | m_Type: 1 153 | m_Shape: 0 154 | m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1} 155 | m_Intensity: 1 156 | m_Range: 10 157 | m_SpotAngle: 30 158 | m_InnerSpotAngle: 21.80208 159 | m_CookieSize: 10 160 | m_Shadows: 161 | m_Type: 2 162 | m_Resolution: -1 163 | m_CustomResolution: -1 164 | m_Strength: 1 165 | m_Bias: 0.05 166 | m_NormalBias: 0.4 167 | m_NearPlane: 0.2 168 | m_CullingMatrixOverride: 169 | e00: 1 170 | e01: 0 171 | e02: 0 172 | e03: 0 173 | e10: 0 174 | e11: 1 175 | e12: 0 176 | e13: 0 177 | e20: 0 178 | e21: 0 179 | e22: 1 180 | e23: 0 181 | e30: 0 182 | e31: 0 183 | e32: 0 184 | e33: 1 185 | m_UseCullingMatrixOverride: 0 186 | m_Cookie: {fileID: 0} 187 | m_DrawHalo: 0 188 | m_Flare: {fileID: 0} 189 | m_RenderMode: 0 190 | m_CullingMask: 191 | serializedVersion: 2 192 | m_Bits: 4294967295 193 | m_RenderingLayerMask: 1 194 | m_Lightmapping: 1 195 | m_LightShadowCasterMode: 0 196 | m_AreaSize: {x: 1, y: 1} 197 | m_BounceIntensity: 1 198 | m_ColorTemperature: 6570 199 | m_UseColorTemperature: 0 200 | m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0} 201 | m_UseBoundingSphereOverride: 0 202 | m_UseViewFrustumForShadowCasterCull: 1 203 | m_ShadowRadius: 0 204 | m_ShadowAngle: 0 205 | --- !u!4 &705507995 206 | Transform: 207 | m_ObjectHideFlags: 0 208 | m_CorrespondingSourceObject: {fileID: 0} 209 | m_PrefabInstance: {fileID: 0} 210 | m_PrefabAsset: {fileID: 0} 211 | m_GameObject: {fileID: 705507993} 212 | m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261} 213 | m_LocalPosition: {x: 0, y: 3, z: 0} 214 | m_LocalScale: {x: 1, y: 1, z: 1} 215 | m_ConstrainProportionsScale: 0 216 | m_Children: [] 217 | m_Father: {fileID: 0} 218 | m_RootOrder: 0 219 | m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} 220 | --- !u!1 &963194225 221 | GameObject: 222 | m_ObjectHideFlags: 0 223 | m_CorrespondingSourceObject: {fileID: 0} 224 | m_PrefabInstance: {fileID: 0} 225 | m_PrefabAsset: {fileID: 0} 226 | serializedVersion: 6 227 | m_Component: 228 | - component: {fileID: 963194228} 229 | - component: {fileID: 963194227} 230 | - component: {fileID: 963194226} 231 | m_Layer: 0 232 | m_Name: Main Camera 233 | m_TagString: MainCamera 234 | m_Icon: {fileID: 0} 235 | m_NavMeshLayer: 0 236 | m_StaticEditorFlags: 0 237 | m_IsActive: 1 238 | --- !u!81 &963194226 239 | AudioListener: 240 | m_ObjectHideFlags: 0 241 | m_CorrespondingSourceObject: {fileID: 0} 242 | m_PrefabInstance: {fileID: 0} 243 | m_PrefabAsset: {fileID: 0} 244 | m_GameObject: {fileID: 963194225} 245 | m_Enabled: 1 246 | --- !u!20 &963194227 247 | Camera: 248 | m_ObjectHideFlags: 0 249 | m_CorrespondingSourceObject: {fileID: 0} 250 | m_PrefabInstance: {fileID: 0} 251 | m_PrefabAsset: {fileID: 0} 252 | m_GameObject: {fileID: 963194225} 253 | m_Enabled: 1 254 | serializedVersion: 2 255 | m_ClearFlags: 1 256 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 257 | m_projectionMatrixMode: 1 258 | m_GateFitMode: 2 259 | m_FOVAxisMode: 0 260 | m_Iso: 200 261 | m_ShutterSpeed: 0.005 262 | m_Aperture: 16 263 | m_FocusDistance: 10 264 | m_FocalLength: 50 265 | m_BladeCount: 5 266 | m_Curvature: {x: 2, y: 11} 267 | m_BarrelClipping: 0.25 268 | m_Anamorphism: 0 269 | m_SensorSize: {x: 36, y: 24} 270 | m_LensShift: {x: 0, y: 0} 271 | m_NormalizedViewPortRect: 272 | serializedVersion: 2 273 | x: 0 274 | y: 0 275 | width: 1 276 | height: 1 277 | near clip plane: 0.3 278 | far clip plane: 1000 279 | field of view: 60 280 | orthographic: 0 281 | orthographic size: 5 282 | m_Depth: -1 283 | m_CullingMask: 284 | serializedVersion: 2 285 | m_Bits: 4294967295 286 | m_RenderingPath: -1 287 | m_TargetTexture: {fileID: 0} 288 | m_TargetDisplay: 0 289 | m_TargetEye: 3 290 | m_HDR: 1 291 | m_AllowMSAA: 1 292 | m_AllowDynamicResolution: 0 293 | m_ForceIntoRT: 0 294 | m_OcclusionCulling: 1 295 | m_StereoConvergence: 10 296 | m_StereoSeparation: 0.022 297 | --- !u!4 &963194228 298 | Transform: 299 | m_ObjectHideFlags: 0 300 | m_CorrespondingSourceObject: {fileID: 0} 301 | m_PrefabInstance: {fileID: 0} 302 | m_PrefabAsset: {fileID: 0} 303 | m_GameObject: {fileID: 963194225} 304 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 305 | m_LocalPosition: {x: 0, y: 1, z: -4.6} 306 | m_LocalScale: {x: 1, y: 1, z: 1} 307 | m_ConstrainProportionsScale: 0 308 | m_Children: [] 309 | m_Father: {fileID: 1642518379} 310 | m_RootOrder: -1 311 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 312 | --- !u!1 &1642518375 313 | GameObject: 314 | m_ObjectHideFlags: 0 315 | m_CorrespondingSourceObject: {fileID: 0} 316 | m_PrefabInstance: {fileID: 0} 317 | m_PrefabAsset: {fileID: 0} 318 | serializedVersion: 6 319 | m_Component: 320 | - component: {fileID: 1642518379} 321 | - component: {fileID: 1642518378} 322 | - component: {fileID: 1642518377} 323 | - component: {fileID: 1642518376} 324 | m_Layer: 0 325 | m_Name: Sphere 326 | m_TagString: Untagged 327 | m_Icon: {fileID: 0} 328 | m_NavMeshLayer: 0 329 | m_StaticEditorFlags: 0 330 | m_IsActive: 1 331 | --- !u!135 &1642518376 332 | SphereCollider: 333 | m_ObjectHideFlags: 0 334 | m_CorrespondingSourceObject: {fileID: 0} 335 | m_PrefabInstance: {fileID: 0} 336 | m_PrefabAsset: {fileID: 0} 337 | m_GameObject: {fileID: 1642518375} 338 | m_Material: {fileID: 0} 339 | m_IncludeLayers: 340 | serializedVersion: 2 341 | m_Bits: 0 342 | m_ExcludeLayers: 343 | serializedVersion: 2 344 | m_Bits: 0 345 | m_LayerOverridePriority: 0 346 | m_IsTrigger: 0 347 | m_ProvidesContacts: 0 348 | m_Enabled: 1 349 | serializedVersion: 3 350 | m_Radius: 0.5 351 | m_Center: {x: 0, y: 0, z: 0} 352 | --- !u!23 &1642518377 353 | MeshRenderer: 354 | m_ObjectHideFlags: 0 355 | m_CorrespondingSourceObject: {fileID: 0} 356 | m_PrefabInstance: {fileID: 0} 357 | m_PrefabAsset: {fileID: 0} 358 | m_GameObject: {fileID: 1642518375} 359 | m_Enabled: 1 360 | m_CastShadows: 1 361 | m_ReceiveShadows: 1 362 | m_DynamicOccludee: 1 363 | m_StaticShadowCaster: 0 364 | m_MotionVectors: 1 365 | m_LightProbeUsage: 1 366 | m_ReflectionProbeUsage: 1 367 | m_RayTracingMode: 2 368 | m_RayTraceProcedural: 0 369 | m_RenderingLayerMask: 1 370 | m_RendererPriority: 0 371 | m_Materials: 372 | - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} 373 | m_StaticBatchInfo: 374 | firstSubMesh: 0 375 | subMeshCount: 0 376 | m_StaticBatchRoot: {fileID: 0} 377 | m_ProbeAnchor: {fileID: 0} 378 | m_LightProbeVolumeOverride: {fileID: 0} 379 | m_ScaleInLightmap: 1 380 | m_ReceiveGI: 1 381 | m_PreserveUVs: 0 382 | m_IgnoreNormalsForChartDetection: 0 383 | m_ImportantGI: 0 384 | m_StitchLightmapSeams: 1 385 | m_SelectedEditorRenderState: 3 386 | m_MinimumChartSize: 4 387 | m_AutoUVMaxDistance: 0.5 388 | m_AutoUVMaxAngle: 89 389 | m_LightmapParameters: {fileID: 0} 390 | m_SortingLayerID: 0 391 | m_SortingLayer: 0 392 | m_SortingOrder: 0 393 | m_AdditionalVertexStreams: {fileID: 0} 394 | --- !u!33 &1642518378 395 | MeshFilter: 396 | m_ObjectHideFlags: 0 397 | m_CorrespondingSourceObject: {fileID: 0} 398 | m_PrefabInstance: {fileID: 0} 399 | m_PrefabAsset: {fileID: 0} 400 | m_GameObject: {fileID: 1642518375} 401 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 402 | --- !u!4 &1642518379 403 | Transform: 404 | m_ObjectHideFlags: 0 405 | m_CorrespondingSourceObject: {fileID: 0} 406 | m_PrefabInstance: {fileID: 0} 407 | m_PrefabAsset: {fileID: 0} 408 | m_GameObject: {fileID: 1642518375} 409 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 410 | m_LocalPosition: {x: 0, y: 0, z: 0} 411 | m_LocalScale: {x: 1, y: 1, z: 1} 412 | m_ConstrainProportionsScale: 0 413 | m_Children: 414 | - {fileID: 963194228} 415 | m_Father: {fileID: 0} 416 | m_RootOrder: 1 417 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 418 | -------------------------------------------------------------------------------- /demo/Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /demo/Assets/TouchController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class TouchController : MonoBehaviour 6 | { 7 | // Start is called before the first frame update 8 | void Start() 9 | { 10 | 11 | } 12 | 13 | // Update is called once per frame 14 | void Update() 15 | { 16 | Vector3 pos = this.transform.position; 17 | 18 | TouchInput.ProcessTouches(); 19 | 20 | if (TouchInput.Tap()) { 21 | // Does nothing... 22 | } else if (TouchInput.SwipeUp()) { 23 | pos.z += 100; 24 | } else if (TouchInput.SwipeDown()) { 25 | pos.z -= 100; 26 | } else if (TouchInput.SwipeLeft()) { 27 | pos.x -= 100; 28 | } else if (TouchInput.SwipeRight()) { 29 | pos.x += 100; 30 | } 31 | 32 | this.transform.position = pos; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /demo/Assets/TouchController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 970b4d1f8d5cdcb4a9cab6ccef85fbd1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /demo/Assets/TouchInput.cs: -------------------------------------------------------------------------------- 1 | /**************************************************\ 2 | |* Script Author: Djordje Jocic *| 3 | |* Script Year: 2015 *| 4 | |* Script Version: 1.0.0 *| 5 | |* Script License: MIT License (MIT) *| 6 | |* ============================================== *| 7 | |* Official Website: http://www.djordjejocic.com/ *| 8 | |* ============================================== *| 9 | |* Permission is hereby granted, free of charge, *| 10 | |* to any person obtaining a copy of this *| 11 | |* software and associated documentation files *| 12 | |* (the "Software"), to deal in the Software *| 13 | |* without restriction, including without *| 14 | |* limitation the rights to use, copy, modify, *| 15 | |* merge, publish, distribute, sublicense, and/or *| 16 | |* sell copies of the Software, and to permit *| 17 | |* persons to whom the Software is furnished to *| 18 | |* do so, subject to the following conditions: *| 19 | |* ---------------------------------------------- *| 20 | |* The above copyright notice and this permission *| 21 | |* notice shall be included in all copies or *| 22 | |* substantial portions of the Software. *| 23 | |* ---------------------------------------------- *| 24 | |* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT *| 25 | |* WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, *| 26 | |* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *| 27 | |* MERCHANTABILITY, FITNESS FOR A PARTICULAR *| 28 | |* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *| 29 | |* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR *| 30 | |* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER *| 31 | |* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *| 32 | |* RISING FROM, OUT OF OR IN CONNECTION WITH THE *| 33 | |* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE *| 34 | |* SOFTWARE. *| 35 | \**************************************************/ 36 | 37 | using UnityEngine; 38 | using UnityEngine.UI; 39 | using System.Collections; 40 | 41 | public class TouchInput 42 | { 43 | // "Core" Variables. 44 | 45 | private static Vector2[] tapPositions = new Vector2[2]; 46 | private static Vector2[] swipePositions = new Vector2[2]; 47 | 48 | // "Offset" Variables. 49 | 50 | private static float offsetTap = 15.0F; 51 | private static float offsetSwipe = 40.0F; 52 | 53 | // "Flag" Variables. 54 | 55 | private static bool fTapAllowed = false; 56 | private static bool fSwipeAllowed = false; 57 | 58 | // "Other" Variables. 59 | 60 | private static float tempX = 0.0F; 61 | private static float tempY = 0.0F; 62 | 63 | // "Core" Methods. 64 | 65 | public static void ProcessTouches() 66 | { 67 | if (Input.touchCount > 0) // Check If User Is Touching The Screen. 68 | { 69 | Touch touch = Input.touches[0]; 70 | 71 | if (touch.phase == TouchPhase.Began) // Begin Phase. 72 | { 73 | TouchInput.tapPositions[0] = touch.position; 74 | TouchInput.swipePositions[0] = touch.position; 75 | } 76 | else if (touch.phase == TouchPhase.Canceled) // Canceled Phase. 77 | { 78 | TouchInput.ResetPositions(); 79 | } 80 | else if (touch.phase == TouchPhase.Ended) // Ended Phase. 81 | { 82 | TouchInput.tapPositions[1] = touch.position; 83 | TouchInput.swipePositions[1] = touch.position; 84 | 85 | TouchInput.fTapAllowed = true; 86 | TouchInput.fSwipeAllowed = true; 87 | } 88 | else if (touch.phase == TouchPhase.Moved) // Moved Phase. 89 | { 90 | // NO CODE ATM FOR MOVED 91 | } 92 | else if (touch.phase == TouchPhase.Stationary) // Stationary Phase. 93 | { 94 | // NO CODE ATM FOR STATIONARY 95 | } 96 | } 97 | 98 | } 99 | 100 | private static void ResetPositions() 101 | { 102 | TouchInput.tapPositions = new Vector2[2]; 103 | 104 | TouchInput.fTapAllowed = false; 105 | TouchInput.fSwipeAllowed = false; 106 | } 107 | 108 | // "Controls" Methods. 109 | 110 | public static bool Tap() 111 | { 112 | bool result = false; 113 | 114 | if (TouchInput.fTapAllowed) 115 | { 116 | TouchInput.tempX = Mathf.Abs(TouchInput.tapPositions[0].x - TouchInput.tapPositions[1].x); 117 | TouchInput.tempY = Mathf.Abs(TouchInput.tapPositions[0].y - TouchInput.tapPositions[1].y); 118 | 119 | if (tempX <= TouchInput.offsetTap && tempY <= TouchInput.offsetTap) 120 | { 121 | result = true; 122 | } 123 | 124 | TouchInput.tapPositions = new Vector2[2]; 125 | TouchInput.fTapAllowed = false; 126 | } 127 | 128 | return result; 129 | } 130 | 131 | public static bool SwipeLeft() 132 | { 133 | bool result = false; 134 | 135 | if (TouchInput.fSwipeAllowed) 136 | { 137 | TouchInput.tempX = TouchInput.swipePositions[0].x - TouchInput.swipePositions[1].x; 138 | 139 | if (tempX >= TouchInput.offsetSwipe) 140 | { 141 | TouchInput.swipePositions = new Vector2[2]; 142 | TouchInput.fSwipeAllowed = false; 143 | result = true; 144 | } 145 | } 146 | 147 | return result; 148 | } 149 | 150 | public static bool SwipeRight() 151 | { 152 | bool result = false; 153 | 154 | if (TouchInput.fSwipeAllowed) 155 | { 156 | TouchInput.tempX = TouchInput.swipePositions[1].x - TouchInput.swipePositions[0].x; 157 | 158 | if (tempX >= TouchInput.offsetSwipe) 159 | { 160 | TouchInput.swipePositions = new Vector2[2]; 161 | TouchInput.fSwipeAllowed = false; 162 | result = true; 163 | } 164 | } 165 | 166 | return result; 167 | } 168 | 169 | public static bool SwipeUp() 170 | { 171 | bool result = false; 172 | 173 | if (TouchInput.fSwipeAllowed) 174 | { 175 | TouchInput.tempY = TouchInput.swipePositions[1].y - TouchInput.swipePositions[0].y; 176 | 177 | if (tempY >= TouchInput.offsetSwipe) 178 | { 179 | TouchInput.swipePositions = new Vector2[2]; 180 | TouchInput.fSwipeAllowed = false; 181 | result = true; 182 | } 183 | } 184 | 185 | return result; 186 | } 187 | 188 | public static bool SwipeDown() 189 | { 190 | bool result = false; 191 | 192 | if (TouchInput.fSwipeAllowed) 193 | { 194 | TouchInput.tempY = TouchInput.swipePositions[0].y - TouchInput.swipePositions[1].y; 195 | 196 | if (tempY >= TouchInput.offsetSwipe) 197 | { 198 | TouchInput.swipePositions = new Vector2[2]; 199 | TouchInput.fSwipeAllowed = false; 200 | result = true; 201 | } 202 | } 203 | 204 | return result; 205 | } 206 | } 207 | -------------------------------------------------------------------------------- /demo/Assets/TouchInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3501d953728aba40bd975f8d707ad22 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /demo/Logs/Packages-Update.log: -------------------------------------------------------------------------------- 1 | 2 | === Mon Aug 14 09:46:37 2023 3 | 4 | Packages were changed. 5 | Update Mode: mergeDefaultDependencies 6 | 7 | The following packages were added: 8 | com.unity.modules.ai@1.0.0 9 | com.unity.modules.androidjni@1.0.0 10 | com.unity.modules.animation@1.0.0 11 | com.unity.modules.assetbundle@1.0.0 12 | com.unity.modules.audio@1.0.0 13 | com.unity.modules.cloth@1.0.0 14 | com.unity.modules.director@1.0.0 15 | com.unity.modules.imageconversion@1.0.0 16 | com.unity.modules.imgui@1.0.0 17 | com.unity.modules.jsonserialize@1.0.0 18 | com.unity.modules.particlesystem@1.0.0 19 | com.unity.modules.physics@1.0.0 20 | com.unity.modules.physics2d@1.0.0 21 | com.unity.modules.screencapture@1.0.0 22 | com.unity.modules.terrain@1.0.0 23 | com.unity.modules.terrainphysics@1.0.0 24 | com.unity.modules.tilemap@1.0.0 25 | com.unity.modules.ui@1.0.0 26 | com.unity.modules.uielements@1.0.0 27 | com.unity.modules.umbra@1.0.0 28 | com.unity.modules.unityanalytics@1.0.0 29 | com.unity.modules.unitywebrequest@1.0.0 30 | com.unity.modules.unitywebrequestassetbundle@1.0.0 31 | com.unity.modules.unitywebrequestaudio@1.0.0 32 | com.unity.modules.unitywebrequesttexture@1.0.0 33 | com.unity.modules.unitywebrequestwww@1.0.0 34 | com.unity.modules.vehicles@1.0.0 35 | com.unity.modules.video@1.0.0 36 | com.unity.modules.vr@1.0.0 37 | com.unity.modules.wind@1.0.0 38 | com.unity.modules.xr@1.0.0 39 | The following packages were updated: 40 | com.unity.collab-proxy from version 1.13.5 to 2.0.5 41 | com.unity.timeline from version 1.6.2 to 1.7.4 42 | com.unity.visualscripting from version 1.7.6 to 1.8.0 43 | -------------------------------------------------------------------------------- /demo/Logs/shadercompiler-UnityShaderCompiler.exe0.log: -------------------------------------------------------------------------------- 1 | Base path: 'C:/Program Files/Unity/Hub/Editor/2022.3.4f1/Editor/Data', plugins path 'C:/Program Files/Unity/Hub/Editor/2022.3.4f1/Editor/Data/PlaybackEngines' 2 | Cmd: initializeCompiler 3 | 4 | Cmd: compileSnippet 5 | insize=802 file=Assets/DefaultResourcesExtra/Internal/UIElements/Hidden/UIElements/EditorUIE pass= ppOnly=0 stripLineD=0 buildPlatform=19 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR uKW= dKW=UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Vertex platform=d3d11 reqs=4075 mask=6 start=54 ok=1 outsize=4114 6 | 7 | Cmd: compileSnippet 8 | insize=802 file=Assets/DefaultResourcesExtra/Internal/UIElements/Hidden/UIElements/EditorUIE pass= ppOnly=0 stripLineD=0 buildPlatform=19 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR uKW= dKW=UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Fragment platform=d3d11 reqs=4075 mask=6 start=54 ok=1 outsize=9470 9 | 10 | Cmd: compileSnippet 11 | insize=16617 file=Assets/DefaultResourcesExtra/Skybox/Procedural pass= ppOnly=0 stripLineD=0 buildPlatform=19 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR uKW=_SUNDISK_SIMPLE dKW=_SUNDISK_NONE _SUNDISK_HIGH_QUALITY UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Vertex platform=d3d11 reqs=33 mask=6 start=20 ok=1 outsize=5698 12 | 13 | Cmd: compileSnippet 14 | insize=16617 file=Assets/DefaultResourcesExtra/Skybox/Procedural pass= ppOnly=0 stripLineD=0 buildPlatform=19 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR uKW=_SUNDISK_SIMPLE dKW=_SUNDISK_NONE _SUNDISK_HIGH_QUALITY UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Fragment platform=d3d11 reqs=33 mask=6 start=20 ok=1 outsize=934 15 | 16 | Cmd: compileSnippet 17 | insize=1687 file=Assets/DefaultResourcesExtra/Standard pass=FORWARD ppOnly=0 stripLineD=0 buildPlatform=19 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR UNITY_PASS_FORWARDBASE uKW=DIRECTIONAL LIGHTPROBE_SH dKW=FOG_LINEAR FOG_EXP FOG_EXP2 INSTANCING_ON _NORMALMAP _ALPHATEST_ON _ALPHABLEND_ON _ALPHAPREMULTIPLY_ON _METALLICGLOSSMAP _PARALLAXMAP SHADOWS_SHADOWMASK DYNAMICLIGHTMAP_ON LIGHTMAP_ON LIGHTMAP_SHADOW_MIXING DIRLIGHTMAP_COMBINED SHADOWS_SCREEN VERTEXLIGHT_ON UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Vertex platform=d3d11 reqs=227 mask=6 start=68 ok=1 outsize=1926 18 | 19 | Cmd: compileSnippet 20 | insize=1687 file=Assets/DefaultResourcesExtra/Standard pass=FORWARD ppOnly=0 stripLineD=0 buildPlatform=19 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR UNITY_PASS_FORWARDBASE uKW=DIRECTIONAL LIGHTPROBE_SH _EMISSION dKW=FOG_LINEAR FOG_EXP FOG_EXP2 INSTANCING_ON _DETAIL_MULX2 _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A _SPECULARHIGHLIGHTS_OFF _GLOSSYREFLECTIONS_OFF _NORMALMAP _ALPHATEST_ON _ALPHABLEND_ON _ALPHAPREMULTIPLY_ON _METALLICGLOSSMAP _PARALLAXMAP SHADOWS_SHADOWMASK DYNAMICLIGHTMAP_ON LIGHTMAP_ON LIGHTMAP_SHADOW_MIXING DIRLIGHTMAP_COMBINED SHADOWS_SCREEN UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Fragment platform=d3d11 reqs=227 mask=6 start=68 ok=1 outsize=6950 21 | 22 | Cmd: compileSnippet 23 | insize=1527 file=Assets/DefaultResourcesExtra/Standard pass=FORWARD_DELTA ppOnly=0 stripLineD=0 buildPlatform=19 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR UNITY_PASS_FORWARDADD uKW=DIRECTIONAL dKW=FOG_LINEAR FOG_EXP FOG_EXP2 _NORMALMAP _ALPHATEST_ON _ALPHABLEND_ON _ALPHAPREMULTIPLY_ON _METALLICGLOSSMAP _PARALLAXMAP POINT SPOT POINT_COOKIE DIRECTIONAL_COOKIE SHADOWS_SHADOWMASK LIGHTMAP_SHADOW_MIXING SHADOWS_DEPTH SHADOWS_SOFT SHADOWS_SCREEN SHADOWS_CUBE UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Vertex platform=d3d11 reqs=227 mask=6 start=106 ok=1 outsize=1722 24 | 25 | Cmd: compileSnippet 26 | insize=1527 file=Assets/DefaultResourcesExtra/Standard pass=FORWARD_DELTA ppOnly=0 stripLineD=0 buildPlatform=19 rsLen=0 pKW=UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR UNITY_PASS_FORWARDADD uKW=DIRECTIONAL dKW=FOG_LINEAR FOG_EXP FOG_EXP2 _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A _SPECULARHIGHLIGHTS_OFF _DETAIL_MULX2 _NORMALMAP _ALPHATEST_ON _ALPHABLEND_ON _ALPHAPREMULTIPLY_ON _METALLICGLOSSMAP _PARALLAXMAP POINT SPOT POINT_COOKIE DIRECTIONAL_COOKIE SHADOWS_SHADOWMASK LIGHTMAP_SHADOW_MIXING SHADOWS_DEPTH SHADOWS_SOFT SHADOWS_SCREEN SHADOWS_CUBE UNITY_NO_DXT5nm UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_NO_FULL_STANDARD_SHADER UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_VIRTUAL_TEXTURING UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_ASTC_NORMALMAP_ENCODING SHADER_API_GLES30 UNITY_UNIFIED_SHADER_PRECISION_MODEL flags=0 lang=0 type=Fragment platform=d3d11 reqs=227 mask=6 start=106 ok=1 outsize=3410 27 | 28 | -------------------------------------------------------------------------------- /demo/Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": "2.0.5", 4 | "com.unity.feature.development": "1.0.1", 5 | "com.unity.textmeshpro": "3.0.6", 6 | "com.unity.timeline": "1.7.4", 7 | "com.unity.ugui": "1.0.0", 8 | "com.unity.visualscripting": "1.8.0", 9 | "com.unity.modules.ai": "1.0.0", 10 | "com.unity.modules.androidjni": "1.0.0", 11 | "com.unity.modules.animation": "1.0.0", 12 | "com.unity.modules.assetbundle": "1.0.0", 13 | "com.unity.modules.audio": "1.0.0", 14 | "com.unity.modules.cloth": "1.0.0", 15 | "com.unity.modules.director": "1.0.0", 16 | "com.unity.modules.imageconversion": "1.0.0", 17 | "com.unity.modules.imgui": "1.0.0", 18 | "com.unity.modules.jsonserialize": "1.0.0", 19 | "com.unity.modules.particlesystem": "1.0.0", 20 | "com.unity.modules.physics": "1.0.0", 21 | "com.unity.modules.physics2d": "1.0.0", 22 | "com.unity.modules.screencapture": "1.0.0", 23 | "com.unity.modules.terrain": "1.0.0", 24 | "com.unity.modules.terrainphysics": "1.0.0", 25 | "com.unity.modules.tilemap": "1.0.0", 26 | "com.unity.modules.ui": "1.0.0", 27 | "com.unity.modules.uielements": "1.0.0", 28 | "com.unity.modules.umbra": "1.0.0", 29 | "com.unity.modules.unityanalytics": "1.0.0", 30 | "com.unity.modules.unitywebrequest": "1.0.0", 31 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 32 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 33 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 34 | "com.unity.modules.unitywebrequestwww": "1.0.0", 35 | "com.unity.modules.vehicles": "1.0.0", 36 | "com.unity.modules.video": "1.0.0", 37 | "com.unity.modules.vr": "1.0.0", 38 | "com.unity.modules.wind": "1.0.0", 39 | "com.unity.modules.xr": "1.0.0" 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /demo/Packages/packages-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.collab-proxy": { 4 | "version": "2.0.5", 5 | "depth": 0, 6 | "source": "registry", 7 | "dependencies": {}, 8 | "url": "https://packages.unity.com" 9 | }, 10 | "com.unity.editorcoroutines": { 11 | "version": "1.0.0", 12 | "depth": 1, 13 | "source": "registry", 14 | "dependencies": {}, 15 | "url": "https://packages.unity.com" 16 | }, 17 | "com.unity.ext.nunit": { 18 | "version": "1.0.6", 19 | "depth": 2, 20 | "source": "registry", 21 | "dependencies": {}, 22 | "url": "https://packages.unity.com" 23 | }, 24 | "com.unity.feature.development": { 25 | "version": "1.0.1", 26 | "depth": 0, 27 | "source": "builtin", 28 | "dependencies": { 29 | "com.unity.ide.visualstudio": "2.0.18", 30 | "com.unity.ide.rider": "3.0.24", 31 | "com.unity.ide.vscode": "1.2.5", 32 | "com.unity.editorcoroutines": "1.0.0", 33 | "com.unity.performance.profile-analyzer": "1.2.2", 34 | "com.unity.test-framework": "1.1.33", 35 | "com.unity.testtools.codecoverage": "1.2.4" 36 | } 37 | }, 38 | "com.unity.ide.rider": { 39 | "version": "3.0.24", 40 | "depth": 1, 41 | "source": "registry", 42 | "dependencies": { 43 | "com.unity.ext.nunit": "1.0.6" 44 | }, 45 | "url": "https://packages.unity.com" 46 | }, 47 | "com.unity.ide.visualstudio": { 48 | "version": "2.0.18", 49 | "depth": 1, 50 | "source": "registry", 51 | "dependencies": { 52 | "com.unity.test-framework": "1.1.9" 53 | }, 54 | "url": "https://packages.unity.com" 55 | }, 56 | "com.unity.ide.vscode": { 57 | "version": "1.2.5", 58 | "depth": 1, 59 | "source": "registry", 60 | "dependencies": {}, 61 | "url": "https://packages.unity.com" 62 | }, 63 | "com.unity.performance.profile-analyzer": { 64 | "version": "1.2.2", 65 | "depth": 1, 66 | "source": "registry", 67 | "dependencies": {}, 68 | "url": "https://packages.unity.com" 69 | }, 70 | "com.unity.settings-manager": { 71 | "version": "2.0.1", 72 | "depth": 2, 73 | "source": "registry", 74 | "dependencies": {}, 75 | "url": "https://packages.unity.com" 76 | }, 77 | "com.unity.test-framework": { 78 | "version": "1.1.33", 79 | "depth": 1, 80 | "source": "registry", 81 | "dependencies": { 82 | "com.unity.ext.nunit": "1.0.6", 83 | "com.unity.modules.imgui": "1.0.0", 84 | "com.unity.modules.jsonserialize": "1.0.0" 85 | }, 86 | "url": "https://packages.unity.com" 87 | }, 88 | "com.unity.testtools.codecoverage": { 89 | "version": "1.2.4", 90 | "depth": 1, 91 | "source": "registry", 92 | "dependencies": { 93 | "com.unity.test-framework": "1.0.16", 94 | "com.unity.settings-manager": "1.0.1" 95 | }, 96 | "url": "https://packages.unity.com" 97 | }, 98 | "com.unity.textmeshpro": { 99 | "version": "3.0.6", 100 | "depth": 0, 101 | "source": "registry", 102 | "dependencies": { 103 | "com.unity.ugui": "1.0.0" 104 | }, 105 | "url": "https://packages.unity.com" 106 | }, 107 | "com.unity.timeline": { 108 | "version": "1.7.4", 109 | "depth": 0, 110 | "source": "registry", 111 | "dependencies": { 112 | "com.unity.modules.director": "1.0.0", 113 | "com.unity.modules.animation": "1.0.0", 114 | "com.unity.modules.audio": "1.0.0", 115 | "com.unity.modules.particlesystem": "1.0.0" 116 | }, 117 | "url": "https://packages.unity.com" 118 | }, 119 | "com.unity.ugui": { 120 | "version": "1.0.0", 121 | "depth": 0, 122 | "source": "builtin", 123 | "dependencies": { 124 | "com.unity.modules.ui": "1.0.0", 125 | "com.unity.modules.imgui": "1.0.0" 126 | } 127 | }, 128 | "com.unity.visualscripting": { 129 | "version": "1.8.0", 130 | "depth": 0, 131 | "source": "registry", 132 | "dependencies": { 133 | "com.unity.ugui": "1.0.0", 134 | "com.unity.modules.jsonserialize": "1.0.0" 135 | }, 136 | "url": "https://packages.unity.com" 137 | }, 138 | "com.unity.modules.ai": { 139 | "version": "1.0.0", 140 | "depth": 0, 141 | "source": "builtin", 142 | "dependencies": {} 143 | }, 144 | "com.unity.modules.androidjni": { 145 | "version": "1.0.0", 146 | "depth": 0, 147 | "source": "builtin", 148 | "dependencies": {} 149 | }, 150 | "com.unity.modules.animation": { 151 | "version": "1.0.0", 152 | "depth": 0, 153 | "source": "builtin", 154 | "dependencies": {} 155 | }, 156 | "com.unity.modules.assetbundle": { 157 | "version": "1.0.0", 158 | "depth": 0, 159 | "source": "builtin", 160 | "dependencies": {} 161 | }, 162 | "com.unity.modules.audio": { 163 | "version": "1.0.0", 164 | "depth": 0, 165 | "source": "builtin", 166 | "dependencies": {} 167 | }, 168 | "com.unity.modules.cloth": { 169 | "version": "1.0.0", 170 | "depth": 0, 171 | "source": "builtin", 172 | "dependencies": { 173 | "com.unity.modules.physics": "1.0.0" 174 | } 175 | }, 176 | "com.unity.modules.director": { 177 | "version": "1.0.0", 178 | "depth": 0, 179 | "source": "builtin", 180 | "dependencies": { 181 | "com.unity.modules.audio": "1.0.0", 182 | "com.unity.modules.animation": "1.0.0" 183 | } 184 | }, 185 | "com.unity.modules.imageconversion": { 186 | "version": "1.0.0", 187 | "depth": 0, 188 | "source": "builtin", 189 | "dependencies": {} 190 | }, 191 | "com.unity.modules.imgui": { 192 | "version": "1.0.0", 193 | "depth": 0, 194 | "source": "builtin", 195 | "dependencies": {} 196 | }, 197 | "com.unity.modules.jsonserialize": { 198 | "version": "1.0.0", 199 | "depth": 0, 200 | "source": "builtin", 201 | "dependencies": {} 202 | }, 203 | "com.unity.modules.particlesystem": { 204 | "version": "1.0.0", 205 | "depth": 0, 206 | "source": "builtin", 207 | "dependencies": {} 208 | }, 209 | "com.unity.modules.physics": { 210 | "version": "1.0.0", 211 | "depth": 0, 212 | "source": "builtin", 213 | "dependencies": {} 214 | }, 215 | "com.unity.modules.physics2d": { 216 | "version": "1.0.0", 217 | "depth": 0, 218 | "source": "builtin", 219 | "dependencies": {} 220 | }, 221 | "com.unity.modules.screencapture": { 222 | "version": "1.0.0", 223 | "depth": 0, 224 | "source": "builtin", 225 | "dependencies": { 226 | "com.unity.modules.imageconversion": "1.0.0" 227 | } 228 | }, 229 | "com.unity.modules.subsystems": { 230 | "version": "1.0.0", 231 | "depth": 1, 232 | "source": "builtin", 233 | "dependencies": { 234 | "com.unity.modules.jsonserialize": "1.0.0" 235 | } 236 | }, 237 | "com.unity.modules.terrain": { 238 | "version": "1.0.0", 239 | "depth": 0, 240 | "source": "builtin", 241 | "dependencies": {} 242 | }, 243 | "com.unity.modules.terrainphysics": { 244 | "version": "1.0.0", 245 | "depth": 0, 246 | "source": "builtin", 247 | "dependencies": { 248 | "com.unity.modules.physics": "1.0.0", 249 | "com.unity.modules.terrain": "1.0.0" 250 | } 251 | }, 252 | "com.unity.modules.tilemap": { 253 | "version": "1.0.0", 254 | "depth": 0, 255 | "source": "builtin", 256 | "dependencies": { 257 | "com.unity.modules.physics2d": "1.0.0" 258 | } 259 | }, 260 | "com.unity.modules.ui": { 261 | "version": "1.0.0", 262 | "depth": 0, 263 | "source": "builtin", 264 | "dependencies": {} 265 | }, 266 | "com.unity.modules.uielements": { 267 | "version": "1.0.0", 268 | "depth": 0, 269 | "source": "builtin", 270 | "dependencies": { 271 | "com.unity.modules.ui": "1.0.0", 272 | "com.unity.modules.imgui": "1.0.0", 273 | "com.unity.modules.jsonserialize": "1.0.0" 274 | } 275 | }, 276 | "com.unity.modules.umbra": { 277 | "version": "1.0.0", 278 | "depth": 0, 279 | "source": "builtin", 280 | "dependencies": {} 281 | }, 282 | "com.unity.modules.unityanalytics": { 283 | "version": "1.0.0", 284 | "depth": 0, 285 | "source": "builtin", 286 | "dependencies": { 287 | "com.unity.modules.unitywebrequest": "1.0.0", 288 | "com.unity.modules.jsonserialize": "1.0.0" 289 | } 290 | }, 291 | "com.unity.modules.unitywebrequest": { 292 | "version": "1.0.0", 293 | "depth": 0, 294 | "source": "builtin", 295 | "dependencies": {} 296 | }, 297 | "com.unity.modules.unitywebrequestassetbundle": { 298 | "version": "1.0.0", 299 | "depth": 0, 300 | "source": "builtin", 301 | "dependencies": { 302 | "com.unity.modules.assetbundle": "1.0.0", 303 | "com.unity.modules.unitywebrequest": "1.0.0" 304 | } 305 | }, 306 | "com.unity.modules.unitywebrequestaudio": { 307 | "version": "1.0.0", 308 | "depth": 0, 309 | "source": "builtin", 310 | "dependencies": { 311 | "com.unity.modules.unitywebrequest": "1.0.0", 312 | "com.unity.modules.audio": "1.0.0" 313 | } 314 | }, 315 | "com.unity.modules.unitywebrequesttexture": { 316 | "version": "1.0.0", 317 | "depth": 0, 318 | "source": "builtin", 319 | "dependencies": { 320 | "com.unity.modules.unitywebrequest": "1.0.0", 321 | "com.unity.modules.imageconversion": "1.0.0" 322 | } 323 | }, 324 | "com.unity.modules.unitywebrequestwww": { 325 | "version": "1.0.0", 326 | "depth": 0, 327 | "source": "builtin", 328 | "dependencies": { 329 | "com.unity.modules.unitywebrequest": "1.0.0", 330 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 331 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 332 | "com.unity.modules.audio": "1.0.0", 333 | "com.unity.modules.assetbundle": "1.0.0", 334 | "com.unity.modules.imageconversion": "1.0.0" 335 | } 336 | }, 337 | "com.unity.modules.vehicles": { 338 | "version": "1.0.0", 339 | "depth": 0, 340 | "source": "builtin", 341 | "dependencies": { 342 | "com.unity.modules.physics": "1.0.0" 343 | } 344 | }, 345 | "com.unity.modules.video": { 346 | "version": "1.0.0", 347 | "depth": 0, 348 | "source": "builtin", 349 | "dependencies": { 350 | "com.unity.modules.audio": "1.0.0", 351 | "com.unity.modules.ui": "1.0.0", 352 | "com.unity.modules.unitywebrequest": "1.0.0" 353 | } 354 | }, 355 | "com.unity.modules.vr": { 356 | "version": "1.0.0", 357 | "depth": 0, 358 | "source": "builtin", 359 | "dependencies": { 360 | "com.unity.modules.jsonserialize": "1.0.0", 361 | "com.unity.modules.physics": "1.0.0", 362 | "com.unity.modules.xr": "1.0.0" 363 | } 364 | }, 365 | "com.unity.modules.wind": { 366 | "version": "1.0.0", 367 | "depth": 0, 368 | "source": "builtin", 369 | "dependencies": {} 370 | }, 371 | "com.unity.modules.xr": { 372 | "version": "1.0.0", 373 | "depth": 0, 374 | "source": "builtin", 375 | "dependencies": { 376 | "com.unity.modules.physics": "1.0.0", 377 | "com.unity.modules.jsonserialize": "1.0.0", 378 | "com.unity.modules.subsystems": "1.0.0" 379 | } 380 | } 381 | } 382 | } 383 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 31 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/ProjectSettings/MemorySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!387306366 &1 4 | MemorySettings: 5 | m_ObjectHideFlags: 0 6 | m_EditorMemorySettings: 7 | m_MainAllocatorBlockSize: -1 8 | m_ThreadAllocatorBlockSize: -1 9 | m_MainGfxBlockSize: -1 10 | m_ThreadGfxBlockSize: -1 11 | m_CacheBlockSize: -1 12 | m_TypetreeBlockSize: -1 13 | m_ProfilerBlockSize: -1 14 | m_ProfilerEditorBlockSize: -1 15 | m_BucketAllocatorGranularity: -1 16 | m_BucketAllocatorBucketsCount: -1 17 | m_BucketAllocatorBlockSize: -1 18 | m_BucketAllocatorBlockCount: -1 19 | m_ProfilerBucketAllocatorGranularity: -1 20 | m_ProfilerBucketAllocatorBucketsCount: -1 21 | m_ProfilerBucketAllocatorBlockSize: -1 22 | m_ProfilerBucketAllocatorBlockCount: -1 23 | m_TempAllocatorSizeMain: -1 24 | m_JobTempAllocatorBlockSize: -1 25 | m_BackgroundJobTempAllocatorBlockSize: -1 26 | m_JobTempAllocatorReducedBlockSize: -1 27 | m_TempAllocatorSizeGIBakingWorker: -1 28 | m_TempAllocatorSizeNavMeshWorker: -1 29 | m_TempAllocatorSizeAudioWorker: -1 30 | m_TempAllocatorSizeCloudWorker: -1 31 | m_TempAllocatorSizeGfx: -1 32 | m_TempAllocatorSizeJobWorker: -1 33 | m_TempAllocatorSizeBackgroundWorker: -1 34 | m_TempAllocatorSizePreloadManager: -1 35 | m_PlatformMemorySettings: {} 36 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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_EnablePreReleasePackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | oneTimeWarningShown: 0 21 | m_Registries: 22 | - m_Id: main 23 | m_Name: 24 | m_Url: https://packages.unity.com 25 | m_Scopes: [] 26 | m_IsDefault: 1 27 | m_Capabilities: 7 28 | m_UserSelectedRegistryName: 29 | m_UserAddingNewScopedRegistry: 0 30 | m_RegistryInfoDraft: 31 | m_Modified: 0 32 | m_ErrorMessage: 33 | m_UserModificationsInstanceId: -830 34 | m_OriginalInstanceId: -832 35 | m_LoadAssets: 0 36 | -------------------------------------------------------------------------------- /demo/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "m_Dictionary": { 3 | "m_DictionaryValues": [] 4 | } 5 | } -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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: 26 7 | productGUID: 6aaa9a237accccc45af4ef95e86f5acf 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: 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: 1920 46 | defaultScreenHeight: 1080 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_SpriteBatchVertexThreshold: 300 52 | m_MTRendering: 1 53 | mipStripping: 0 54 | numberOfMipsStripped: 0 55 | numberOfMipsStrippedPerMipmapLimitGroup: {} 56 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 57 | iosShowActivityIndicatorOnLoading: -1 58 | androidShowActivityIndicatorOnLoading: -1 59 | iosUseCustomAppBackgroundBehavior: 0 60 | allowedAutorotateToPortrait: 1 61 | allowedAutorotateToPortraitUpsideDown: 1 62 | allowedAutorotateToLandscapeRight: 1 63 | allowedAutorotateToLandscapeLeft: 1 64 | useOSAutorotation: 1 65 | use32BitDisplayBuffer: 1 66 | preserveFramebufferAlpha: 0 67 | disableDepthAndStencilBuffers: 0 68 | androidStartInFullscreen: 1 69 | androidRenderOutsideSafeArea: 1 70 | androidUseSwappy: 1 71 | androidBlitType: 0 72 | androidResizableWindow: 0 73 | androidDefaultWindowWidth: 1920 74 | androidDefaultWindowHeight: 1080 75 | androidMinimumWindowWidth: 400 76 | androidMinimumWindowHeight: 300 77 | androidFullscreenMode: 1 78 | defaultIsNativeResolution: 1 79 | macRetinaSupport: 1 80 | runInBackground: 1 81 | captureSingleScreen: 0 82 | muteOtherAudioSources: 0 83 | Prepare IOS For Recording: 0 84 | Force IOS Speakers When Recording: 0 85 | deferSystemGesturesMode: 0 86 | hideHomeButton: 0 87 | submitAnalytics: 1 88 | usePlayerLog: 1 89 | bakeCollisionMeshes: 0 90 | forceSingleInstance: 0 91 | useFlipModelSwapchain: 1 92 | resizableWindow: 0 93 | useMacAppStoreValidation: 0 94 | macAppStoreCategory: public.app-category.games 95 | gpuSkinning: 1 96 | xboxPIXTextureCapture: 0 97 | xboxEnableAvatar: 0 98 | xboxEnableKinect: 0 99 | xboxEnableKinectAutoTracking: 0 100 | xboxEnableFitness: 0 101 | visibleInBackground: 1 102 | allowFullscreenSwitch: 1 103 | fullscreenMode: 1 104 | xboxSpeechDB: 0 105 | xboxEnableHeadOrientation: 0 106 | xboxEnableGuest: 0 107 | xboxEnablePIXSampling: 0 108 | metalFramebufferOnly: 0 109 | xboxOneResolution: 0 110 | xboxOneSResolution: 0 111 | xboxOneXResolution: 3 112 | xboxOneMonoLoggingLevel: 0 113 | xboxOneLoggingLevel: 1 114 | xboxOneDisableEsram: 0 115 | xboxOneEnableTypeOptimization: 0 116 | xboxOnePresentImmediateThreshold: 0 117 | switchQueueCommandMemory: 0 118 | switchQueueControlMemory: 16384 119 | switchQueueComputeMemory: 262144 120 | switchNVNShaderPoolsGranularity: 33554432 121 | switchNVNDefaultPoolsGranularity: 16777216 122 | switchNVNOtherPoolsGranularity: 16777216 123 | switchGpuScratchPoolGranularity: 2097152 124 | switchAllowGpuScratchShrinking: 0 125 | switchNVNMaxPublicTextureIDCount: 0 126 | switchNVNMaxPublicSamplerIDCount: 0 127 | switchNVNGraphicsFirmwareMemory: 32 128 | stadiaPresentMode: 0 129 | stadiaTargetFramerate: 0 130 | vulkanNumSwapchainBuffers: 3 131 | vulkanEnableSetSRGBWrite: 0 132 | vulkanEnablePreTransform: 1 133 | vulkanEnableLateAcquireNextImage: 0 134 | vulkanEnableCommandBufferRecycling: 1 135 | loadStoreDebugModeEnabled: 0 136 | bundleVersion: 0.1 137 | preloadedAssets: [] 138 | metroInputSource: 0 139 | wsaTransparentSwapchain: 0 140 | m_HolographicPauseOnTrackingLoss: 1 141 | xboxOneDisableKinectGpuReservation: 1 142 | xboxOneEnable7thCore: 1 143 | vrSettings: 144 | enable360StereoCapture: 0 145 | isWsaHolographicRemotingEnabled: 0 146 | enableFrameTimingStats: 0 147 | enableOpenGLProfilerGPURecorders: 1 148 | useHDRDisplay: 0 149 | hdrBitDepth: 0 150 | m_ColorGamuts: 00000000 151 | targetPixelDensity: 30 152 | resolutionScalingMode: 0 153 | resetResolutionOnWindowResize: 0 154 | androidSupportedAspectRatio: 1 155 | androidMaxAspectRatio: 2.1 156 | applicationIdentifier: {} 157 | buildNumber: 158 | Bratwurst: 0 159 | Standalone: 0 160 | iPhone: 0 161 | tvOS: 0 162 | overrideDefaultApplicationIdentifier: 0 163 | AndroidBundleVersionCode: 1 164 | AndroidMinSdkVersion: 22 165 | AndroidTargetSdkVersion: 0 166 | AndroidPreferredInstallLocation: 1 167 | aotOptions: 168 | stripEngineCode: 1 169 | iPhoneStrippingLevel: 0 170 | iPhoneScriptCallOptimization: 0 171 | ForceInternetPermission: 0 172 | ForceSDCardPermission: 0 173 | CreateWallpaper: 0 174 | APKExpansionFiles: 0 175 | keepLoadedShadersAlive: 0 176 | StripUnusedMeshComponents: 1 177 | strictShaderVariantMatching: 0 178 | VertexChannelCompressionMask: 4054 179 | iPhoneSdkVersion: 988 180 | iOSTargetOSVersionString: 12.0 181 | tvOSSdkVersion: 0 182 | tvOSRequireExtendedGameController: 0 183 | tvOSTargetOSVersionString: 12.0 184 | bratwurstSdkVersion: 0 185 | bratwurstTargetOSVersionString: 16.4 186 | uIPrerenderedIcon: 0 187 | uIRequiresPersistentWiFi: 0 188 | uIRequiresFullScreen: 1 189 | uIStatusBarHidden: 1 190 | uIExitOnSuspend: 0 191 | uIStatusBarStyle: 0 192 | appleTVSplashScreen: {fileID: 0} 193 | appleTVSplashScreen2x: {fileID: 0} 194 | tvOSSmallIconLayers: [] 195 | tvOSSmallIconLayers2x: [] 196 | tvOSLargeIconLayers: [] 197 | tvOSLargeIconLayers2x: [] 198 | tvOSTopShelfImageLayers: [] 199 | tvOSTopShelfImageLayers2x: [] 200 | tvOSTopShelfImageWideLayers: [] 201 | tvOSTopShelfImageWideLayers2x: [] 202 | iOSLaunchScreenType: 0 203 | iOSLaunchScreenPortrait: {fileID: 0} 204 | iOSLaunchScreenLandscape: {fileID: 0} 205 | iOSLaunchScreenBackgroundColor: 206 | serializedVersion: 2 207 | rgba: 0 208 | iOSLaunchScreenFillPct: 100 209 | iOSLaunchScreenSize: 100 210 | iOSLaunchScreenCustomXibPath: 211 | iOSLaunchScreeniPadType: 0 212 | iOSLaunchScreeniPadImage: {fileID: 0} 213 | iOSLaunchScreeniPadBackgroundColor: 214 | serializedVersion: 2 215 | rgba: 0 216 | iOSLaunchScreeniPadFillPct: 100 217 | iOSLaunchScreeniPadSize: 100 218 | iOSLaunchScreeniPadCustomXibPath: 219 | iOSLaunchScreenCustomStoryboardPath: 220 | iOSLaunchScreeniPadCustomStoryboardPath: 221 | iOSDeviceRequirements: [] 222 | iOSURLSchemes: [] 223 | macOSURLSchemes: [] 224 | iOSBackgroundModes: 0 225 | iOSMetalForceHardShadows: 0 226 | metalEditorSupport: 1 227 | metalAPIValidation: 1 228 | iOSRenderExtraFrameOnPause: 0 229 | iosCopyPluginsCodeInsteadOfSymlink: 0 230 | appleDeveloperTeamID: 231 | iOSManualSigningProvisioningProfileID: 232 | tvOSManualSigningProvisioningProfileID: 233 | bratwurstManualSigningProvisioningProfileID: 234 | iOSManualSigningProvisioningProfileType: 0 235 | tvOSManualSigningProvisioningProfileType: 0 236 | bratwurstManualSigningProvisioningProfileType: 0 237 | appleEnableAutomaticSigning: 0 238 | iOSRequireARKit: 0 239 | iOSAutomaticallyDetectAndAddCapabilities: 1 240 | appleEnableProMotion: 0 241 | shaderPrecisionModel: 0 242 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 243 | templatePackageId: com.unity.template.3d@8.1.1 244 | templateDefaultScene: Assets/Scenes/SampleScene.unity 245 | useCustomMainManifest: 0 246 | useCustomLauncherManifest: 0 247 | useCustomMainGradleTemplate: 0 248 | useCustomLauncherGradleManifest: 0 249 | useCustomBaseGradleTemplate: 0 250 | useCustomGradlePropertiesTemplate: 0 251 | useCustomGradleSettingsTemplate: 0 252 | useCustomProguardFile: 0 253 | AndroidTargetArchitectures: 1 254 | AndroidTargetDevices: 0 255 | AndroidSplashScreenScale: 0 256 | androidSplashScreen: {fileID: 0} 257 | AndroidKeystoreName: 258 | AndroidKeyaliasName: 259 | AndroidEnableArmv9SecurityFeatures: 0 260 | AndroidBuildApkPerCpuArchitecture: 0 261 | AndroidTVCompatibility: 0 262 | AndroidIsGame: 1 263 | AndroidEnableTango: 0 264 | androidEnableBanner: 1 265 | androidUseLowAccuracyLocation: 0 266 | androidUseCustomKeystore: 0 267 | m_AndroidBanners: 268 | - width: 320 269 | height: 180 270 | banner: {fileID: 0} 271 | androidGamepadSupportLevel: 0 272 | chromeosInputEmulation: 1 273 | AndroidMinifyRelease: 0 274 | AndroidMinifyDebug: 0 275 | AndroidValidateAppBundleSize: 1 276 | AndroidAppBundleSizeToValidate: 150 277 | m_BuildTargetIcons: [] 278 | m_BuildTargetPlatformIcons: [] 279 | m_BuildTargetBatching: 280 | - m_BuildTarget: Standalone 281 | m_StaticBatching: 1 282 | m_DynamicBatching: 0 283 | - m_BuildTarget: tvOS 284 | m_StaticBatching: 1 285 | m_DynamicBatching: 0 286 | - m_BuildTarget: Android 287 | m_StaticBatching: 1 288 | m_DynamicBatching: 0 289 | - m_BuildTarget: iPhone 290 | m_StaticBatching: 1 291 | m_DynamicBatching: 0 292 | - m_BuildTarget: WebGL 293 | m_StaticBatching: 0 294 | m_DynamicBatching: 0 295 | m_BuildTargetShaderSettings: [] 296 | m_BuildTargetGraphicsJobs: 297 | - m_BuildTarget: MacStandaloneSupport 298 | m_GraphicsJobs: 0 299 | - m_BuildTarget: Switch 300 | m_GraphicsJobs: 1 301 | - m_BuildTarget: MetroSupport 302 | m_GraphicsJobs: 1 303 | - m_BuildTarget: AppleTVSupport 304 | m_GraphicsJobs: 0 305 | - m_BuildTarget: BJMSupport 306 | m_GraphicsJobs: 1 307 | - m_BuildTarget: LinuxStandaloneSupport 308 | m_GraphicsJobs: 1 309 | - m_BuildTarget: PS4Player 310 | m_GraphicsJobs: 1 311 | - m_BuildTarget: iOSSupport 312 | m_GraphicsJobs: 0 313 | - m_BuildTarget: WindowsStandaloneSupport 314 | m_GraphicsJobs: 1 315 | - m_BuildTarget: XboxOnePlayer 316 | m_GraphicsJobs: 1 317 | - m_BuildTarget: LuminSupport 318 | m_GraphicsJobs: 0 319 | - m_BuildTarget: AndroidPlayer 320 | m_GraphicsJobs: 0 321 | - m_BuildTarget: WebGLSupport 322 | m_GraphicsJobs: 0 323 | m_BuildTargetGraphicsJobMode: 324 | - m_BuildTarget: PS4Player 325 | m_GraphicsJobMode: 0 326 | - m_BuildTarget: XboxOnePlayer 327 | m_GraphicsJobMode: 0 328 | m_BuildTargetGraphicsAPIs: 329 | - m_BuildTarget: AndroidPlayer 330 | m_APIs: 150000000b000000 331 | m_Automatic: 1 332 | - m_BuildTarget: iOSSupport 333 | m_APIs: 10000000 334 | m_Automatic: 1 335 | - m_BuildTarget: AppleTVSupport 336 | m_APIs: 10000000 337 | m_Automatic: 1 338 | - m_BuildTarget: WebGLSupport 339 | m_APIs: 0b000000 340 | m_Automatic: 1 341 | m_BuildTargetVRSettings: 342 | - m_BuildTarget: Standalone 343 | m_Enabled: 0 344 | m_Devices: 345 | - Oculus 346 | - OpenVR 347 | m_DefaultShaderChunkSizeInMB: 16 348 | m_DefaultShaderChunkCount: 0 349 | openGLRequireES31: 0 350 | openGLRequireES31AEP: 0 351 | openGLRequireES32: 0 352 | m_TemplateCustomTags: {} 353 | mobileMTRendering: 354 | Android: 1 355 | iPhone: 1 356 | tvOS: 1 357 | m_BuildTargetGroupLightmapEncodingQuality: 358 | - m_BuildTarget: Android 359 | m_EncodingQuality: 1 360 | - m_BuildTarget: iPhone 361 | m_EncodingQuality: 1 362 | - m_BuildTarget: tvOS 363 | m_EncodingQuality: 1 364 | m_BuildTargetGroupHDRCubemapEncodingQuality: 365 | - m_BuildTarget: Android 366 | m_EncodingQuality: 1 367 | - m_BuildTarget: iPhone 368 | m_EncodingQuality: 1 369 | - m_BuildTarget: tvOS 370 | m_EncodingQuality: 1 371 | m_BuildTargetGroupLightmapSettings: [] 372 | m_BuildTargetGroupLoadStoreDebugModeSettings: [] 373 | m_BuildTargetNormalMapEncoding: 374 | - m_BuildTarget: Android 375 | m_Encoding: 1 376 | - m_BuildTarget: iPhone 377 | m_Encoding: 1 378 | - m_BuildTarget: tvOS 379 | m_Encoding: 1 380 | m_BuildTargetDefaultTextureCompressionFormat: 381 | - m_BuildTarget: Android 382 | m_Format: 3 383 | playModeTestRunnerEnabled: 0 384 | runPlayModeTestAsEditModeTest: 0 385 | actionOnDotNetUnhandledException: 1 386 | enableInternalProfiler: 0 387 | logObjCUncaughtExceptions: 1 388 | enableCrashReportAPI: 0 389 | cameraUsageDescription: 390 | locationUsageDescription: 391 | microphoneUsageDescription: 392 | bluetoothUsageDescription: 393 | macOSTargetOSVersion: 10.13.0 394 | switchNMETAOverride: 395 | switchNetLibKey: 396 | switchSocketMemoryPoolSize: 6144 397 | switchSocketAllocatorPoolSize: 128 398 | switchSocketConcurrencyLimit: 14 399 | switchScreenResolutionBehavior: 2 400 | switchUseCPUProfiler: 0 401 | switchUseGOLDLinker: 0 402 | switchLTOSetting: 0 403 | switchApplicationID: 0x01004b9000490000 404 | switchNSODependencies: 405 | switchCompilerFlags: 406 | switchTitleNames_0: 407 | switchTitleNames_1: 408 | switchTitleNames_2: 409 | switchTitleNames_3: 410 | switchTitleNames_4: 411 | switchTitleNames_5: 412 | switchTitleNames_6: 413 | switchTitleNames_7: 414 | switchTitleNames_8: 415 | switchTitleNames_9: 416 | switchTitleNames_10: 417 | switchTitleNames_11: 418 | switchTitleNames_12: 419 | switchTitleNames_13: 420 | switchTitleNames_14: 421 | switchTitleNames_15: 422 | switchPublisherNames_0: 423 | switchPublisherNames_1: 424 | switchPublisherNames_2: 425 | switchPublisherNames_3: 426 | switchPublisherNames_4: 427 | switchPublisherNames_5: 428 | switchPublisherNames_6: 429 | switchPublisherNames_7: 430 | switchPublisherNames_8: 431 | switchPublisherNames_9: 432 | switchPublisherNames_10: 433 | switchPublisherNames_11: 434 | switchPublisherNames_12: 435 | switchPublisherNames_13: 436 | switchPublisherNames_14: 437 | switchPublisherNames_15: 438 | switchIcons_0: {fileID: 0} 439 | switchIcons_1: {fileID: 0} 440 | switchIcons_2: {fileID: 0} 441 | switchIcons_3: {fileID: 0} 442 | switchIcons_4: {fileID: 0} 443 | switchIcons_5: {fileID: 0} 444 | switchIcons_6: {fileID: 0} 445 | switchIcons_7: {fileID: 0} 446 | switchIcons_8: {fileID: 0} 447 | switchIcons_9: {fileID: 0} 448 | switchIcons_10: {fileID: 0} 449 | switchIcons_11: {fileID: 0} 450 | switchIcons_12: {fileID: 0} 451 | switchIcons_13: {fileID: 0} 452 | switchIcons_14: {fileID: 0} 453 | switchIcons_15: {fileID: 0} 454 | switchSmallIcons_0: {fileID: 0} 455 | switchSmallIcons_1: {fileID: 0} 456 | switchSmallIcons_2: {fileID: 0} 457 | switchSmallIcons_3: {fileID: 0} 458 | switchSmallIcons_4: {fileID: 0} 459 | switchSmallIcons_5: {fileID: 0} 460 | switchSmallIcons_6: {fileID: 0} 461 | switchSmallIcons_7: {fileID: 0} 462 | switchSmallIcons_8: {fileID: 0} 463 | switchSmallIcons_9: {fileID: 0} 464 | switchSmallIcons_10: {fileID: 0} 465 | switchSmallIcons_11: {fileID: 0} 466 | switchSmallIcons_12: {fileID: 0} 467 | switchSmallIcons_13: {fileID: 0} 468 | switchSmallIcons_14: {fileID: 0} 469 | switchSmallIcons_15: {fileID: 0} 470 | switchManualHTML: 471 | switchAccessibleURLs: 472 | switchLegalInformation: 473 | switchMainThreadStackSize: 1048576 474 | switchPresenceGroupId: 475 | switchLogoHandling: 0 476 | switchReleaseVersion: 0 477 | switchDisplayVersion: 1.0.0 478 | switchStartupUserAccount: 0 479 | switchSupportedLanguagesMask: 0 480 | switchLogoType: 0 481 | switchApplicationErrorCodeCategory: 482 | switchUserAccountSaveDataSize: 0 483 | switchUserAccountSaveDataJournalSize: 0 484 | switchApplicationAttribute: 0 485 | switchCardSpecSize: -1 486 | switchCardSpecClock: -1 487 | switchRatingsMask: 0 488 | switchRatingsInt_0: 0 489 | switchRatingsInt_1: 0 490 | switchRatingsInt_2: 0 491 | switchRatingsInt_3: 0 492 | switchRatingsInt_4: 0 493 | switchRatingsInt_5: 0 494 | switchRatingsInt_6: 0 495 | switchRatingsInt_7: 0 496 | switchRatingsInt_8: 0 497 | switchRatingsInt_9: 0 498 | switchRatingsInt_10: 0 499 | switchRatingsInt_11: 0 500 | switchRatingsInt_12: 0 501 | switchLocalCommunicationIds_0: 502 | switchLocalCommunicationIds_1: 503 | switchLocalCommunicationIds_2: 504 | switchLocalCommunicationIds_3: 505 | switchLocalCommunicationIds_4: 506 | switchLocalCommunicationIds_5: 507 | switchLocalCommunicationIds_6: 508 | switchLocalCommunicationIds_7: 509 | switchParentalControl: 0 510 | switchAllowsScreenshot: 1 511 | switchAllowsVideoCapturing: 1 512 | switchAllowsRuntimeAddOnContentInstall: 0 513 | switchDataLossConfirmation: 0 514 | switchUserAccountLockEnabled: 0 515 | switchSystemResourceMemory: 16777216 516 | switchSupportedNpadStyles: 22 517 | switchNativeFsCacheSize: 32 518 | switchIsHoldTypeHorizontal: 0 519 | switchSupportedNpadCount: 8 520 | switchEnableTouchScreen: 1 521 | switchSocketConfigEnabled: 0 522 | switchTcpInitialSendBufferSize: 32 523 | switchTcpInitialReceiveBufferSize: 64 524 | switchTcpAutoSendBufferSizeMax: 256 525 | switchTcpAutoReceiveBufferSizeMax: 256 526 | switchUdpSendBufferSize: 9 527 | switchUdpReceiveBufferSize: 42 528 | switchSocketBufferEfficiency: 4 529 | switchSocketInitializeEnabled: 1 530 | switchNetworkInterfaceManagerInitializeEnabled: 1 531 | switchPlayerConnectionEnabled: 1 532 | switchUseNewStyleFilepaths: 1 533 | switchUseLegacyFmodPriorities: 0 534 | switchUseMicroSleepForYield: 1 535 | switchEnableRamDiskSupport: 0 536 | switchMicroSleepForYieldTime: 25 537 | switchRamDiskSpaceSize: 12 538 | ps4NPAgeRating: 12 539 | ps4NPTitleSecret: 540 | ps4NPTrophyPackPath: 541 | ps4ParentalLevel: 11 542 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 543 | ps4Category: 0 544 | ps4MasterVersion: 01.00 545 | ps4AppVersion: 01.00 546 | ps4AppType: 0 547 | ps4ParamSfxPath: 548 | ps4VideoOutPixelFormat: 0 549 | ps4VideoOutInitialWidth: 1920 550 | ps4VideoOutBaseModeInitialWidth: 1920 551 | ps4VideoOutReprojectionRate: 60 552 | ps4PronunciationXMLPath: 553 | ps4PronunciationSIGPath: 554 | ps4BackgroundImagePath: 555 | ps4StartupImagePath: 556 | ps4StartupImagesFolder: 557 | ps4IconImagesFolder: 558 | ps4SaveDataImagePath: 559 | ps4SdkOverride: 560 | ps4BGMPath: 561 | ps4ShareFilePath: 562 | ps4ShareOverlayImagePath: 563 | ps4PrivacyGuardImagePath: 564 | ps4ExtraSceSysFile: 565 | ps4NPtitleDatPath: 566 | ps4RemotePlayKeyAssignment: -1 567 | ps4RemotePlayKeyMappingDir: 568 | ps4PlayTogetherPlayerCount: 0 569 | ps4EnterButtonAssignment: 1 570 | ps4ApplicationParam1: 0 571 | ps4ApplicationParam2: 0 572 | ps4ApplicationParam3: 0 573 | ps4ApplicationParam4: 0 574 | ps4DownloadDataSize: 0 575 | ps4GarlicHeapSize: 2048 576 | ps4ProGarlicHeapSize: 2560 577 | playerPrefsMaxSize: 32768 578 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 579 | ps4pnSessions: 1 580 | ps4pnPresence: 1 581 | ps4pnFriends: 1 582 | ps4pnGameCustomData: 1 583 | playerPrefsSupport: 0 584 | enableApplicationExit: 0 585 | resetTempFolder: 1 586 | restrictedAudioUsageRights: 0 587 | ps4UseResolutionFallback: 0 588 | ps4ReprojectionSupport: 0 589 | ps4UseAudio3dBackend: 0 590 | ps4UseLowGarlicFragmentationMode: 1 591 | ps4SocialScreenEnabled: 0 592 | ps4ScriptOptimizationLevel: 0 593 | ps4Audio3dVirtualSpeakerCount: 14 594 | ps4attribCpuUsage: 0 595 | ps4PatchPkgPath: 596 | ps4PatchLatestPkgPath: 597 | ps4PatchChangeinfoPath: 598 | ps4PatchDayOne: 0 599 | ps4attribUserManagement: 0 600 | ps4attribMoveSupport: 0 601 | ps4attrib3DSupport: 0 602 | ps4attribShareSupport: 0 603 | ps4attribExclusiveVR: 0 604 | ps4disableAutoHideSplash: 0 605 | ps4videoRecordingFeaturesUsed: 0 606 | ps4contentSearchFeaturesUsed: 0 607 | ps4CompatibilityPS5: 0 608 | ps4AllowPS5Detection: 0 609 | ps4GPU800MHz: 1 610 | ps4attribEyeToEyeDistanceSettingVR: 0 611 | ps4IncludedModules: [] 612 | ps4attribVROutputEnabled: 0 613 | monoEnv: 614 | splashScreenBackgroundSourceLandscape: {fileID: 0} 615 | splashScreenBackgroundSourcePortrait: {fileID: 0} 616 | blurSplashScreenBackground: 1 617 | spritePackerPolicy: 618 | webGLMemorySize: 16 619 | webGLExceptionSupport: 1 620 | webGLNameFilesAsHashes: 0 621 | webGLShowDiagnostics: 0 622 | webGLDataCaching: 1 623 | webGLDebugSymbols: 0 624 | webGLEmscriptenArgs: 625 | webGLModulesDirectory: 626 | webGLTemplate: APPLICATION:Default 627 | webGLAnalyzeBuildSize: 0 628 | webGLUseEmbeddedResources: 0 629 | webGLCompressionFormat: 1 630 | webGLWasmArithmeticExceptions: 0 631 | webGLLinkerTarget: 1 632 | webGLThreadsSupport: 0 633 | webGLDecompressionFallback: 0 634 | webGLInitialMemorySize: 32 635 | webGLMaximumMemorySize: 2048 636 | webGLMemoryGrowthMode: 2 637 | webGLMemoryLinearGrowthStep: 16 638 | webGLMemoryGeometricGrowthStep: 0.2 639 | webGLMemoryGeometricGrowthCap: 96 640 | webGLPowerPreference: 2 641 | scriptingDefineSymbols: {} 642 | additionalCompilerArguments: {} 643 | platformArchitecture: {} 644 | scriptingBackend: {} 645 | il2cppCompilerConfiguration: {} 646 | il2cppCodeGeneration: {} 647 | managedStrippingLevel: 648 | Bratwurst: 1 649 | EmbeddedLinux: 1 650 | GameCoreScarlett: 1 651 | GameCoreXboxOne: 1 652 | Nintendo Switch: 1 653 | PS4: 1 654 | PS5: 1 655 | QNX: 1 656 | Stadia: 1 657 | WebGL: 1 658 | Windows Store Apps: 1 659 | XboxOne: 1 660 | iPhone: 1 661 | tvOS: 1 662 | incrementalIl2cppBuild: {} 663 | suppressCommonWarnings: 1 664 | allowUnsafeCode: 0 665 | useDeterministicCompilation: 1 666 | additionalIl2CppArgs: 667 | scriptingRuntimeVersion: 1 668 | gcIncremental: 1 669 | gcWBarrierValidation: 0 670 | apiCompatibilityLevelPerPlatform: {} 671 | m_RenderingPath: 1 672 | m_MobileRenderingPath: 1 673 | metroPackageName: demo 674 | metroPackageVersion: 675 | metroCertificatePath: 676 | metroCertificatePassword: 677 | metroCertificateSubject: 678 | metroCertificateIssuer: 679 | metroCertificateNotAfter: 0000000000000000 680 | metroApplicationDescription: demo 681 | wsaImages: {} 682 | metroTileShortName: 683 | metroTileShowName: 0 684 | metroMediumTileShowName: 0 685 | metroLargeTileShowName: 0 686 | metroWideTileShowName: 0 687 | metroSupportStreamingInstall: 0 688 | metroLastRequiredScene: 0 689 | metroDefaultTileSize: 1 690 | metroTileForegroundText: 2 691 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 692 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1} 693 | metroSplashScreenUseBackgroundColor: 0 694 | platformCapabilities: {} 695 | metroTargetDeviceFamilies: {} 696 | metroFTAName: 697 | metroFTAFileTypes: [] 698 | metroProtocolName: 699 | vcxProjDefaultLanguage: 700 | XboxOneProductId: 701 | XboxOneUpdateKey: 702 | XboxOneSandboxId: 703 | XboxOneContentId: 704 | XboxOneTitleId: 705 | XboxOneSCId: 706 | XboxOneGameOsOverridePath: 707 | XboxOnePackagingOverridePath: 708 | XboxOneAppManifestOverridePath: 709 | XboxOneVersion: 1.0.0.0 710 | XboxOnePackageEncryption: 0 711 | XboxOnePackageUpdateGranularity: 2 712 | XboxOneDescription: 713 | XboxOneLanguage: 714 | - enus 715 | XboxOneCapability: [] 716 | XboxOneGameRating: {} 717 | XboxOneIsContentPackage: 0 718 | XboxOneEnhancedXboxCompatibilityMode: 0 719 | XboxOneEnableGPUVariability: 1 720 | XboxOneSockets: {} 721 | XboxOneSplashScreen: {fileID: 0} 722 | XboxOneAllowedProductIds: [] 723 | XboxOnePersistentLocalStorageSize: 0 724 | XboxOneXTitleMemory: 8 725 | XboxOneOverrideIdentityName: 726 | XboxOneOverrideIdentityPublisher: 727 | vrEditorSettings: {} 728 | cloudServicesEnabled: 729 | UNet: 1 730 | luminIcon: 731 | m_Name: 732 | m_ModelFolderPath: 733 | m_PortalFolderPath: 734 | luminCert: 735 | m_CertPath: 736 | m_SignPackage: 1 737 | luminIsChannelApp: 0 738 | luminVersion: 739 | m_VersionCode: 1 740 | m_VersionName: 741 | hmiPlayerDataPath: 742 | hmiForceSRGBBlit: 1 743 | embeddedLinuxEnableGamepadInput: 1 744 | hmiLogStartupTiming: 0 745 | hmiCpuConfiguration: 746 | apiCompatibilityLevel: 6 747 | activeInputHandler: 0 748 | windowsGamepadBackendHint: 0 749 | cloudProjectId: 750 | framebufferDepthMemorylessMode: 0 751 | qualitySettingsNames: [] 752 | projectName: 753 | organizationId: 754 | cloudEnabled: 0 755 | legacyClampBlendShapeWeights: 0 756 | hmiLoadingImage: {fileID: 0} 757 | platformRequiresReadableAssets: 0 758 | virtualTexturingSupportEnabled: 0 759 | insecureHttpOption: 0 760 | -------------------------------------------------------------------------------- /demo/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2022.3.4f1 2 | m_EditorVersionWithRevision: 2022.3.4f1 (35713cd46cd7) 3 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/ProjectSettings/SceneTemplateSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "templatePinStates": [], 3 | "dependencyTypeInfos": [ 4 | { 5 | "userAdded": false, 6 | "type": "UnityEngine.AnimationClip", 7 | "defaultInstantiationMode": 0 8 | }, 9 | { 10 | "userAdded": false, 11 | "type": "UnityEditor.Animations.AnimatorController", 12 | "defaultInstantiationMode": 0 13 | }, 14 | { 15 | "userAdded": false, 16 | "type": "UnityEngine.AnimatorOverrideController", 17 | "defaultInstantiationMode": 0 18 | }, 19 | { 20 | "userAdded": false, 21 | "type": "UnityEditor.Audio.AudioMixerController", 22 | "defaultInstantiationMode": 0 23 | }, 24 | { 25 | "userAdded": false, 26 | "type": "UnityEngine.ComputeShader", 27 | "defaultInstantiationMode": 1 28 | }, 29 | { 30 | "userAdded": false, 31 | "type": "UnityEngine.Cubemap", 32 | "defaultInstantiationMode": 0 33 | }, 34 | { 35 | "userAdded": false, 36 | "type": "UnityEngine.GameObject", 37 | "defaultInstantiationMode": 0 38 | }, 39 | { 40 | "userAdded": false, 41 | "type": "UnityEditor.LightingDataAsset", 42 | "defaultInstantiationMode": 0 43 | }, 44 | { 45 | "userAdded": false, 46 | "type": "UnityEngine.LightingSettings", 47 | "defaultInstantiationMode": 0 48 | }, 49 | { 50 | "userAdded": false, 51 | "type": "UnityEngine.Material", 52 | "defaultInstantiationMode": 0 53 | }, 54 | { 55 | "userAdded": false, 56 | "type": "UnityEditor.MonoScript", 57 | "defaultInstantiationMode": 1 58 | }, 59 | { 60 | "userAdded": false, 61 | "type": "UnityEngine.PhysicMaterial", 62 | "defaultInstantiationMode": 0 63 | }, 64 | { 65 | "userAdded": false, 66 | "type": "UnityEngine.PhysicsMaterial2D", 67 | "defaultInstantiationMode": 0 68 | }, 69 | { 70 | "userAdded": false, 71 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", 72 | "defaultInstantiationMode": 0 73 | }, 74 | { 75 | "userAdded": false, 76 | "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", 77 | "defaultInstantiationMode": 0 78 | }, 79 | { 80 | "userAdded": false, 81 | "type": "UnityEngine.Rendering.VolumeProfile", 82 | "defaultInstantiationMode": 0 83 | }, 84 | { 85 | "userAdded": false, 86 | "type": "UnityEditor.SceneAsset", 87 | "defaultInstantiationMode": 1 88 | }, 89 | { 90 | "userAdded": false, 91 | "type": "UnityEngine.Shader", 92 | "defaultInstantiationMode": 1 93 | }, 94 | { 95 | "userAdded": false, 96 | "type": "UnityEngine.ShaderVariantCollection", 97 | "defaultInstantiationMode": 1 98 | }, 99 | { 100 | "userAdded": false, 101 | "type": "UnityEngine.Texture", 102 | "defaultInstantiationMode": 0 103 | }, 104 | { 105 | "userAdded": false, 106 | "type": "UnityEngine.Texture2D", 107 | "defaultInstantiationMode": 0 108 | }, 109 | { 110 | "userAdded": false, 111 | "type": "UnityEngine.Timeline.TimelineAsset", 112 | "defaultInstantiationMode": 0 113 | } 114 | ], 115 | "defaultDependencyTypeInfo": { 116 | "userAdded": false, 117 | "type": "", 118 | "defaultInstantiationMode": 1 119 | }, 120 | "newSceneOverride": 0 121 | } -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | m_PackageRequiringCoreStatsPresent: 0 27 | UnityAdsSettings: 28 | m_Enabled: 0 29 | m_InitializeOnStartup: 1 30 | m_TestMode: 0 31 | m_IosGameId: 32 | m_AndroidGameId: 33 | m_GameIds: {} 34 | m_GameId: 35 | PerformanceReportingSettings: 36 | m_Enabled: 0 37 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | -------------------------------------------------------------------------------- /demo/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 | } -------------------------------------------------------------------------------- /demo/UserSettings/EditorUserSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!162 &1 4 | EditorUserSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_ConfigSettings: 8 | RecentlyUsedSceneGuid-0: 9 | value: 5a5757560101590a5d0c0e24427b5d44434e4c7a7b7a23677f2b4565b7b5353a 10 | flags: 0 11 | vcSharedLogLevel: 12 | value: 0d5e400f0650 13 | flags: 0 14 | m_VCAutomaticAdd: 1 15 | m_VCDebugCom: 0 16 | m_VCDebugCmd: 0 17 | m_VCDebugOut: 0 18 | m_SemanticMergeMode: 2 19 | m_DesiredImportWorkerCount: 4 20 | m_StandbyImportWorkerCount: 2 21 | m_IdleImportWorkerShutdownDelay: 60000 22 | m_VCShowFailedCheckout: 1 23 | m_VCOverwriteFailedCheckoutAssets: 1 24 | m_VCProjectOverlayIcons: 1 25 | m_VCHierarchyOverlayIcons: 1 26 | m_VCOtherOverlayIcons: 1 27 | m_VCAllowAsyncUpdate: 1 28 | m_ArtifactGarbageCollection: 1 29 | -------------------------------------------------------------------------------- /demo/UserSettings/Search.settings: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /license.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2018, Djordje Jocic 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Touch Input 2 | 3 | Touch gestures made easy for Unity3D Game Engine. 4 | 5 | **Note:** Update is coming. ;) 6 | 7 | # Example 8 | 9 | After adding the script "TouchInput.cs" to your project you can start using it immediately. 10 | 11 | ```C# 12 | using UnityEngine; 13 | using System.Collections; 14 | 15 | public class BasicController : MonoBehaviour 16 | { 17 | void Start() 18 | { 19 | 20 | } 21 | 22 | void Update() 23 | { 24 | TouchInput.ProcessTouches(); 25 | 26 | if (TouchInput.Tap()) 27 | { 28 | // TAP DETECTED 29 | } 30 | else if (TouchInput.SwipeUp()) 31 | { 32 | // SWIPE UP DETECTED 33 | } 34 | else if (TouchInput.SwipeDown()) 35 | { 36 | // SWIPE DOWN DETECTED 37 | } 38 | else if (TouchInput.SwipeLeft()) 39 | { 40 | // SWIPE LEFT DETECTED 41 | } 42 | else if (TouchInput.SwipeRight()) 43 | { 44 | // SWIPE RIGHT DETECTED 45 | } 46 | } 47 | } 48 | ``` 49 | -------------------------------------------------------------------------------- /source/TouchInput.cs: -------------------------------------------------------------------------------- 1 | /**************************************************\ 2 | |* Script Author: Djordje Jocic *| 3 | |* Script Year: 2015 *| 4 | |* Script Version: 1.0.0 *| 5 | |* Script License: MIT License (MIT) *| 6 | |* ============================================== *| 7 | |* Official Website: http://www.djordjejocic.com/ *| 8 | |* ============================================== *| 9 | |* Permission is hereby granted, free of charge, *| 10 | |* to any person obtaining a copy of this *| 11 | |* software and associated documentation files *| 12 | |* (the "Software"), to deal in the Software *| 13 | |* without restriction, including without *| 14 | |* limitation the rights to use, copy, modify, *| 15 | |* merge, publish, distribute, sublicense, and/or *| 16 | |* sell copies of the Software, and to permit *| 17 | |* persons to whom the Software is furnished to *| 18 | |* do so, subject to the following conditions: *| 19 | |* ---------------------------------------------- *| 20 | |* The above copyright notice and this permission *| 21 | |* notice shall be included in all copies or *| 22 | |* substantial portions of the Software. *| 23 | |* ---------------------------------------------- *| 24 | |* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT *| 25 | |* WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, *| 26 | |* INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *| 27 | |* MERCHANTABILITY, FITNESS FOR A PARTICULAR *| 28 | |* PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL *| 29 | |* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR *| 30 | |* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER *| 31 | |* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *| 32 | |* RISING FROM, OUT OF OR IN CONNECTION WITH THE *| 33 | |* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE *| 34 | |* SOFTWARE. *| 35 | \**************************************************/ 36 | 37 | using UnityEngine; 38 | using UnityEngine.UI; 39 | using System.Collections; 40 | 41 | public class TouchInput 42 | { 43 | // "Core" Variables. 44 | 45 | private static Vector2[] tapPositions = new Vector2[2]; 46 | private static Vector2[] swipePositions = new Vector2[2]; 47 | 48 | // "Offset" Variables. 49 | 50 | private static float offsetTap = 15.0F; 51 | private static float offsetSwipe = 40.0F; 52 | 53 | // "Flag" Variables. 54 | 55 | private static bool fTapAllowed = false; 56 | private static bool fSwipeAllowed = false; 57 | 58 | // "Other" Variables. 59 | 60 | private static float tempX = 0.0F; 61 | private static float tempY = 0.0F; 62 | 63 | // "Core" Methods. 64 | 65 | public static void ProcessTouches() 66 | { 67 | if (Input.touchCount > 0) // Check If User Is Touching The Screen. 68 | { 69 | Touch touch = Input.touches[0]; 70 | 71 | if (touch.phase == TouchPhase.Began) // Begin Phase. 72 | { 73 | TouchInput.tapPositions[0] = touch.position; 74 | TouchInput.swipePositions[0] = touch.position; 75 | } 76 | else if (touch.phase == TouchPhase.Canceled) // Canceled Phase. 77 | { 78 | TouchInput.ResetPositions(); 79 | } 80 | else if (touch.phase == TouchPhase.Ended) // Ended Phase. 81 | { 82 | TouchInput.tapPositions[1] = touch.position; 83 | TouchInput.swipePositions[1] = touch.position; 84 | 85 | TouchInput.fTapAllowed = true; 86 | TouchInput.fSwipeAllowed = true; 87 | } 88 | else if (touch.phase == TouchPhase.Moved) // Moved Phase. 89 | { 90 | // NO CODE ATM FOR MOVED 91 | } 92 | else if (touch.phase == TouchPhase.Stationary) // Stationary Phase. 93 | { 94 | // NO CODE ATM FOR STATIONARY 95 | } 96 | } 97 | 98 | } 99 | 100 | private static void ResetPositions() 101 | { 102 | TouchInput.tapPositions = new Vector2[2]; 103 | 104 | TouchInput.fTapAllowed = false; 105 | TouchInput.fSwipeAllowed = false; 106 | } 107 | 108 | // "Controls" Methods. 109 | 110 | public static bool Tap() 111 | { 112 | bool result = false; 113 | 114 | if (TouchInput.fTapAllowed) 115 | { 116 | TouchInput.tempX = Mathf.Abs(TouchInput.tapPositions[0].x - TouchInput.tapPositions[1].x); 117 | TouchInput.tempY = Mathf.Abs(TouchInput.tapPositions[0].y - TouchInput.tapPositions[1].y); 118 | 119 | if (tempX <= TouchInput.offsetTap && tempY <= TouchInput.offsetTap) 120 | { 121 | result = true; 122 | } 123 | 124 | TouchInput.tapPositions = new Vector2[2]; 125 | TouchInput.fTapAllowed = false; 126 | } 127 | 128 | return result; 129 | } 130 | 131 | public static bool SwipeLeft() 132 | { 133 | bool result = false; 134 | 135 | if (TouchInput.fSwipeAllowed) 136 | { 137 | TouchInput.tempX = TouchInput.swipePositions[0].x - TouchInput.swipePositions[1].x; 138 | 139 | if (tempX >= TouchInput.offsetSwipe) 140 | { 141 | TouchInput.swipePositions = new Vector2[2]; 142 | TouchInput.fSwipeAllowed = false; 143 | result = true; 144 | } 145 | } 146 | 147 | return result; 148 | } 149 | 150 | public static bool SwipeRight() 151 | { 152 | bool result = false; 153 | 154 | if (TouchInput.fSwipeAllowed) 155 | { 156 | TouchInput.tempX = TouchInput.swipePositions[1].x - TouchInput.swipePositions[0].x; 157 | 158 | if (tempX >= TouchInput.offsetSwipe) 159 | { 160 | TouchInput.swipePositions = new Vector2[2]; 161 | TouchInput.fSwipeAllowed = false; 162 | result = true; 163 | } 164 | } 165 | 166 | return result; 167 | } 168 | 169 | public static bool SwipeUp() 170 | { 171 | bool result = false; 172 | 173 | if (TouchInput.fSwipeAllowed) 174 | { 175 | TouchInput.tempY = TouchInput.swipePositions[1].y - TouchInput.swipePositions[0].y; 176 | 177 | if (tempY >= TouchInput.offsetSwipe) 178 | { 179 | TouchInput.swipePositions = new Vector2[2]; 180 | TouchInput.fSwipeAllowed = false; 181 | result = true; 182 | } 183 | } 184 | 185 | return result; 186 | } 187 | 188 | public static bool SwipeDown() 189 | { 190 | bool result = false; 191 | 192 | if (TouchInput.fSwipeAllowed) 193 | { 194 | TouchInput.tempY = TouchInput.swipePositions[0].y - TouchInput.swipePositions[1].y; 195 | 196 | if (tempY >= TouchInput.offsetSwipe) 197 | { 198 | TouchInput.swipePositions = new Vector2[2]; 199 | TouchInput.fSwipeAllowed = false; 200 | result = true; 201 | } 202 | } 203 | 204 | return result; 205 | } 206 | } 207 | --------------------------------------------------------------------------------