├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── A-npanRemote.unitypackage ├── Assets ├── A-npanRemote.meta ├── A-npanRemote │ ├── Editor.meta │ ├── Editor │ │ ├── Server.cs │ │ └── Server.cs.meta │ ├── Player.meta │ ├── Player │ │ ├── A_npanRemote.cs │ │ ├── A_npanRemote.cs.meta │ │ ├── IRemotePayload.cs │ │ └── IRemotePayload.cs.meta │ ├── Resources.meta │ ├── Resources │ │ ├── a-npanResource.meta │ │ └── a-npanResource │ │ │ ├── a-npanQRCanvas.prefab │ │ │ └── a-npanQRCanvas.prefab.meta │ ├── libs.meta │ └── libs │ │ ├── Autoya.meta │ │ ├── Autoya │ │ ├── BackyardSettings.cs │ │ ├── BackyardSettings.cs.meta │ │ ├── Persistence.meta │ │ └── Persistence │ │ │ ├── .DS_Store │ │ │ ├── CacheHit.meta │ │ │ ├── CacheHit │ │ │ ├── CacheHit.cs │ │ │ └── CacheHit.cs.meta │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ ├── PersistenceSupport.cs │ │ │ └── PersistenceSupport.cs.meta │ │ │ ├── FilePersistence.meta │ │ │ ├── FilePersistence │ │ │ ├── FilePersistence.cs │ │ │ └── FilePersistence.cs.meta │ │ │ ├── InAppDB.meta │ │ │ ├── InAppDB │ │ │ ├── InAppDB.cs │ │ │ └── InAppDB.cs.meta │ │ │ ├── InAppKVS.meta │ │ │ ├── InAppKVS │ │ │ ├── InAppKVS.cs │ │ │ └── InAppKVS.cs.meta │ │ │ ├── Plugins.meta │ │ │ ├── Plugins │ │ │ ├── iOS.meta │ │ │ └── iOS │ │ │ │ ├── StorageMeasure.mm │ │ │ │ └── StorageMeasure.mm.meta │ │ │ ├── README.md │ │ │ ├── README.md.meta │ │ │ ├── URLCaching.meta │ │ │ └── URLCaching │ │ │ ├── URLCaching.cs │ │ │ └── URLCaching.cs.meta │ │ ├── Chanquo.meta │ │ ├── Chanquo │ │ ├── ChRunner.cs │ │ ├── ChRunner.cs.meta │ │ ├── Chanquo.asmdef │ │ ├── Chanquo.asmdef.meta │ │ ├── Chanquo2.cs │ │ └── Chanquo2.cs.meta │ │ ├── QRCodeSupport.meta │ │ ├── QRCodeSupport │ │ ├── DERIVEDFROM.txt │ │ ├── DERIVEDFROM.txt.meta │ │ ├── QrCodeGenerator-1.6.1.meta │ │ └── QrCodeGenerator-1.6.1 │ │ │ ├── .gitignore │ │ │ ├── LICENSE │ │ │ ├── LICENSE.meta │ │ │ ├── QrCodeGenerator.meta │ │ │ ├── QrCodeGenerator │ │ │ ├── BitArrayExtensions.cs │ │ │ ├── BitArrayExtensions.cs.meta │ │ │ ├── DataTooLongException.cs │ │ │ ├── DataTooLongException.cs.meta │ │ │ ├── Key.snk │ │ │ ├── Key.snk.meta │ │ │ ├── Objects.cs │ │ │ ├── Objects.cs.meta │ │ │ ├── QrCode.cs │ │ │ ├── QrCode.cs.meta │ │ │ ├── QrCodeGenerator.csproj │ │ │ ├── QrCodeGenerator.csproj.meta │ │ │ ├── QrSegment.cs │ │ │ ├── QrSegment.cs.meta │ │ │ ├── QrSegmentAdvanced.cs │ │ │ ├── QrSegmentAdvanced.cs.meta │ │ │ ├── ReedSolomonGenerator.cs │ │ │ ├── ReedSolomonGenerator.cs.meta │ │ │ ├── docfx.meta │ │ │ └── docfx │ │ │ │ ├── api.meta │ │ │ │ ├── api │ │ │ │ ├── index.md │ │ │ │ └── index.md.meta │ │ │ │ ├── docfx.json │ │ │ │ ├── docfx.json.meta │ │ │ │ ├── index.md │ │ │ │ └── index.md.meta │ │ │ ├── README.md │ │ │ └── README.md.meta │ │ ├── WebuSocket.meta │ │ └── WebuSocket │ │ ├── WebSocketByteGenerator.cs │ │ ├── WebSocketByteGenerator.cs.meta │ │ ├── WebSocketEncryption.cs │ │ ├── WebSocketEncryption.cs.meta │ │ ├── WebuSocket.cs │ │ ├── WebuSocket.cs.meta │ │ ├── WebuSocketServer.cs │ │ ├── WebuSocketServer.cs.meta │ │ ├── lib.meta │ │ └── lib │ │ ├── BouncyCastle.dll │ │ ├── BouncyCastle.dll.meta │ │ ├── derivedfrom.txt │ │ └── derivedfrom.txt.meta ├── ARFaceTrackingSample.meta ├── ARFaceTrackingSample │ ├── .DS_Store │ ├── ARFaceTracking.cs │ ├── ARFaceTracking.cs.meta │ ├── ARFaceTrackingSample.cs │ ├── ARFaceTrackingSample.cs.meta │ ├── ARFaceTrackingSampleScene.unity │ └── ARFaceTrackingSampleScene.unity.meta ├── ARKitSettings.asset ├── ARKitSettings.asset.meta ├── Editor.meta ├── Editor │ ├── EditorTool.cs │ └── EditorTool.cs.meta ├── TextMesh Pro.meta ├── TextMesh Pro │ ├── Documentation.meta │ ├── Documentation │ │ ├── TextMesh Pro User Guide 2016.pdf │ │ └── TextMesh Pro User Guide 2016.pdf.meta │ ├── Fonts.meta │ ├── Fonts │ │ ├── LiberationSans - OFL.txt │ │ ├── LiberationSans - OFL.txt.meta │ │ ├── LiberationSans.ttf │ │ └── LiberationSans.ttf.meta │ ├── Resources.meta │ ├── Resources │ │ ├── Fonts & Materials.meta │ │ ├── Fonts & Materials │ │ │ ├── LiberationSans SDF - Drop Shadow.mat │ │ │ ├── LiberationSans SDF - Drop Shadow.mat.meta │ │ │ ├── LiberationSans SDF - Fallback.asset │ │ │ ├── LiberationSans SDF - Fallback.asset.meta │ │ │ ├── LiberationSans SDF - Outline.mat │ │ │ ├── LiberationSans SDF - Outline.mat.meta │ │ │ ├── LiberationSans SDF.asset │ │ │ └── LiberationSans SDF.asset.meta │ │ ├── LineBreaking Following Characters.txt │ │ ├── LineBreaking Following Characters.txt.meta │ │ ├── LineBreaking Leading Characters.txt │ │ ├── LineBreaking Leading Characters.txt.meta │ │ ├── Shaders.meta │ │ ├── Shaders │ │ │ ├── TMP_Bitmap-Custom-Atlas.shader │ │ │ ├── TMP_Bitmap-Custom-Atlas.shader.meta │ │ │ ├── TMP_Bitmap-Mobile.shader │ │ │ ├── TMP_Bitmap-Mobile.shader.meta │ │ │ ├── TMP_Bitmap.shader │ │ │ ├── TMP_Bitmap.shader.meta │ │ │ ├── TMP_SDF Overlay.shader │ │ │ ├── TMP_SDF Overlay.shader.meta │ │ │ ├── TMP_SDF-Mobile Masking.shader │ │ │ ├── TMP_SDF-Mobile Masking.shader.meta │ │ │ ├── TMP_SDF-Mobile Overlay.shader │ │ │ ├── TMP_SDF-Mobile Overlay.shader.meta │ │ │ ├── TMP_SDF-Mobile.shader │ │ │ ├── TMP_SDF-Mobile.shader.meta │ │ │ ├── TMP_SDF-Surface-Mobile.shader │ │ │ ├── TMP_SDF-Surface-Mobile.shader.meta │ │ │ ├── TMP_SDF-Surface.shader │ │ │ ├── TMP_SDF-Surface.shader.meta │ │ │ ├── TMP_SDF.shader │ │ │ ├── TMP_SDF.shader.meta │ │ │ ├── TMP_Sprite.shader │ │ │ ├── TMP_Sprite.shader.meta │ │ │ ├── TMPro.cginc │ │ │ ├── TMPro.cginc.meta │ │ │ ├── TMPro_Properties.cginc │ │ │ ├── TMPro_Properties.cginc.meta │ │ │ ├── TMPro_Surface.cginc │ │ │ └── TMPro_Surface.cginc.meta │ │ ├── Sprite Assets.meta │ │ ├── Sprite Assets │ │ │ ├── EmojiOne.asset │ │ │ └── EmojiOne.asset.meta │ │ ├── Style Sheets.meta │ │ ├── Style Sheets │ │ │ ├── Default Style Sheet.asset │ │ │ └── Default Style Sheet.asset.meta │ │ ├── TMP Settings.asset │ │ └── TMP Settings.asset.meta │ ├── Sprites.meta │ └── Sprites │ │ ├── EmojiOne Attribution.txt │ │ ├── EmojiOne Attribution.txt.meta │ │ ├── EmojiOne.json │ │ ├── EmojiOne.json.meta │ │ ├── EmojiOne.png │ │ └── EmojiOne.png.meta ├── UnityARKitPlugin.meta ├── UnityARKitPlugin │ ├── ARKitRemote.meta │ ├── ARKitRemote │ │ ├── ARKITREMOTE.txt │ │ ├── ARKITREMOTE.txt.meta │ │ ├── ARKitFaceTrackingRemoteConnection.cs │ │ ├── ARKitFaceTrackingRemoteConnection.cs.meta │ │ ├── ARKitRemoteConnection.cs │ │ ├── ARKitRemoteConnection.cs.meta │ │ ├── ARKitRemoteConnection.prefab │ │ ├── ARKitRemoteConnection.prefab.meta │ │ ├── ConnectToEditor.cs │ │ ├── ConnectToEditor.cs.meta │ │ ├── ConnectionMessageIds.cs │ │ ├── ConnectionMessageIds.cs.meta │ │ ├── EditorARFaceAnchor.cs │ │ ├── EditorARFaceAnchor.cs.meta │ │ ├── EditorARPlaneAnchor.cs │ │ ├── EditorARPlaneAnchor.cs.meta │ │ ├── EditorHitTest.cs │ │ ├── EditorHitTest.cs.meta │ │ ├── EditorTestScene.unity │ │ ├── EditorTestScene.unity.meta │ │ ├── ObjectSerializationExtension.cs │ │ ├── ObjectSerializationExtension.cs.meta │ │ ├── SerializableObjects.cs │ │ ├── SerializableObjects.cs.meta │ │ ├── UnityARKitRemote.unity │ │ ├── UnityARKitRemote.unity.meta │ │ ├── UnityRemoteVideo.cs │ │ └── UnityRemoteVideo.cs.meta │ ├── Examples.meta │ ├── Examples │ │ ├── ARKit1.5.meta │ │ └── ARKit1.5 │ │ │ ├── UnityARPlaneMesh.meta │ │ │ └── UnityARPlaneMesh │ │ │ ├── ARKitPlaneMeshRender.cs │ │ │ └── ARKitPlaneMeshRender.cs.meta │ ├── Plugins.meta │ ├── Plugins │ │ ├── iOS.meta │ │ └── iOS │ │ │ ├── UnityARKit.meta │ │ │ └── UnityARKit │ │ │ ├── ARReferenceImage.cs │ │ │ ├── ARReferenceImage.cs.meta │ │ │ ├── ARReferenceImagesSet.cs │ │ │ ├── ARReferenceImagesSet.cs.meta │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ ├── ARResourcesJSON.cs │ │ │ ├── ARResourcesJSON.cs.meta │ │ │ ├── UnityARBuildPostprocessor.cs │ │ │ └── UnityARBuildPostprocessor.cs.meta │ │ │ ├── Helpers.meta │ │ │ ├── Helpers │ │ │ ├── AR3DOFCameraManager.cs │ │ │ ├── AR3DOFCameraManager.cs.meta │ │ │ ├── ARPlaneAnchorGameObject.cs │ │ │ ├── ARPlaneAnchorGameObject.cs.meta │ │ │ ├── DontDestroyOnLoad.cs │ │ │ ├── DontDestroyOnLoad.cs.meta │ │ │ ├── LinkedListDictionary.cs │ │ │ ├── LinkedListDictionary.cs.meta │ │ │ ├── PointCloudParticleExample.cs │ │ │ ├── PointCloudParticleExample.cs.meta │ │ │ ├── UnityARAmbient.cs │ │ │ ├── UnityARAmbient.cs.meta │ │ │ ├── UnityARAnchorManager.cs │ │ │ ├── UnityARAnchorManager.cs.meta │ │ │ ├── UnityARCameraManager.cs │ │ │ ├── UnityARCameraManager.cs.meta │ │ │ ├── UnityARCameraNearFar.cs │ │ │ ├── UnityARCameraNearFar.cs.meta │ │ │ ├── UnityARGeneratePlane.cs │ │ │ ├── UnityARGeneratePlane.cs.meta │ │ │ ├── UnityARHitTestExample.cs │ │ │ ├── UnityARHitTestExample.cs.meta │ │ │ ├── UnityARKitControl.cs │ │ │ ├── UnityARKitControl.cs.meta │ │ │ ├── UnityARKitLightManager.cs │ │ │ ├── UnityARKitLightManager.cs.meta │ │ │ ├── UnityARMatrixOps.cs │ │ │ ├── UnityARMatrixOps.cs.meta │ │ │ ├── UnityARUserAnchorComponent.cs │ │ │ ├── UnityARUserAnchorComponent.cs.meta │ │ │ ├── UnityARUtility.cs │ │ │ ├── UnityARUtility.cs.meta │ │ │ ├── UnityARVideo.cs │ │ │ ├── UnityARVideo.cs.meta │ │ │ ├── UnityPointCloudExample.cs │ │ │ └── UnityPointCloudExample.cs.meta │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ ├── YUVMaterial.mat │ │ │ ├── YUVMaterial.mat.meta │ │ │ ├── YUVMaterialLinear.mat │ │ │ └── YUVMaterialLinear.mat.meta │ │ │ ├── NativeInterface.meta │ │ │ ├── NativeInterface │ │ │ ├── ARAnchor.cs │ │ │ ├── ARAnchor.cs.meta │ │ │ ├── ARCamera.cs │ │ │ ├── ARCamera.cs.meta │ │ │ ├── ARErrorCode.cs │ │ │ ├── ARErrorCode.cs.meta │ │ │ ├── ARFaceAnchor.cs │ │ │ ├── ARFaceAnchor.cs.meta │ │ │ ├── ARFrame.cs │ │ │ ├── ARFrame.cs.meta │ │ │ ├── ARHitTestResult.cs │ │ │ ├── ARHitTestResult.cs.meta │ │ │ ├── ARHitTestResultType.cs │ │ │ ├── ARHitTestResultType.cs.meta │ │ │ ├── ARImageAnchor.cs │ │ │ ├── ARImageAnchor.cs.meta │ │ │ ├── ARLightEstimate.cs │ │ │ ├── ARLightEstimate.cs.meta │ │ │ ├── ARPlaneAnchor.cs │ │ │ ├── ARPlaneAnchor.cs.meta │ │ │ ├── ARPlaneAnchorAlignment.cs │ │ │ ├── ARPlaneAnchorAlignment.cs.meta │ │ │ ├── ARPoint.cs │ │ │ ├── ARPoint.cs.meta │ │ │ ├── ARRect.cs │ │ │ ├── ARRect.cs.meta │ │ │ ├── ARSessionNative.mm │ │ │ ├── ARSessionNative.mm.meta │ │ │ ├── ARSize.cs │ │ │ ├── ARSize.cs.meta │ │ │ ├── ARTextureHandles.cs │ │ │ ├── ARTextureHandles.cs.meta │ │ │ ├── ARTrackingQuality.cs │ │ │ ├── ARTrackingQuality.cs.meta │ │ │ ├── ARTrackingState.cs │ │ │ ├── ARTrackingState.cs.meta │ │ │ ├── ARTrackingStateReason.cs │ │ │ ├── ARTrackingStateReason.cs.meta │ │ │ ├── ARUserAnchor.cs │ │ │ ├── ARUserAnchor.cs.meta │ │ │ ├── ARVideoFormat.cs │ │ │ ├── ARVideoFormat.cs.meta │ │ │ ├── UnityARSessionNativeInterface.cs │ │ │ └── UnityARSessionNativeInterface.cs.meta │ │ │ ├── Shaders.meta │ │ │ └── Shaders │ │ │ ├── YUVShader.shader │ │ │ ├── YUVShader.shader.meta │ │ │ ├── YUVShaderLinear.shader │ │ │ └── YUVShaderLinear.shader.meta │ ├── Resources.meta │ ├── Resources │ │ ├── UnityARKitPlugin.meta │ │ └── UnityARKitPlugin │ │ │ ├── ARKitSettings.asset │ │ │ └── ARKitSettings.asset.meta │ ├── UnityARKitPluginSettings.cs │ └── UnityARKitPluginSettings.cs.meta ├── VRTrackingSample.meta └── VRTrackingSample │ ├── VRTracking.cs │ ├── VRTracking.cs.meta │ ├── VRTrackingSample.cs │ ├── VRTrackingSample.cs.meta │ ├── VRTrackingSampleScene.unity │ └── VRTrackingSampleScene.unity.meta ├── Chanquo.csproj ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset └── XRSettings.asset ├── README.md └── obj └── Debug ├── Chanquo.csproj.CoreCompileInputs.cache └── Chanquo.csprojAssemblyReference.cache /.gitignore: -------------------------------------------------------------------------------- 1 | iOS/* 2 | Library/* 3 | Temp/* 4 | Assets/A-npanRemote/Editor/src/* 5 | Assets/.DS_Store 6 | A-npanRemote.sln 7 | Assembly-CSharp-Editor.csproj 8 | Assembly-CSharp.csproj 9 | obj/Debug/Assembly-CSharp-Editor.csproj.CoreCompileInputs.cache 10 | obj/Debug/Assembly-CSharp.csproj.CoreCompileInputs.cache 11 | Logs/Packages-Update.log 12 | obj/Debug/Assembly-CSharp-Editor.csprojAssemblyReference.cache 13 | obj/Debug/Assembly-CSharp.csprojAssemblyReference.cache 14 | .DS_Store 15 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": ".NET Core Launch (console)", 9 | "type": "coreclr", 10 | "request": "launch", 11 | "WARNING01": "*********************************************************************************", 12 | "WARNING02": "The C# extension was unable to automatically decode projects in the current", 13 | "WARNING03": "workspace to create a runnable launch.json file. A template launch.json file has", 14 | "WARNING04": "been created as a placeholder.", 15 | "WARNING05": "", 16 | "WARNING06": "If OmniSharp is currently unable to load your project, you can attempt to resolve", 17 | "WARNING07": "this by restoring any missing project dependencies (example: run 'dotnet restore')", 18 | "WARNING08": "and by fixing any reported errors from building the projects in your workspace.", 19 | "WARNING09": "If this allows OmniSharp to now load your project then --", 20 | "WARNING10": " * Delete this file", 21 | "WARNING11": " * Open the Visual Studio Code command palette (View->Command Palette)", 22 | "WARNING12": " * run the command: '.NET: Generate Assets for Build and Debug'.", 23 | "WARNING13": "", 24 | "WARNING14": "If your project requires a more complex launch configuration, you may wish to delete", 25 | "WARNING15": "this configuration and pick a different template using the 'Add Configuration...'", 26 | "WARNING16": "button at the bottom of this file.", 27 | "WARNING17": "*********************************************************************************", 28 | "preLaunchTask": "build", 29 | "program": "${workspaceFolder}/bin/Debug//.dll", 30 | "args": [], 31 | "cwd": "${workspaceFolder}", 32 | "console": "internalConsole", 33 | "stopAtEntry": false 34 | }, 35 | { 36 | "name": ".NET Core Attach", 37 | "type": "coreclr", 38 | "request": "attach", 39 | "processId": "${command:pickProcess}" 40 | } 41 | ] 42 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.exclude": 3 | { 4 | "**/.DS_Store":true, 5 | "**/.git":true, 6 | "**/.gitignore":true, 7 | "**/.gitmodules":true, 8 | "**/*.booproj":true, 9 | "**/*.pidb":true, 10 | "**/*.suo":true, 11 | "**/*.user":true, 12 | "**/*.userprefs":true, 13 | "**/*.unityproj":true, 14 | "**/*.dll":true, 15 | "**/*.exe":true, 16 | "**/*.pdf":true, 17 | "**/*.mid":true, 18 | "**/*.midi":true, 19 | "**/*.wav":true, 20 | "**/*.gif":true, 21 | "**/*.ico":true, 22 | "**/*.jpg":true, 23 | "**/*.jpeg":true, 24 | "**/*.png":true, 25 | "**/*.psd":true, 26 | "**/*.tga":true, 27 | "**/*.tif":true, 28 | "**/*.tiff":true, 29 | "**/*.3ds":true, 30 | "**/*.3DS":true, 31 | "**/*.fbx":true, 32 | "**/*.FBX":true, 33 | "**/*.lxo":true, 34 | "**/*.LXO":true, 35 | "**/*.ma":true, 36 | "**/*.MA":true, 37 | "**/*.obj":true, 38 | "**/*.OBJ":true, 39 | "**/*.asset":true, 40 | "**/*.cubemap":true, 41 | "**/*.flare":true, 42 | "**/*.mat":true, 43 | "**/*.meta":true, 44 | "**/*.prefab":true, 45 | "**/*.unity":true, 46 | "build/":true, 47 | "Build/":true, 48 | "Library/":true, 49 | "library/":true, 50 | "obj/":true, 51 | "Obj/":true, 52 | "ProjectSettings/":true, 53 | "temp/":true, 54 | "Temp/":true 55 | } 56 | } -------------------------------------------------------------------------------- /A-npanRemote.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/A-npanRemote.unitypackage -------------------------------------------------------------------------------- /Assets/A-npanRemote.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7885f25893be64378ae4c533d340525b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e34c8135322244f13a7af8b40c679079 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/Editor/Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07254c6bc84544e1eb6a0bc0cde3ee67 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/Player.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea4d6145569714c119a3186c87b722bd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/Player/A_npanRemote.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8767967f53d714c5bb98deac19ea02f6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/Player/IRemotePayload.cs: -------------------------------------------------------------------------------- 1 | public interface IRemotePayload0 { } 2 | 3 | public interface IRemotePayload1 4 | { 5 | object Param0(); 6 | } 7 | 8 | public interface IRemotePayload2 9 | { 10 | object Param0(); 11 | object Param1(); 12 | } 13 | 14 | public interface IRemotePayload3 15 | { 16 | object Param0(); 17 | object Param1(); 18 | object Param2(); 19 | } -------------------------------------------------------------------------------- /Assets/A-npanRemote/Player/IRemotePayload.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0be419eb95d3741a9adbb356eb48eda7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae15a69c88c694e1b8b55552622c1278 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/Resources/a-npanResource.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84f100e0d3628417698f12b368bf7828 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/Resources/a-npanResource/a-npanQRCanvas.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 343c679a781e541e7bb92c301d4bb91f 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72203a75fbcd7429b92424f88458d35d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 830d53017cb164fa3845c1043d07ea50 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/BackyardSettings.cs: -------------------------------------------------------------------------------- 1 | public class BackyardSettings 2 | { 3 | public const double HTTP_TIMEOUT_SEC = 5.0; 4 | } -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/BackyardSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 290c118d6f87846caa7c7af1df537a05 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2bb8e7bdafef54efaa1e54923ddc7faf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/Assets/A-npanRemote/libs/Autoya/Persistence/.DS_Store -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/CacheHit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 261b240badf3f4b7a9106f099aa74cfb 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/CacheHit/CacheHit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eff286acd7aad4f35b1fea37b6b61ee1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 698f8d8d5cbab4101beac8ea8c01152e 3 | folderAsset: yes 4 | timeCreated: 1519567028 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/Editor/PersistenceSupport.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad1628dfe914e4bc2a016f4c89e8d0e5 3 | timeCreated: 1519567028 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/FilePersistence.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92a648f97462643358ee22f2a5a10263 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/FilePersistence/FilePersistence.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc8052ecf70cd41838b777a314e3d020 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/InAppDB.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7dff3317437924e2cba5507fd67c8d96 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/InAppDB/InAppDB.cs: -------------------------------------------------------------------------------- 1 | // in development, stay tunes! 2 | 3 | // using System.Collections.Generic; 4 | // using System.Linq; 5 | // using UnityEngine; 6 | // using UnityEngine.Purchasing.MiniJSON; 7 | 8 | // namespace DB 9 | // { 10 | // public class InAppDB 11 | // { 12 | // public class A 13 | // { 14 | // public string name; 15 | // } 16 | 17 | // public class B 18 | // { 19 | // public string id; 20 | // public string name; 21 | // } 22 | 23 | // public static A[] LoadAllTabsFronDB() 24 | // { 25 | // var a = new A[rawTabs.Count]; 26 | // for (var k = 0; k < a.Length; k++) 27 | // { 28 | // a[k] = new A(); 29 | // var tab = a[k]; 30 | 31 | // var d = rawTabs[k] as Dictionary; 32 | // // var order = (int)tabDict["tabId"]; 33 | // } 34 | 35 | // return a; 36 | // } 37 | 38 | 39 | // private static List rawTabs; 40 | // private static Dictionary rawItems; 41 | 42 | // public static void Append(string sourceJson) 43 | // { 44 | // if (typeof(T) == typeof(A[])) 45 | // { 46 | // rawTabs = Json.Deserialize(sourceJson) as List; 47 | // } 48 | 49 | 50 | // if (typeof(T) == typeof(B)) 51 | // { 52 | // rawItems = Json.Deserialize(sourceJson) as Dictionary; 53 | 54 | // //Debug.Log("item! rawItems:" + rawItems); 55 | 56 | // } 57 | // } 58 | // } 59 | // } -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/InAppDB/InAppDB.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ee6fbccfba00454bb2383f25be23b7e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/InAppKVS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 84ddfdef26b444c12bde5ffb94f86859 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/InAppKVS/InAppKVS.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07805d0d4c8794518bbc0091a8da7145 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2445e995c6fe41dcaa91efbf30e7782 3 | folderAsset: yes 4 | timeCreated: 1470502147 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/Plugins/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed2f48e1817c343838d5e5b2758ee080 3 | folderAsset: yes 4 | timeCreated: 1470502244 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/Plugins/iOS/StorageMeasure.mm: -------------------------------------------------------------------------------- 1 | #define MB (1024*1024) 2 | 3 | extern "C" { 4 | int _iOSStorage_AvailableMb(); 5 | int _iOSStorage_TotalMb(); 6 | } 7 | 8 | /* 9 | * ストレージ空き容量の取得 10 | */ 11 | int _iOSStorage_AvailableMb() { 12 | NSArray *paths = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES); 13 | NSDictionary *dict = [[NSFileManager defaultManager] attributesOfFileSystemForPath:[paths lastObject] error:nil]; 14 | 15 | if (dict) { 16 | float freeStorage = [[dict objectForKey: NSFileSystemFreeSize] floatValue] / MB; 17 | return (int)freeStorage; 18 | } 19 | 20 | return 0; 21 | } 22 | 23 | /* 24 | * ストレージ全容量の取得 25 | */ 26 | int _iOSStorage_TotalMb() { 27 | NSArray *paths = NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES); 28 | NSDictionary *dict = [[NSFileManager defaultManager] attributesOfFileSystemForPath:[paths lastObject] error:nil]; 29 | 30 | if (dict) { 31 | float totalStorage = [[dict objectForKey: NSFileSystemSize] floatValue] / MB; 32 | return (int)totalStorage; 33 | } 34 | 35 | return 0; 36 | } -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/Plugins/iOS/StorageMeasure.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a4f23087dd7a4e2fa4d5f7a24633c46 3 | timeCreated: 1470502341 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 0 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | iOS: 19 | enabled: 1 20 | settings: {} 21 | tvOS: 22 | enabled: 1 23 | settings: {} 24 | userData: 25 | assetBundleName: 26 | assetBundleVariant: 27 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/README.md: -------------------------------------------------------------------------------- 1 | # Persistence 2 | Utility for small-string JSON persistet function, and other local Database support. 3 | 4 | ## Contains 5 | * string persistency 6 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 612b650a713fc412c8718969d9fdd98d 3 | timeCreated: 1469785633 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/URLCaching.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 300fdcae883ef4b0daea1cba5f0dff94 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Autoya/Persistence/URLCaching/URLCaching.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 526cdb84319594850bae31788e91464d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Chanquo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a529186dd925943e1859546b1b73a59a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Chanquo/ChRunner.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using UnityEngine; 4 | 5 | namespace Chanquo.v2 6 | { 7 | public class ChRunner : MonoBehaviour 8 | { 9 | private object delayLock = new object(); 10 | private readonly Hashtable typeChanTable = new Hashtable(); 11 | 12 | internal void Add(Action pullAct) where T : struct 13 | { 14 | lock (delayLock) 15 | { 16 | var type = typeof(T); 17 | typeChanTable[type] = pullAct; 18 | } 19 | } 20 | 21 | internal void Remove() where T : struct 22 | { 23 | lock (delayLock) 24 | { 25 | var type = typeof(T); 26 | typeChanTable.Remove(type); 27 | } 28 | } 29 | 30 | private void Update() 31 | { 32 | foreach (var key in typeChanTable.Keys) 33 | { 34 | var pull = (Action)typeChanTable[(Type)key]; 35 | pull?.Invoke(); 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Chanquo/ChRunner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dbc57e3cbc7948f4ad0d3c468f615ff 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Chanquo/Chanquo.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Chanquo" 3 | } 4 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Chanquo/Chanquo.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe80840abd09e4c42b8ab67172f38255 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/Chanquo/Chanquo2.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9cee79683a7104ca7905e1859d5fc25c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58c5758482c4b4a9da90375dc79af412 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/DERIVEDFROM.txt: -------------------------------------------------------------------------------- 1 | this library is derived from: 2 | https://github.com/manuelbl/QrCodeGenerator/releases/tag/v1.6.1 3 | 4 | MIT License 5 | 6 | Copyright (c) 2018 Manuel Bleichenbacher 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in all 16 | copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 24 | SOFTWARE. 25 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/DERIVEDFROM.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb6ddc4666daf4961beb7b05442f4943 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6018a829cc7f0414b9cd9713c9b95d6e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/.gitignore: -------------------------------------------------------------------------------- 1 | # User-specific files 2 | *.rsuser 3 | *.suo 4 | *.user 5 | *.userosscache 6 | *.sln.docstates 7 | 8 | # User-specific files (MonoDevelop/Xamarin Studio) 9 | *.userprefs 10 | 11 | 12 | # Build results 13 | [Bb]in/ 14 | [Oo]bj/ 15 | 16 | # Visual Studio 2015/2017 cache/options directory 17 | .vs/ 18 | 19 | # Visual Studio Code 20 | .vscode/ 21 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Manuel Bleichenbacher 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5c02b965034d4f208835dd418f35895 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4c0cf95880864322ae8c2bcd047620d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/BitArrayExtensions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e27966902bd047ab887a93b081b4064 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/DataTooLongException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bbddc65cb5a1f41cc9e256822b2b7d46 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/Key.snk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/Key.snk -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/Key.snk.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac84a0d54e5414daca0eefa684d9ce9e 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/Objects.cs: -------------------------------------------------------------------------------- 1 | /* 2 | * QR code generator library (.NET) 3 | * 4 | * Copyright (c) Manuel Bleichenbacher (MIT License) 5 | * https://github.com/manuelbl/QrCodeGenerator 6 | * Copyright (c) Project Nayuki (MIT License) 7 | * https://www.nayuki.io/page/qr-code-generator-library 8 | * 9 | * Permission is hereby granted, free of charge, to any person obtaining a copy 10 | * of this software and associated documentation files (the "Software"), to deal 11 | * in the Software without restriction, including without limitation the rights 12 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | * copies of the Software, and to permit persons to whom the Software is 14 | * furnished to do so, subject to the following conditions: 15 | * 16 | * The above copyright notice and this permission notice shall be included in 17 | * all copies or substantial portions of the Software. 18 | * 19 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 24 | * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 25 | * IN THE SOFTWARE. 26 | */ 27 | 28 | using System; 29 | 30 | namespace Net.Codecrete.QrCodeGenerator 31 | { 32 | /// 33 | /// Helper functions to check for valid arguments. 34 | /// 35 | internal class Objects 36 | { 37 | /// 38 | /// Ensures that the specified argument is not null. 39 | /// 40 | /// Throws a exception if the argument is null. 41 | /// 42 | /// 43 | /// The type of the argument. 44 | /// The argument to check. 45 | /// Argument passed to function. 46 | /// The specified argument is null. 47 | internal static T RequireNonNull(T arg) 48 | { 49 | if (arg == null) 50 | { 51 | throw new ArgumentNullException(); 52 | } 53 | return arg; 54 | } 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/Objects.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4930f2539def14afda1d02d59b59e706 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/QrCode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fd5d51e8762f4129aa91b2b9dbcbb4b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/QrCodeGenerator.csproj: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | netstandard2.0 5 | Net.Codecrete.QrCodeGenerator 6 | Net.Codecrete.QrCodeGenerator 7 | 1.6.1 8 | Manuel Bleichenbacher, Project Nayuki 9 | QR Code Generator for .NET 10 | QR Code Generator for .NET – simple, compact and well. Derived from tried and tested implementation by project Nayuki. 11 | 12 | Core features: 13 | - Supports encoding all 40 versions (sizes) and all 4 error correction levels, as per the QR Code Model 2 standard 14 | - Output formats: Raw modules/pixels of the QR symbol, SVG XML string, raster bitmap 15 | - Encodes numeric and special-alphanumeric text in less space than general text 16 | - Open source code under the permissive MIT License 17 | - Significantly shorter code but more documentation compared to competing libraries 18 | - Built for .NET Standard 2.0 and therefore runs on most modern .NET platforms (.NET Core, .NET Framework, Mono etc.). 19 | 20 | Manual parameters: 21 | - You can specify the minimum and maximum version number allowed, and the library will automatically choose the smallest version in the range that fits the data. 22 | - You can specify the mask pattern manually, otherwise library will automatically evaluate all 8 masks and select the optimal one. 23 | - You can specify an error correction level, or optionally allow the library to boost it if it doesn't increase the version number. 24 | - You can create a list of data segments manually and add ECI segments. 25 | 26 | Optional advanced features: 27 | - Encodes Japanese Unicode text in Kanji mode to save a lot of space compared to UTF-8 bytes 28 | - Computes optimal segment mode switching for text with mixed numeric/alphanumeric/general/kanji parts 29 | Copyright (c) Manuel Bleichenbacher and Project Nayuki (MIT License) 30 | https://github.com/manuelbl/QrCodeGenerator 31 | https://github.com/manuelbl/QrCodeGenerator 32 | 33 | qr code, qrcode, kanji, qrcode generator, svg 34 | New in releases 1.6.0/1.6.1: 35 | - Strong-named assembly 36 | - Color support 37 | 38 | Codecrete 39 | true 40 | Key.snk 41 | 1.6.0.0 42 | 1.6.1.0 43 | MIT 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/QrCodeGenerator.csproj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c8ada5130665458ab3911c8d2fd016b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/QrSegment.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 058adf0da7fab48319586aecabe8d8d5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/QrSegmentAdvanced.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7321d039b2d44a0aaa7260cb4d4d5e7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/ReedSolomonGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43a3eb5298e564b7b82e62d6ee873fdf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/docfx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66f942396c3494e6e9e6085d4b2ca5cf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/docfx/api.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2df061ab3d534b86abc556c9af4971c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/docfx/api/index.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1519ecc3f96b4a07be9385faffb1dcb 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/docfx/docfx.json: -------------------------------------------------------------------------------- 1 | { 2 | "metadata": [ 3 | { 4 | "src": [ 5 | { 6 | "files": [ 7 | "**.csproj" 8 | ], 9 | "src": ".." 10 | } 11 | ], 12 | "dest": "../obj/docfx/api", 13 | "disableGitFeatures": false, 14 | "disableDefaultFilter": false 15 | } 16 | ], 17 | "build": { 18 | "content": [ 19 | { 20 | "files": [ 21 | "api/**.yml" 22 | ], 23 | "src": "../obj/docfx" 24 | }, 25 | { 26 | "files": [ 27 | "index.md", 28 | "api/index.md" 29 | ] 30 | } 31 | ], 32 | "resource": [ 33 | ], 34 | "overwrite": [ 35 | { 36 | "files": [ 37 | "apidoc/**.md" 38 | ], 39 | "exclude": [ 40 | "obj/**", 41 | "bin/**" 42 | ] 43 | } 44 | ], 45 | "dest": "../bin/_site", 46 | "globalMetadataFiles": [], 47 | "fileMetadataFiles": [], 48 | "template": [ 49 | "default" 50 | ], 51 | "postProcessors": [], 52 | "markdownEngineName": "markdig", 53 | "noLangKeyword": false, 54 | "keepFileLink": false, 55 | "cleanupCacheHistory": false, 56 | "disableGitFeatures": false 57 | } 58 | } -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/docfx/docfx.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d7a2ff3865c1489fa468aee28820d08 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/docfx/index.md: -------------------------------------------------------------------------------- 1 | # QR Code Generator for .NET 2 | 3 | [.NET Reference Documentation](api/index.md) 4 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/QrCodeGenerator/docfx/index.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb37914b3777842278df847613f8032f 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/QRCodeSupport/QrCodeGenerator-1.6.1/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7c8fe0218de14945b0433aa4f81d731 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6113fe1d21e3b422aa413f59298fc08d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/WebSocketByteGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fced3933a0e434cfa9a46e53f76abe6f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/WebSocketEncryption.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32b37ff354d2349568692332f5189124 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/WebuSocket.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a059c4d9b09af4e17a036b5b9db44539 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/WebuSocketServer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b887ac959e70b486a9c08fd345225bbd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/lib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef1bb19b169c847c3841cf9d2d3a7cc0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/lib/BouncyCastle.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/Assets/A-npanRemote/libs/WebuSocket/lib/BouncyCastle.dll -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/lib/BouncyCastle.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 324cae1de9bce4fc8a57bb6ebc831ad3 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | isPreloaded: 0 9 | isOverridable: 0 10 | platformData: 11 | - first: 12 | Any: 13 | second: 14 | enabled: 1 15 | settings: {} 16 | - first: 17 | Editor: Editor 18 | second: 19 | enabled: 0 20 | settings: 21 | DefaultValueInitialized: true 22 | - first: 23 | Windows Store Apps: WindowsStoreApps 24 | second: 25 | enabled: 0 26 | settings: 27 | CPU: AnyCPU 28 | userData: 29 | assetBundleName: 30 | assetBundleVariant: 31 | -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/lib/derivedfrom.txt: -------------------------------------------------------------------------------- 1 | https://github.com/bcgit/bc-csharp -------------------------------------------------------------------------------- /Assets/A-npanRemote/libs/WebuSocket/lib/derivedfrom.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 790d2220c75634fc49634c8992d1a1fe 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/ARFaceTrackingSample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ccfe43a734464d95801949f6ebc1f53 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ARFaceTrackingSample/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/Assets/ARFaceTrackingSample/.DS_Store -------------------------------------------------------------------------------- /Assets/ARFaceTrackingSample/ARFaceTracking.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6481a1521cea486aa56b89a6c2100ba 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ARFaceTrackingSample/ARFaceTrackingSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4de517562ff841ae9937b9de277d017 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/ARFaceTrackingSample/ARFaceTrackingSampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d94d1aaad054488eaf554c36b3b856a 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/ARKitSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: efa163296ae7840cb80b9e3beb5f0857, type: 3} 12 | m_Name: ARKitSettings 13 | m_EditorClassIdentifier: 14 | m_ARKitUsesFacetracking: 1 15 | AppRequiresARKit: 1 16 | -------------------------------------------------------------------------------- /Assets/ARKitSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e27da8855d06427cb7a9be395bc522e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cb451b60b92d4baf831481c8e7d29a7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Editor/EditorTool.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEditor; 5 | using System.IO; 6 | 7 | [InitializeOnLoad] 8 | public class EditorTool 9 | { 10 | [MenuItem("Window/A-npanRemote/Update UnityPackage")] 11 | public static void UnityPackage() 12 | { 13 | var assetPaths = new List(); 14 | 15 | var frameworkPath = "Assets/A-npanRemote"; 16 | CollectPathRecursive(frameworkPath, assetPaths); 17 | 18 | AssetDatabase.ExportPackage(assetPaths.ToArray(), "A-npanRemote.unitypackage", ExportPackageOptions.IncludeDependencies); 19 | } 20 | 21 | private static void CollectPathRecursive(string path, List collectedPaths) 22 | { 23 | var filePaths = Directory.GetFiles(path); 24 | foreach (var filePath in filePaths) 25 | { 26 | collectedPaths.Add(filePath); 27 | } 28 | 29 | var modulePaths = Directory.GetDirectories(path); 30 | foreach (var folderPath in modulePaths) 31 | { 32 | CollectPathRecursive(folderPath, collectedPaths); 33 | } 34 | } 35 | 36 | static EditorTool() 37 | { 38 | // create unitypackage if compiled. 39 | if (!EditorApplication.isPlayingOrWillChangePlaymode) 40 | { 41 | UnityPackage(); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /Assets/Editor/EditorTool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1373754534c64248a50b5e049405c8b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f54d1bd14bd3ca042bd867b519fee8cc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e7e8f5a82a3a134e91c54efd2274ea9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b8d251f9af63b746bf2f7ffe00ebb9b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ab70aee4d56447429c680537fbf93ed 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Fonts/LiberationSans - OFL.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e59c59b81ab47f9b6ec5781fa725d2c 3 | timeCreated: 1484171296 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Fonts/LiberationSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/Assets/TextMesh Pro/Fonts/LiberationSans.ttf -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Fonts/LiberationSans.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3265ab4bf004d28a9537516768c1c75 3 | timeCreated: 1484171297 4 | licenseType: Pro 5 | TrueTypeFontImporter: 6 | serializedVersion: 2 7 | fontSize: 16 8 | forceTextureCase: -2 9 | characterSpacing: 1 10 | characterPadding: 0 11 | includeFontData: 1 12 | use2xBehaviour: 0 13 | fontNames: [] 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | userData: 18 | assetBundleName: 19 | assetBundleVariant: 20 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 243e06394e614e5d99fab26083b707fa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 731f1baa9d144a9897cb1d341c2092b8 3 | folderAsset: yes 4 | timeCreated: 1442040525 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Drop Shadow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e73a58f6e2794ae7b1b7e50b7fb811b0 3 | timeCreated: 1484172806 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e498d1c8094910479dc3e1b768306a4 3 | timeCreated: 1484171803 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Outline.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: LiberationSans SDF - Outline 11 | m_Shader: {fileID: 4800000, guid: fe393ace9b354375a9cb14cdbbc28be4, type: 3} 12 | m_ShaderKeywords: OUTLINE_ON 13 | m_LightmapFlags: 5 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _Cube: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _FaceTex: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _MainTex: 35 | m_Texture: {fileID: 28684132378477856, guid: 8f586378b4e144a9851e7b34d9b748ee, 36 | type: 2} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | - _OutlineTex: 40 | m_Texture: {fileID: 0} 41 | m_Scale: {x: 1, y: 1} 42 | m_Offset: {x: 0, y: 0} 43 | m_Floats: 44 | - _Ambient: 0.5 45 | - _Bevel: 0.5 46 | - _BevelClamp: 0 47 | - _BevelOffset: 0 48 | - _BevelRoundness: 0 49 | - _BevelWidth: 0 50 | - _BumpFace: 0 51 | - _BumpOutline: 0 52 | - _ColorMask: 15 53 | - _Diffuse: 0.5 54 | - _FaceDilate: 0.1 55 | - _FaceUVSpeedX: 0 56 | - _FaceUVSpeedY: 0 57 | - _GlowInner: 0.05 58 | - _GlowOffset: 0 59 | - _GlowOuter: 0.05 60 | - _GlowPower: 0.75 61 | - _GradientScale: 10 62 | - _LightAngle: 3.1416 63 | - _MaskSoftnessX: 0 64 | - _MaskSoftnessY: 0 65 | - _OutlineSoftness: 0 66 | - _OutlineUVSpeedX: 0 67 | - _OutlineUVSpeedY: 0 68 | - _OutlineWidth: 0.1 69 | - _PerspectiveFilter: 0.875 70 | - _Reflectivity: 10 71 | - _ScaleRatioA: 0.9 72 | - _ScaleRatioB: 0.73125 73 | - _ScaleRatioC: 0.64125 74 | - _ScaleX: 1 75 | - _ScaleY: 1 76 | - _ShaderFlags: 0 77 | - _Sharpness: 0 78 | - _SpecularPower: 2 79 | - _Stencil: 0 80 | - _StencilComp: 8 81 | - _StencilOp: 0 82 | - _StencilReadMask: 255 83 | - _StencilWriteMask: 255 84 | - _TextureHeight: 1024 85 | - _TextureWidth: 1024 86 | - _UnderlayDilate: 0 87 | - _UnderlayOffsetX: 0 88 | - _UnderlayOffsetY: 0 89 | - _UnderlaySoftness: 0 90 | - _VertexOffsetX: 0 91 | - _VertexOffsetY: 0 92 | - _WeightBold: 0.75 93 | - _WeightNormal: 0 94 | m_Colors: 95 | - _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767} 96 | - _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0} 97 | - _FaceColor: {r: 1, g: 1, b: 1, a: 1} 98 | - _GlowColor: {r: 0, g: 1, b: 0, a: 0.5} 99 | - _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767} 100 | - _OutlineColor: {r: 0, g: 0, b: 0, a: 1} 101 | - _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1} 102 | - _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1} 103 | - _SpecularColor: {r: 1, g: 1, b: 1, a: 1} 104 | - _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5} 105 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Outline.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79459efec17a4d00a321bdcc27bbc385 3 | timeCreated: 1484172856 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f586378b4e144a9851e7b34d9b748ee 3 | timeCreated: 1484171803 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt: -------------------------------------------------------------------------------- 1 | )]}〕〉》」』】〙〗〟’”⦆»ヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻‐゠–〜?!‼⁇⁈⁉・、%,.:;。!?]):;=}¢°"†‡℃〆%,. -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fade42e8bc714b018fac513c043d323b 3 | timeCreated: 1425440388 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt: -------------------------------------------------------------------------------- 1 | ([{〔〈《「『【〘〖〝‘“⦅«$—…‥〳〴〵\[({£¥"々〇〉》」$⦆¥₩ # -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d82c1b31c7e74239bff1220585707d2b 3 | timeCreated: 1425440388 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99f836c9cb9345dba2e72c4a1f2d0695 3 | folderAsset: yes 4 | timeCreated: 1436068007 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Custom-Atlas.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48bb5f55d8670e349b6e614913f9d910 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e3b057af24249748ff873be7fafee47 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 128e987d567d4e2c824d754223b3f3b0 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_SDF Overlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd89cf5b9246416f84610a006f916af7 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Masking.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc1ede39bf3643ee8e493720e4259791 3 | timeCreated: 1463704911 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Overlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a02a7d8c237544f1962732b55a9aebf1 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe393ace9b354375a9cb14cdbbc28be4 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85187c2149c549c5b33f0cdb02836b17 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7ada0af4f174f0694ca6a487b8f543d 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_SDF.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68e6db2ebdc24f95958faec2be5558d6 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_Sprite.shader: -------------------------------------------------------------------------------- 1 | Shader "TextMeshPro/Sprite" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Sprite Texture", 2D) = "white" {} 6 | _Color ("Tint", Color) = (1,1,1,1) 7 | 8 | _StencilComp ("Stencil Comparison", Float) = 8 9 | _Stencil ("Stencil ID", Float) = 0 10 | _StencilOp ("Stencil Operation", Float) = 0 11 | _StencilWriteMask ("Stencil Write Mask", Float) = 255 12 | _StencilReadMask ("Stencil Read Mask", Float) = 255 13 | 14 | _ColorMask ("Color Mask", Float) = 15 15 | _ClipRect ("Clip Rect", vector) = (-32767, -32767, 32767, 32767) 16 | 17 | [Toggle(UNITY_UI_ALPHACLIP)] _UseUIAlphaClip ("Use Alpha Clip", Float) = 0 18 | } 19 | 20 | SubShader 21 | { 22 | Tags 23 | { 24 | "Queue"="Transparent" 25 | "IgnoreProjector"="True" 26 | "RenderType"="Transparent" 27 | "PreviewType"="Plane" 28 | "CanUseSpriteAtlas"="True" 29 | } 30 | 31 | Stencil 32 | { 33 | Ref [_Stencil] 34 | Comp [_StencilComp] 35 | Pass [_StencilOp] 36 | ReadMask [_StencilReadMask] 37 | WriteMask [_StencilWriteMask] 38 | } 39 | 40 | Cull Off 41 | Lighting Off 42 | ZWrite Off 43 | ZTest [unity_GUIZTestMode] 44 | Blend SrcAlpha OneMinusSrcAlpha 45 | ColorMask [_ColorMask] 46 | 47 | Pass 48 | { 49 | CGPROGRAM 50 | #pragma vertex vert 51 | #pragma fragment frag 52 | 53 | #include "UnityCG.cginc" 54 | #include "UnityUI.cginc" 55 | 56 | #pragma multi_compile __ UNITY_UI_CLIP_RECT 57 | #pragma multi_compile __ UNITY_UI_ALPHACLIP 58 | 59 | struct appdata_t 60 | { 61 | float4 vertex : POSITION; 62 | float4 color : COLOR; 63 | float2 texcoord : TEXCOORD0; 64 | }; 65 | 66 | struct v2f 67 | { 68 | float4 vertex : SV_POSITION; 69 | fixed4 color : COLOR; 70 | half2 texcoord : TEXCOORD0; 71 | float4 worldPosition : TEXCOORD1; 72 | }; 73 | 74 | fixed4 _Color; 75 | fixed4 _TextureSampleAdd; 76 | float4 _ClipRect; 77 | 78 | v2f vert(appdata_t IN) 79 | { 80 | v2f OUT; 81 | OUT.worldPosition = IN.vertex; 82 | OUT.vertex = UnityObjectToClipPos(OUT.worldPosition); 83 | 84 | OUT.texcoord = IN.texcoord; 85 | 86 | #ifdef UNITY_HALF_TEXEL_OFFSET 87 | OUT.vertex.xy += (_ScreenParams.zw-1.0)*float2(-1,1); 88 | #endif 89 | 90 | OUT.color = IN.color * _Color; 91 | return OUT; 92 | } 93 | 94 | sampler2D _MainTex; 95 | 96 | fixed4 frag(v2f IN) : SV_Target 97 | { 98 | half4 color = (tex2D(_MainTex, IN.texcoord) + _TextureSampleAdd) * IN.color; 99 | 100 | #if UNITY_UI_CLIP_RECT 101 | color.a *= UnityGet2DClipping(IN.worldPosition.xy, _ClipRect); 102 | #endif 103 | 104 | #ifdef UNITY_UI_ALPHACLIP 105 | clip (color.a - 0.001); 106 | #endif 107 | 108 | return color; 109 | } 110 | ENDCG 111 | } 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMP_Sprite.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf81c85f95fe47e1a27f6ae460cf182c 3 | timeCreated: 1450517184 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc: -------------------------------------------------------------------------------- 1 | float2 UnpackUV(float uv) 2 | { 3 | float2 output; 4 | output.x = floor(uv / 4096); 5 | output.y = uv - 4096 * output.x; 6 | 7 | return output * 0.001953125; 8 | } 9 | 10 | fixed4 GetColor(half d, fixed4 faceColor, fixed4 outlineColor, half outline, half softness) 11 | { 12 | half faceAlpha = 1-saturate((d - outline * 0.5 + softness * 0.5) / (1.0 + softness)); 13 | half outlineAlpha = saturate((d + outline * 0.5)) * sqrt(min(1.0, outline)); 14 | 15 | faceColor.rgb *= faceColor.a; 16 | outlineColor.rgb *= outlineColor.a; 17 | 18 | faceColor = lerp(faceColor, outlineColor, outlineAlpha); 19 | 20 | faceColor *= faceAlpha; 21 | 22 | return faceColor; 23 | } 24 | 25 | float3 GetSurfaceNormal(float4 h, float bias) 26 | { 27 | bool raisedBevel = step(1, fmod(_ShaderFlags, 2)); 28 | 29 | h += bias+_BevelOffset; 30 | 31 | float bevelWidth = max(.01, _OutlineWidth+_BevelWidth); 32 | 33 | // Track outline 34 | h -= .5; 35 | h /= bevelWidth; 36 | h = saturate(h+.5); 37 | 38 | if(raisedBevel) h = 1 - abs(h*2.0 - 1.0); 39 | h = lerp(h, sin(h*3.141592/2.0), _BevelRoundness); 40 | h = min(h, 1.0-_BevelClamp); 41 | h *= _Bevel * bevelWidth * _GradientScale * -2.0; 42 | 43 | float3 va = normalize(float3(1.0, 0.0, h.y - h.x)); 44 | float3 vb = normalize(float3(0.0, -1.0, h.w - h.z)); 45 | 46 | return cross(va, vb); 47 | } 48 | 49 | float3 GetSurfaceNormal(float2 uv, float bias, float3 delta) 50 | { 51 | // Read "height field" 52 | float4 h = {tex2D(_MainTex, uv - delta.xz).a, 53 | tex2D(_MainTex, uv + delta.xz).a, 54 | tex2D(_MainTex, uv - delta.zy).a, 55 | tex2D(_MainTex, uv + delta.zy).a}; 56 | 57 | return GetSurfaceNormal(h, bias); 58 | } 59 | 60 | float3 GetSpecular(float3 n, float3 l) 61 | { 62 | float spec = pow(max(0.0, dot(n, l)), _Reflectivity); 63 | return _SpecularColor.rgb * spec * _SpecularPower; 64 | } 65 | 66 | float4 GetGlowColor(float d, float scale) 67 | { 68 | float glow = d - (_GlowOffset*_ScaleRatioB) * 0.5 * scale; 69 | float t = lerp(_GlowInner, (_GlowOuter * _ScaleRatioB), step(0.0, glow)) * 0.5 * scale; 70 | glow = saturate(abs(glow/(1.0 + t))); 71 | glow = 1.0-pow(glow, _GlowPower); 72 | glow *= sqrt(min(1.0, t)); // Fade off glow thinner than 1 screen pixel 73 | return float4(_GlowColor.rgb, saturate(_GlowColor.a * glow * 2)); 74 | } 75 | 76 | float4 BlendARGB(float4 overlying, float4 underlying) 77 | { 78 | overlying.rgb *= overlying.a; 79 | underlying.rgb *= underlying.a; 80 | float3 blended = overlying.rgb + ((1-overlying.a)*underlying.rgb); 81 | float alpha = underlying.a + (1-underlying.a)*overlying.a; 82 | return float4(blended, alpha); 83 | } 84 | 85 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 407bc68d299748449bbf7f48ee690f8d 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc: -------------------------------------------------------------------------------- 1 | // UI Editable properties 2 | uniform sampler2D _FaceTex; // Alpha : Signed Distance 3 | uniform float _FaceUVSpeedX; 4 | uniform float _FaceUVSpeedY; 5 | uniform fixed4 _FaceColor; // RGBA : Color + Opacity 6 | uniform float _FaceDilate; // v[ 0, 1] 7 | uniform float _OutlineSoftness; // v[ 0, 1] 8 | 9 | uniform sampler2D _OutlineTex; // RGBA : Color + Opacity 10 | uniform float _OutlineUVSpeedX; 11 | uniform float _OutlineUVSpeedY; 12 | uniform fixed4 _OutlineColor; // RGBA : Color + Opacity 13 | uniform float _OutlineWidth; // v[ 0, 1] 14 | 15 | uniform float _Bevel; // v[ 0, 1] 16 | uniform float _BevelOffset; // v[-1, 1] 17 | uniform float _BevelWidth; // v[-1, 1] 18 | uniform float _BevelClamp; // v[ 0, 1] 19 | uniform float _BevelRoundness; // v[ 0, 1] 20 | 21 | uniform sampler2D _BumpMap; // Normal map 22 | uniform float _BumpOutline; // v[ 0, 1] 23 | uniform float _BumpFace; // v[ 0, 1] 24 | 25 | uniform samplerCUBE _Cube; // Cube / sphere map 26 | uniform fixed4 _ReflectFaceColor; // RGB intensity 27 | uniform fixed4 _ReflectOutlineColor; 28 | //uniform float _EnvTiltX; // v[-1, 1] 29 | //uniform float _EnvTiltY; // v[-1, 1] 30 | uniform float3 _EnvMatrixRotation; 31 | uniform float4x4 _EnvMatrix; 32 | 33 | uniform fixed4 _SpecularColor; // RGB intensity 34 | uniform float _LightAngle; // v[ 0,Tau] 35 | uniform float _SpecularPower; // v[ 0, 1] 36 | uniform float _Reflectivity; // v[ 5, 15] 37 | uniform float _Diffuse; // v[ 0, 1] 38 | uniform float _Ambient; // v[ 0, 1] 39 | 40 | uniform fixed4 _UnderlayColor; // RGBA : Color + Opacity 41 | uniform float _UnderlayOffsetX; // v[-1, 1] 42 | uniform float _UnderlayOffsetY; // v[-1, 1] 43 | uniform float _UnderlayDilate; // v[-1, 1] 44 | uniform float _UnderlaySoftness; // v[ 0, 1] 45 | 46 | uniform fixed4 _GlowColor; // RGBA : Color + Intesity 47 | uniform float _GlowOffset; // v[-1, 1] 48 | uniform float _GlowOuter; // v[ 0, 1] 49 | uniform float _GlowInner; // v[ 0, 1] 50 | uniform float _GlowPower; // v[ 1, 1/(1+4*4)] 51 | 52 | // API Editable properties 53 | uniform float _ShaderFlags; 54 | uniform float _WeightNormal; 55 | uniform float _WeightBold; 56 | 57 | uniform float _ScaleRatioA; 58 | uniform float _ScaleRatioB; 59 | uniform float _ScaleRatioC; 60 | 61 | uniform float _VertexOffsetX; 62 | uniform float _VertexOffsetY; 63 | 64 | //uniform float _UseClipRect; 65 | uniform float _MaskID; 66 | uniform sampler2D _MaskTex; 67 | uniform float4 _MaskCoord; 68 | uniform float4 _ClipRect; // bottom left(x,y) : top right(z,w) 69 | //uniform float _MaskWipeControl; 70 | //uniform float _MaskEdgeSoftness; 71 | //uniform fixed4 _MaskEdgeColor; 72 | //uniform bool _MaskInverse; 73 | 74 | uniform float _MaskSoftnessX; 75 | uniform float _MaskSoftnessY; 76 | 77 | // Font Atlas properties 78 | uniform sampler2D _MainTex; 79 | uniform float _TextureWidth; 80 | uniform float _TextureHeight; 81 | uniform float _GradientScale; 82 | uniform float _ScaleX; 83 | uniform float _ScaleY; 84 | uniform float _PerspectiveFilter; 85 | uniform float _Sharpness; 86 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3997e2241185407d80309a82f9148466 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Shaders/TMPro_Surface.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d930090c0cd643c7b55f19a38538c162 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Sprite Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 512a49d95c0c4332bdd98131869c23c9 3 | folderAsset: yes 4 | timeCreated: 1441876896 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Sprite Assets/EmojiOne.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c41005c129ba4d66911b75229fd70b45 3 | timeCreated: 1480316912 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Style Sheets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4aecb92fff08436c8303b10eab8da368 3 | folderAsset: yes 4 | timeCreated: 1441876950 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/Style Sheets/Default Style Sheet.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f952c082cb03451daed3ee968ac6c63e 3 | timeCreated: 1432805430 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/TMP Settings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 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: 11500000, guid: 2705215ac5b84b70bacc50632be6e391, type: 3} 13 | m_Name: TMP Settings 14 | m_EditorClassIdentifier: 15 | m_enableWordWrapping: 1 16 | m_enableKerning: 1 17 | m_enableExtraPadding: 0 18 | m_enableTintAllSprites: 0 19 | m_enableParseEscapeCharacters: 1 20 | m_EnableRaycastTarget: 1 21 | m_GetFontFeaturesAtRuntime: 1 22 | m_missingGlyphCharacter: 0 23 | m_warningsDisabled: 0 24 | m_defaultFontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} 25 | m_defaultFontAssetPath: Fonts & Materials/ 26 | m_defaultFontSize: 36 27 | m_defaultAutoSizeMinRatio: 0.5 28 | m_defaultAutoSizeMaxRatio: 2 29 | m_defaultTextMeshProTextContainerSize: {x: 20, y: 5} 30 | m_defaultTextMeshProUITextContainerSize: {x: 200, y: 50} 31 | m_autoSizeTextContainer: 0 32 | m_fallbackFontAssets: [] 33 | m_matchMaterialPreset: 1 34 | m_defaultSpriteAsset: {fileID: 11400000, guid: c41005c129ba4d66911b75229fd70b45, 35 | type: 2} 36 | m_defaultSpriteAssetPath: Sprite Assets/ 37 | m_defaultColorGradientPresetsPath: Color Gradient Presets/ 38 | m_enableEmojiSupport: 1 39 | m_defaultStyleSheet: {fileID: 11400000, guid: f952c082cb03451daed3ee968ac6c63e, 40 | type: 2} 41 | m_leadingCharacters: {fileID: 4900000, guid: d82c1b31c7e74239bff1220585707d2b, type: 3} 42 | m_followingCharacters: {fileID: 4900000, guid: fade42e8bc714b018fac513c043d323b, 43 | type: 3} 44 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Resources/TMP Settings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f5b5dff67a942289a9defa416b206f3 3 | timeCreated: 1436653997 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0603b6d5186471b96c778c3949c7ce2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt: -------------------------------------------------------------------------------- 1 | This sample of beautiful emojis are provided by EmojiOne https://www.emojione.com/ 2 | 3 | Please visit their website to view the complete set of their emojis and review their licensing terms. -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 381dcb09d5029d14897e55f98031fca5 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites/EmojiOne.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f05276190cf498a8153f6cbe761d4e6 3 | timeCreated: 1480316860 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/TextMesh Pro/Sprites/EmojiOne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/Assets/TextMesh Pro/Sprites/EmojiOne.png -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa89459ba48374bdf8182d290aa08063 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d1259656ef6245079ba6548af0ab42e 3 | folderAsset: yes 4 | timeCreated: 1498669549 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt: -------------------------------------------------------------------------------- 1 | Unity ARKit Remote 2 | 3 | This is a two part solution for game developers who want to iterate on ARKit apps (made with Unity ARKit Plugin) from within the Unity Editor. It consists of an iOS app (UnityARKitRemote) that provides the ARKit data from a compatible device that it is installed on, working in conjunction with a GameObject called ARKitRemoteConnection in your Unity scene for your ARKit project. This GameObject simulates ARKit working in the editor by passing data via UnityARSessionNativeInterface to the other GameObjects in the editor. The UnityARKitRemote app on the device will forward the following information to Unity scene in editor: 4 | 5 | -The video feed coming from the device camera (separated into Y and UV textures) as provided by ARKit. 6 | -The camera translation and rotation based on device movement 7 | -The ARPlaneAnchor addition, removal and update events along with data about the plane affected 8 | -Point cloud data 9 | 10 | Requirements: 11 | It has all the same requirements as the Unity ARKit Plugin, with an additional recommendation of using Unity 2017.1 or later, as the PlayerConnection works way better and has better UI support in that version. 12 | 13 | Future work on this: 14 | -HitTest API 15 | -AR Session Configuration 16 | 17 | Steps to using remote: 18 | 19 | 1. First download the latest Unity ARKit Plugin code that includes the Unity ARKit Remote from either bitbucket or Unity Asset Store. 20 | 2. Build the scene called UnityARKitRemote out to your compatible iOS device. You should use “Development Build” in your Build Settings. This is the only build time to iOS you will need to endure - the rest of the iterations on your project can happen in the editor. When you build out to iOS, you should change the product name and bundle identifier in the PlayerSettings to signify that it is the Unity ARKit Remote. 21 | 3. Open the scene which contains your app that uses the Unity ARKit Plugin. From the ARKitRemote folder, add the ARKitRemoteConnection prefab into the root of your scene. If you want to test it out, it has already been added to EditorTestScene in the same folder. 22 | 4. Run the UnityARKitRemote app from step 2 on your device. It should display a black screen with “Waiting for editor connection..” 23 | 5. Press play in the editor: your game window should have a green screen with “Please connect to player in the console menu” near the bottom. 24 | 6. In this step we need to connect the editor to the Unity ARKit Remote app on the device. This is where Unity 2017.1 comes in handy: it has a menu item in the Console window to “Connected player” with a dropdown of all the available players to connect to. Select the one that corresponds to your device. In Unity 5.6 variants, you have to create a Profiler window via Window/Profiler menu. And then at the top of the Profiler window, there is a dropdown “Active Profiler” from which you select your device. 25 | 7. If you were successful in step 6, you should have a button on the top part of your Game window labelled “Start Remote ARKit Session” in editor that when pressed will start the ARKit session on the device and start transmitting data to the editor. The editor should be displaying the same video as the device, as well as navigating through your scene, and it will momentarily start showing the point cloud data as well as the planes found. 26 | 27 | 28 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKITREMOTE.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e70a61590ae124a8194c71c31e1af531 3 | timeCreated: 1500609185 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKitFaceTrackingRemoteConnection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdd3e34e30492409ea4e7aa626b21aa0 3 | timeCreated: 1513104962 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 004464ca939eb4ec1a1b492fb8ebfd12 3 | timeCreated: 1500571041 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_ParentPrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1214069642587422} 13 | m_IsPrefabParent: 1 14 | --- !u!1 &1214069642587422 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_PrefabParentObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 5 20 | m_Component: 21 | - component: {fileID: 4661046637869644} 22 | - component: {fileID: 114217095398060286} 23 | m_Layer: 0 24 | m_Name: ARKitRemoteConnection 25 | m_TagString: Untagged 26 | m_Icon: {fileID: 0} 27 | m_NavMeshLayer: 0 28 | m_StaticEditorFlags: 0 29 | m_IsActive: 1 30 | --- !u!4 &4661046637869644 31 | Transform: 32 | m_ObjectHideFlags: 1 33 | m_PrefabParentObject: {fileID: 0} 34 | m_PrefabInternal: {fileID: 100100000} 35 | m_GameObject: {fileID: 1214069642587422} 36 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 37 | m_LocalPosition: {x: 0, y: 0, z: 1} 38 | m_LocalScale: {x: 1, y: 1, z: 1} 39 | m_Children: [] 40 | m_Father: {fileID: 0} 41 | m_RootOrder: 0 42 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 43 | --- !u!114 &114217095398060286 44 | MonoBehaviour: 45 | m_ObjectHideFlags: 1 46 | m_PrefabParentObject: {fileID: 0} 47 | m_PrefabInternal: {fileID: 100100000} 48 | m_GameObject: {fileID: 1214069642587422} 49 | m_Enabled: 1 50 | m_EditorHideFlags: 0 51 | m_Script: {fileID: 11500000, guid: 004464ca939eb4ec1a1b492fb8ebfd12, type: 3} 52 | m_Name: 53 | m_EditorClassIdentifier: 54 | startAlignment: 0 55 | planeDetection: 1 56 | getPointCloud: 1 57 | enableLightEstimation: 1 58 | resetTracking: 1 59 | removeExistingAnchors: 1 60 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ARKitRemoteConnection.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ce7d6271a01a4274a00066492aed04a 3 | timeCreated: 1500571318 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ConnectToEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b70a2d547e0544c983e2dec3bf61d46 3 | timeCreated: 1497387236 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public static class ConnectionMessageIds 6 | { 7 | public static Guid fromEditorARKitSessionMsgId { get { return new Guid("523bb5dd-163b-4e5b-9271-d18a50e8897e"); } } 8 | public static Guid updateCameraFrameMsgId { get { return new Guid("6d8c39bf-279a-46cf-91f4-9827a44443af"); } } 9 | public static Guid addPlaneAnchorMsgeId { get { return new Guid("a435cdb9-fa85-4d3c-9d3f-57fa85f62da3"); } } 10 | public static Guid updatePlaneAnchorMsgeId { get { return new Guid("84d5ad8d-e7f9-432c-ae5d-40717790a12f"); } } 11 | public static Guid removePlaneAnchorMsgeId { get { return new Guid("b07750a2-8825-4e86-9483-0b22b07df800"); } } 12 | public static Guid screenCaptureYMsgId { get { return new Guid("25c3d26f-72c5-4f3e-9a1f-c8c9b859453b"); } } 13 | public static Guid screenCaptureUVMsgId { get { return new Guid("d7f4d3cd-2d12-4ab7-b755-932fe7ab744d"); } } 14 | public static Guid addFaceAnchorMsgeId { get { return new Guid("7d7531e9-28b8-40b3-9afd-b6e7baa8e630"); } } 15 | public static Guid updateFaceAnchorMsgeId { get { return new Guid("80880c6e-d3f5-449a-9c8b-55c95b188563"); } } 16 | public static Guid removeFaceAnchorMsgeId { get { return new Guid("ba429c59-067e-4548-ab01-d7129f060872"); } } 17 | }; 18 | 19 | public static class SubMessageIds 20 | { 21 | public static Guid editorInitARKit { get { return new Guid("2e5d7c45-daef-474d-bf55-1f02f0a10b69"); } } 22 | public static Guid editorInitARKitFaceTracking { get { return new Guid("3e86ccf6-93c6-4b07-b78f-0a60f6ed4a7a"); } } 23 | }; 24 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ConnectionMessageIds.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8aba40a0fa3e49b4a51b657765f5bf6 3 | timeCreated: 1498693329 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorARFaceAnchor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using System.Text; 5 | using UnityEngine.XR.iOS.Utils; 6 | 7 | 8 | namespace UnityEngine.XR.iOS 9 | { 10 | #if UNITY_EDITOR || !UNITY_IOS 11 | public class ARFaceGeometry 12 | { 13 | private serializableFaceGeometry sFaceGeometry; 14 | 15 | public ARFaceGeometry (serializableFaceGeometry ufg) 16 | { 17 | sFaceGeometry = ufg; 18 | } 19 | 20 | public int vertexCount { get { return sFaceGeometry.Vertices.Length; } } 21 | public int triangleCount { get { return sFaceGeometry.TriangleIndices.Length; } } 22 | public int textureCoordinateCount { get { return sFaceGeometry.TexCoords.Length; } } 23 | 24 | public Vector3 [] vertices { get { return sFaceGeometry.Vertices; } } 25 | 26 | public Vector2 [] textureCoordinates { get { return sFaceGeometry.TexCoords; } } 27 | 28 | public int [] triangleIndices { get { return sFaceGeometry.TriangleIndices; } } 29 | 30 | } 31 | 32 | public class ARFaceAnchor 33 | { 34 | serializableUnityARFaceAnchor m_sfa; 35 | 36 | public ARFaceAnchor(serializableUnityARFaceAnchor sfa) 37 | { 38 | m_sfa = sfa; 39 | } 40 | 41 | public string identifierStr { get { return Encoding.UTF8.GetString (m_sfa.identifierStr); } } 42 | 43 | public Matrix4x4 transform { get { return m_sfa.worldTransform; } } 44 | 45 | public ARFaceGeometry faceGeometry { get { return new ARFaceGeometry (m_sfa.faceGeometry); } } 46 | 47 | public Dictionary blendShapes { get { return m_sfa.arBlendShapes; } } 48 | 49 | public bool isTracked { get { return m_sfa.isTracked; } } 50 | 51 | } 52 | #endif 53 | } 54 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorARFaceAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1aa34d80d3e0455ca018dfec2ad806d 3 | timeCreated: 1513192743 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorARPlaneAnchor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS.Utils; 5 | using System.Text; 6 | 7 | namespace UnityEngine.XR.iOS 8 | { 9 | #if UNITY_EDITOR 10 | public class ARPlaneGeometry 11 | { 12 | private serializablePlaneGeometry sPlaneGeometry; 13 | 14 | public ARPlaneGeometry (serializablePlaneGeometry ufg) 15 | { 16 | sPlaneGeometry = ufg; 17 | } 18 | 19 | public int vertexCount { get { return sPlaneGeometry.Vertices.Length; } } 20 | public int triangleCount { get { return sPlaneGeometry.TriangleIndices.Length; } } 21 | public int textureCoordinateCount { get { return sPlaneGeometry.TexCoords.Length; } } 22 | public int boundaryVertexCount { get { return sPlaneGeometry.BoundaryVertices.Length; } } 23 | 24 | public Vector3 [] vertices { get { return sPlaneGeometry.Vertices; } } 25 | 26 | public Vector2 [] textureCoordinates { get { return sPlaneGeometry.TexCoords; } } 27 | 28 | public int [] triangleIndices { get { return sPlaneGeometry.TriangleIndices; } } 29 | 30 | public Vector3 [] boundaryVertices { get { return sPlaneGeometry.BoundaryVertices; } } 31 | 32 | } 33 | 34 | public class ARPlaneAnchor 35 | { 36 | serializableUnityARPlaneAnchor m_spa; 37 | 38 | public ARPlaneAnchor(serializableUnityARPlaneAnchor spa) 39 | { 40 | m_spa = spa; 41 | } 42 | 43 | public string identifier { get { return Encoding.UTF8.GetString (m_spa.identifierStr); } } 44 | 45 | public Matrix4x4 transform { get { return m_spa.worldTransform; } } 46 | 47 | public ARPlaneGeometry planeGeometry { 48 | get { 49 | return new ARPlaneGeometry (m_spa.planeGeometry); 50 | } 51 | } 52 | 53 | public ARPlaneAnchorAlignment alignment { 54 | get { 55 | return m_spa.planeAlignment; 56 | } 57 | } 58 | 59 | public Vector3 extent { 60 | get { 61 | return new Vector3 (m_spa.extent.x, m_spa.extent.y, m_spa.extent.z); 62 | } 63 | } 64 | 65 | public Vector3 center { 66 | get { 67 | return new Vector3 (m_spa.center.x, m_spa.center.y, m_spa.center.z); 68 | } 69 | } 70 | 71 | } 72 | #endif 73 | } 74 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorARPlaneAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7917239de65543aabc5363138de68b8 3 | timeCreated: 1517369156 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace UnityEngine.XR.iOS 6 | { 7 | 8 | public class EditorHitTest : MonoBehaviour { 9 | 10 | public Transform m_HitTransform; 11 | public float maxRayDistance = 30.0f; 12 | public LayerMask collisionLayerMask; 13 | 14 | #if UNITY_EDITOR //we will only use this script on the editor side, though there is nothing that would prevent it from working on device 15 | void Update () { 16 | if (Input.GetMouseButtonDown (0)) { 17 | Ray ray = Camera.main.ScreenPointToRay (Input.mousePosition); 18 | RaycastHit hit; 19 | 20 | //we'll try to hit one of the plane collider gameobjects that were generated by the plugin 21 | //effectively similar to calling HitTest with ARHitTestResultType.ARHitTestResultTypeExistingPlaneUsingExtent 22 | if (Physics.Raycast (ray, out hit, maxRayDistance, collisionLayerMask)) { 23 | //we're going to get the position from the contact point 24 | m_HitTransform.position = hit.point; 25 | Debug.Log (string.Format ("x:{0:0.######} y:{1:0.######} z:{2:0.######}", m_HitTransform.position.x, m_HitTransform.position.y, m_HitTransform.position.z)); 26 | 27 | //and the rotation from the transform of the plane collider 28 | m_HitTransform.rotation = hit.transform.rotation; 29 | } 30 | } 31 | } 32 | #endif 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorHitTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e5621b71c5c74d94ac88603287035e2 3 | timeCreated: 1504320319 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/EditorTestScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1efc0006a07a4fc8ab373ea6249a832 3 | timeCreated: 1497484703 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Runtime.Serialization.Formatters.Binary; 4 | using System.IO; 5 | 6 | namespace UnityEngine.XR.iOS.Utils 7 | { 8 | //Extension class to provide serialize / deserialize methods to object. 9 | //src: http://stackoverflow.com/questions/1446547/how-to-convert-an-object-to-a-byte-array-in-c-sharp 10 | //NOTE: You need add [Serializable] attribute in your class to enable serialization 11 | public static class ObjectSerializationExtension 12 | { 13 | 14 | public static byte[] SerializeToByteArray(this object obj) 15 | { 16 | if (obj == null) 17 | { 18 | return null; 19 | } 20 | var bf = new BinaryFormatter(); 21 | using (var ms = new MemoryStream()) 22 | { 23 | bf.Serialize(ms, obj); 24 | return ms.ToArray(); 25 | } 26 | } 27 | 28 | public static T Deserialize(this byte[] byteArray) where T : class 29 | { 30 | if (byteArray == null) 31 | { 32 | return null; 33 | } 34 | using (var memStream = new MemoryStream()) 35 | { 36 | var binForm = new BinaryFormatter(); 37 | memStream.Write(byteArray, 0, byteArray.Length); 38 | memStream.Seek(0, SeekOrigin.Begin); 39 | var obj = (T)binForm.Deserialize(memStream); 40 | return obj; 41 | } 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/ObjectSerializationExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93eca58af117741f3be69b00a1cc4077 3 | timeCreated: 1498702127 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/SerializableObjects.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80135f02c883b43c582626d2cd4d0190 3 | timeCreated: 1498702704 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/UnityARKitRemote.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ed73c0c9d4b76a418a0541c0cefd3ac 3 | timeCreated: 1498647556 4 | licenseType: Pro 5 | DefaultImporter: 6 | externalObjects: {} 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/ARKitRemote/UnityRemoteVideo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cdf0c6a69131b44f5bdb35de994fcea1 3 | timeCreated: 1499380179 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a143135f16d634fa9ba945abac98f63c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a01e87b51a8094ac78a016f24aa36126 3 | folderAsset: yes 4 | timeCreated: 1517350660 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPlaneMesh.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c21c1506d16bb4a12b0779f54965b0ef 3 | folderAsset: yes 4 | timeCreated: 1517429400 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPlaneMesh/ARKitPlaneMeshRender.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | public class ARKitPlaneMeshRender : MonoBehaviour { 7 | 8 | [SerializeField] 9 | private MeshFilter meshFilter; 10 | [SerializeField] 11 | private LineRenderer lineRenderer; 12 | private Mesh planeMesh; 13 | 14 | public void InitiliazeMesh(ARPlaneAnchor arPlaneAnchor) 15 | { 16 | planeMesh = new Mesh (); 17 | UpdateMesh (arPlaneAnchor); 18 | meshFilter.mesh = planeMesh; 19 | 20 | } 21 | 22 | public void UpdateMesh(ARPlaneAnchor arPlaneAnchor) 23 | { 24 | if (UnityARSessionNativeInterface.IsARKit_1_5_Supported()) //otherwise we cannot access planeGeometry 25 | { 26 | planeMesh.vertices = arPlaneAnchor.planeGeometry.vertices; 27 | planeMesh.uv = arPlaneAnchor.planeGeometry.textureCoordinates; 28 | planeMesh.triangles = arPlaneAnchor.planeGeometry.triangleIndices; 29 | 30 | lineRenderer.positionCount = arPlaneAnchor.planeGeometry.boundaryVertexCount; 31 | lineRenderer.SetPositions(arPlaneAnchor.planeGeometry.boundaryVertices); 32 | 33 | // Assign the mesh object and update it. 34 | planeMesh.RecalculateBounds(); 35 | planeMesh.RecalculateNormals(); 36 | } 37 | 38 | } 39 | 40 | void PrintOutMesh() 41 | { 42 | string outputMessage = "\n"; 43 | outputMessage += "Vertices = " + planeMesh.vertices.GetLength (0); 44 | outputMessage += "\nVertices = ["; 45 | foreach (Vector3 v in planeMesh.vertices) { 46 | outputMessage += v.ToString (); 47 | outputMessage += ","; 48 | } 49 | outputMessage += "]\n Triangles = " + planeMesh.triangles.GetLength (0); 50 | outputMessage += "\n Triangles = ["; 51 | foreach (int i in planeMesh.triangles) { 52 | outputMessage += i; 53 | outputMessage += ","; 54 | } 55 | outputMessage += "]\n"; 56 | Debug.Log (outputMessage); 57 | 58 | } 59 | 60 | // Use this for initialization 61 | void Start () { 62 | 63 | } 64 | 65 | // Update is called once per frame 66 | void Update () { 67 | 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Examples/ARKit1.5/UnityARPlaneMesh/ARKitPlaneMeshRender.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8e41ddf2dd3348c18a8734d14dbb2ba 3 | timeCreated: 1517429452 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05a89afb32ff4cd48a0278f931aa903b 3 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20ca1a77fe0cf4e049dac6d2a8afd62e 3 | folderAsset: yes 4 | timeCreated: 1492036260 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8fd2eea89786441a84b5c25c1d48982 3 | folderAsset: yes 4 | timeCreated: 1492103332 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceImage.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | [CreateAssetMenu(fileName = "ARReferenceImage" , menuName = "UnityARKitPlugin/ARReferenceImage", order = 2)] 6 | public class ARReferenceImage : ScriptableObject { 7 | 8 | public string imageName; 9 | public Texture2D imageTexture; 10 | public float physicalSize; 11 | 12 | } 13 | 14 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0414577f9c6b244e696949154859a4af 3 | timeCreated: 1517880235 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceImagesSet.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | [CreateAssetMenu(fileName = "ARReferenceImagesSet" , menuName = "UnityARKitPlugin/ARReferenceImagesSet", order = 3)] 6 | public class ARReferenceImagesSet : ScriptableObject { 7 | 8 | public string resourceGroupName; 9 | public ARReferenceImage [] referenceImages; 10 | 11 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/ARReferenceImagesSet.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c37f7746917f4760aa00e7ff7fd81dc 3 | timeCreated: 1518054368 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 085eeda524261654b88f97ea61b33090 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/ARResourcesJSON.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using System; 5 | 6 | namespace UnityEngine.XR.iOS 7 | { 8 | [Serializable] 9 | public class ARResourceGroupInfo 10 | { 11 | public int version; 12 | public string author; 13 | } 14 | 15 | [Serializable] 16 | public class ARResourceGroupResource 17 | { 18 | public string filename; 19 | } 20 | 21 | [Serializable] 22 | public class ARResourceGroupContents 23 | { 24 | public ARResourceGroupInfo info; 25 | public ARResourceGroupResource [] resources; 26 | } 27 | 28 | [Serializable] 29 | public class ARResourceInfo 30 | { 31 | public int version; 32 | public string author; 33 | } 34 | 35 | [Serializable] 36 | public class ARResourceProperties 37 | { 38 | public float width; 39 | } 40 | 41 | [Serializable] 42 | public class ARResourceImage 43 | { 44 | public string idiom; 45 | public string filename; 46 | } 47 | 48 | [Serializable] 49 | public class ARResourceContents 50 | { 51 | public ARResourceImage [] images; 52 | public ARResourceInfo info; 53 | public ARResourceProperties properties; 54 | } 55 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/ARResourcesJSON.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c96ff67f78bac414e844358bb0f999fb 3 | timeCreated: 1518029034 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a56f8b807c15f4cf3a44275a5e5f89f3 3 | timeCreated: 1492795428 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e4b720fdfe6441c280f3288bdb93c0d 3 | folderAsset: yes 4 | timeCreated: 1503626042 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs: -------------------------------------------------------------------------------- 1 |  2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using UnityEngine.XR.iOS; 6 | 7 | public class AR3DOFCameraManager : MonoBehaviour { 8 | 9 | public Camera m_camera; 10 | private UnityARSessionNativeInterface m_session; 11 | private Material savedClearMaterial; 12 | 13 | // Use this for initialization 14 | void Start () { 15 | #if !UNITY_EDITOR 16 | // Application.targetFrameRate = 60; 17 | m_session = UnityARSessionNativeInterface.GetARSessionNativeInterface(); 18 | ARKitSessionConfiguration config = new ARKitSessionConfiguration(); 19 | config.alignment = UnityARAlignment.UnityARAlignmentGravity; 20 | config.getPointCloudData = true; 21 | config.enableLightEstimation = true; 22 | m_session.RunWithConfig(config); 23 | 24 | if (m_camera == null) { 25 | m_camera = Camera.main; 26 | } 27 | #endif 28 | } 29 | 30 | public void SetCamera(Camera newCamera) 31 | { 32 | if (m_camera != null) { 33 | UnityARVideo oldARVideo = m_camera.gameObject.GetComponent (); 34 | if (oldARVideo != null) { 35 | savedClearMaterial = oldARVideo.m_ClearMaterial; 36 | Destroy (oldARVideo); 37 | } 38 | } 39 | SetupNewCamera (newCamera); 40 | } 41 | 42 | private void SetupNewCamera(Camera newCamera) 43 | { 44 | m_camera = newCamera; 45 | 46 | if (m_camera != null) { 47 | UnityARVideo unityARVideo = m_camera.gameObject.GetComponent (); 48 | if (unityARVideo != null) { 49 | savedClearMaterial = unityARVideo.m_ClearMaterial; 50 | Destroy (unityARVideo); 51 | } 52 | unityARVideo = m_camera.gameObject.AddComponent (); 53 | unityARVideo.m_ClearMaterial = savedClearMaterial; 54 | } 55 | } 56 | 57 | // Update is called once per frame 58 | 59 | #if !UNITY_EDITOR 60 | void Update () { 61 | 62 | if (m_camera != null) 63 | { 64 | // JUST WORKS! 65 | Matrix4x4 matrix = m_session.GetCameraPose(); 66 | m_camera.transform.localPosition = UnityARMatrixOps.GetPosition(matrix); 67 | m_camera.transform.localRotation = UnityARMatrixOps.GetRotation (matrix); 68 | m_camera.projectionMatrix = m_session.GetCameraProjection (); 69 | } 70 | 71 | } 72 | #endif 73 | 74 | } 75 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/AR3DOFCameraManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ff614c6973544218b2c1e3036b8de0a 3 | timeCreated: 1494626284 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public class ARPlaneAnchorGameObject 6 | { 7 | public GameObject gameObject; 8 | public ARPlaneAnchor planeAnchor; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/ARPlaneAnchorGameObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a07258b16ace4bf1a395aa0a80f2135 3 | timeCreated: 1493059957 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class DontDestroyOnLoad : MonoBehaviour { 6 | 7 | // Use this for initialization 8 | void Start () { 9 | DontDestroyOnLoad (gameObject); 10 | } 11 | 12 | // Update is called once per frame 13 | void Update () { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/DontDestroyOnLoad.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 562a9fe49bfc2418099790a804f22711 3 | timeCreated: 1493408595 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/LinkedListDictionary.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | 4 | namespace Collections.Hybrid.Generic 5 | { 6 | /// 7 | /// LinkedList/Dictionary combo for constant time add/remove/contains. Memory usage is higher as expected. 8 | /// -kazoo 9 | /// 10 | /// key value type. It is recomended that this be "int", for speed purposes. 11 | /// The value type. Can be anything you like. 12 | public class LinkedListDictionary 13 | { 14 | private readonly Dictionary dictionary = new Dictionary(); 15 | private readonly LinkedList list = new LinkedList(); 16 | 17 | /// 18 | /// Get The count. 19 | /// 20 | /// 21 | public int Count 22 | { 23 | get { return list.Count; } 24 | } 25 | 26 | /// 27 | /// Is the key in the dictionary? 28 | /// 29 | /// key 30 | /// true if key is present, false otherwise. 31 | public bool ContainsKey(TK k) 32 | { 33 | return dictionary.ContainsKey(k); 34 | } 35 | 36 | /// 37 | /// Remove a key/value from the dictionary if present. 38 | /// 39 | /// key 40 | /// True if removal worked. False if removal is not possible. 41 | public bool Remove(TK k) 42 | { 43 | if (!ContainsKey(k)) 44 | { 45 | return false; 46 | } 47 | 48 | LLEntry entry = dictionary[k]; 49 | list.Remove(entry.vNode); 50 | return dictionary.Remove(k); 51 | } 52 | 53 | /// 54 | /// Add an item. Replacement is allowed. 55 | /// 56 | /// key 57 | /// value 58 | public void Add(TK k, TV v) 59 | { 60 | Remove(k); 61 | dictionary[k] = new LLEntry(v, list.AddLast(v)); 62 | } 63 | 64 | /// 65 | /// Retrieve an element by key. 66 | /// 67 | /// key 68 | /// Value. If element is not present, default(V) will be returned. 69 | public TV GetValue(TK k) 70 | { 71 | if (ContainsKey(k)) 72 | { 73 | return dictionary[k].v; 74 | } 75 | return default(TV); 76 | } 77 | 78 | public TV this[TK k] 79 | { 80 | get { return GetValue(k); } 81 | set { Add(k, value); } 82 | } 83 | 84 | /// 85 | /// Raw list of Values for garbage-free iteration. Do not modify. 86 | /// 87 | /// The values 88 | public LinkedList Values 89 | { 90 | get 91 | { 92 | return list; 93 | } 94 | } 95 | 96 | public void Clear() 97 | { 98 | dictionary.Clear(); 99 | list.Clear(); 100 | } 101 | 102 | private struct LLEntry 103 | { 104 | public readonly TV v; 105 | public readonly LinkedListNode vNode; 106 | 107 | public LLEntry(TV v, LinkedListNode vNode) 108 | { 109 | this.v = v; 110 | this.vNode = vNode; 111 | } 112 | } 113 | } 114 | } 115 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/LinkedListDictionary.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 356fa3989471245169edcc5abb89e6d7 3 | timeCreated: 1502403391 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | public class PointCloudParticleExample : MonoBehaviour { 7 | public ParticleSystem pointCloudParticlePrefab; 8 | public int maxPointsToShow; 9 | public float particleSize = 1.0f; 10 | private Vector3[] m_PointCloudData; 11 | private bool frameUpdated = false; 12 | private ParticleSystem currentPS; 13 | private ParticleSystem.Particle [] particles; 14 | 15 | // Use this for initialization 16 | void Start () { 17 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated; 18 | currentPS = Instantiate (pointCloudParticlePrefab); 19 | frameUpdated = false; 20 | } 21 | 22 | public void ARFrameUpdated(UnityARCamera camera) 23 | { 24 | m_PointCloudData = camera.pointCloudData; 25 | frameUpdated = true; 26 | } 27 | 28 | // Update is called once per frame 29 | void Update () { 30 | if (frameUpdated) { 31 | if (m_PointCloudData != null && m_PointCloudData.Length > 0 && maxPointsToShow > 0) { 32 | int numParticles = Mathf.Min (m_PointCloudData.Length, maxPointsToShow); 33 | ParticleSystem.Particle[] particles = new ParticleSystem.Particle[numParticles]; 34 | int index = 0; 35 | foreach (Vector3 currentPoint in m_PointCloudData) { 36 | particles [index].position = currentPoint; 37 | particles [index].startColor = new Color (1.0f, 1.0f, 1.0f); 38 | particles [index].startSize = particleSize; 39 | index++; 40 | if (index >= numParticles) break; 41 | } 42 | currentPS.SetParticles (particles, numParticles); 43 | } else { 44 | ParticleSystem.Particle[] particles = new ParticleSystem.Particle[1]; 45 | particles [0].startSize = 0.0f; 46 | currentPS.SetParticles (particles, 1); 47 | } 48 | frameUpdated = false; 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/PointCloudParticleExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec20d460fbb7e4f92b4d84a10da98cd9 3 | timeCreated: 1494006942 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | using UnityEngine.XR.iOS; 3 | 4 | namespace UnityEngine.XR.iOS 5 | { 6 | public class UnityARAmbient : MonoBehaviour 7 | { 8 | 9 | private Light l; 10 | 11 | public void Start() 12 | { 13 | l = GetComponent(); 14 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += UpdateLightEstimation; 15 | } 16 | 17 | void UpdateLightEstimation(UnityARCamera camera) 18 | { 19 | if (camera.lightData.arLightingType == LightDataType.LightEstimate) { 20 | // Convert ARKit intensity to Unity intensity 21 | // ARKit ambient intensity ranges 0-2000 22 | // Unity ambient intensity ranges 0-8 (for over-bright lights) 23 | float newai = camera.lightData.arLightEstimate.ambientIntensity; 24 | l.intensity = newai / 1000.0f; 25 | 26 | //Unity Light has functionality to filter the light color to correct temperature 27 | //https://docs.unity3d.com/ScriptReference/Light-colorTemperature.html 28 | l.colorTemperature = camera.lightData.arLightEstimate.ambientColorTemperature; 29 | } 30 | } 31 | 32 | void OnDestroy() { 33 | UnityARSessionNativeInterface.ARFrameUpdatedEvent -= UpdateLightEstimation; 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAmbient.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5587c957048494a2f96db36e0995449e 3 | timeCreated: 1492805300 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Collections.Hybrid.Generic; 5 | 6 | namespace UnityEngine.XR.iOS 7 | { 8 | public class UnityARAnchorManager 9 | { 10 | 11 | 12 | private LinkedListDictionary planeAnchorMap; 13 | 14 | 15 | public UnityARAnchorManager () 16 | { 17 | planeAnchorMap = new LinkedListDictionary (); 18 | UnityARSessionNativeInterface.ARAnchorAddedEvent += AddAnchor; 19 | UnityARSessionNativeInterface.ARAnchorUpdatedEvent += UpdateAnchor; 20 | UnityARSessionNativeInterface.ARAnchorRemovedEvent += RemoveAnchor; 21 | 22 | } 23 | 24 | 25 | public void AddAnchor(ARPlaneAnchor arPlaneAnchor) 26 | { 27 | GameObject go = UnityARUtility.CreatePlaneInScene (arPlaneAnchor); 28 | go.AddComponent (); //this is so these GOs persist across scene loads 29 | ARPlaneAnchorGameObject arpag = new ARPlaneAnchorGameObject (); 30 | arpag.planeAnchor = arPlaneAnchor; 31 | arpag.gameObject = go; 32 | planeAnchorMap.Add (arPlaneAnchor.identifier, arpag); 33 | } 34 | 35 | public void RemoveAnchor(ARPlaneAnchor arPlaneAnchor) 36 | { 37 | if (planeAnchorMap.ContainsKey (arPlaneAnchor.identifier)) { 38 | ARPlaneAnchorGameObject arpag = planeAnchorMap [arPlaneAnchor.identifier]; 39 | GameObject.Destroy (arpag.gameObject); 40 | planeAnchorMap.Remove (arPlaneAnchor.identifier); 41 | } 42 | } 43 | 44 | public void UpdateAnchor(ARPlaneAnchor arPlaneAnchor) 45 | { 46 | if (planeAnchorMap.ContainsKey (arPlaneAnchor.identifier)) { 47 | ARPlaneAnchorGameObject arpag = planeAnchorMap [arPlaneAnchor.identifier]; 48 | UnityARUtility.UpdatePlaneWithAnchorTransform (arpag.gameObject, arPlaneAnchor); 49 | arpag.planeAnchor = arPlaneAnchor; 50 | planeAnchorMap [arPlaneAnchor.identifier] = arpag; 51 | } 52 | } 53 | 54 | public void UnsubscribeEvents() 55 | { 56 | UnityARSessionNativeInterface.ARAnchorAddedEvent -= AddAnchor; 57 | UnityARSessionNativeInterface.ARAnchorUpdatedEvent -= UpdateAnchor; 58 | UnityARSessionNativeInterface.ARAnchorRemovedEvent -= RemoveAnchor; 59 | } 60 | 61 | public void Destroy() 62 | { 63 | foreach (ARPlaneAnchorGameObject arpag in GetCurrentPlaneAnchors()) { 64 | GameObject.Destroy (arpag.gameObject); 65 | } 66 | 67 | planeAnchorMap.Clear (); 68 | UnsubscribeEvents(); 69 | } 70 | 71 | public LinkedList GetCurrentPlaneAnchors() 72 | { 73 | return planeAnchorMap.Values; 74 | } 75 | } 76 | } 77 | 78 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARAnchorManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00b197bb73412448e9a5e14be146aaeb 3 | timeCreated: 1492557010 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | public class UnityARCameraManager : MonoBehaviour { 7 | 8 | public Camera m_camera; 9 | private UnityARSessionNativeInterface m_session; 10 | private Material savedClearMaterial; 11 | 12 | [Header("AR Config Options")] 13 | public UnityARAlignment startAlignment = UnityARAlignment.UnityARAlignmentGravity; 14 | public UnityARPlaneDetection planeDetection = UnityARPlaneDetection.Horizontal; 15 | public ARReferenceImagesSet detectionImages = null; 16 | public bool getPointCloud = true; 17 | public bool enableLightEstimation = true; 18 | public bool enableAutoFocus = true; 19 | private bool sessionStarted = false; 20 | 21 | // Use this for initialization 22 | void Start () { 23 | 24 | m_session = UnityARSessionNativeInterface.GetARSessionNativeInterface(); 25 | 26 | // Application.targetFrameRate = 60; 27 | ARKitWorldTrackingSessionConfiguration config = new ARKitWorldTrackingSessionConfiguration(); 28 | config.planeDetection = planeDetection; 29 | config.alignment = startAlignment; 30 | config.getPointCloudData = getPointCloud; 31 | config.enableLightEstimation = enableLightEstimation; 32 | config.enableAutoFocus = enableAutoFocus; 33 | if (detectionImages != null) { 34 | config.arResourceGroupName = detectionImages.resourceGroupName; 35 | } 36 | 37 | if (config.IsSupported) { 38 | m_session.RunWithConfig (config); 39 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += FirstFrameUpdate; 40 | } 41 | 42 | if (m_camera == null) { 43 | m_camera = Camera.main; 44 | } 45 | } 46 | 47 | void FirstFrameUpdate(UnityARCamera cam) 48 | { 49 | sessionStarted = true; 50 | UnityARSessionNativeInterface.ARFrameUpdatedEvent -= FirstFrameUpdate; 51 | } 52 | 53 | public void SetCamera(Camera newCamera) 54 | { 55 | if (m_camera != null) { 56 | UnityARVideo oldARVideo = m_camera.gameObject.GetComponent (); 57 | if (oldARVideo != null) { 58 | savedClearMaterial = oldARVideo.m_ClearMaterial; 59 | Destroy (oldARVideo); 60 | } 61 | } 62 | SetupNewCamera (newCamera); 63 | } 64 | 65 | private void SetupNewCamera(Camera newCamera) 66 | { 67 | m_camera = newCamera; 68 | 69 | if (m_camera != null) { 70 | UnityARVideo unityARVideo = m_camera.gameObject.GetComponent (); 71 | if (unityARVideo != null) { 72 | savedClearMaterial = unityARVideo.m_ClearMaterial; 73 | Destroy (unityARVideo); 74 | } 75 | unityARVideo = m_camera.gameObject.AddComponent (); 76 | unityARVideo.m_ClearMaterial = savedClearMaterial; 77 | } 78 | } 79 | 80 | // Update is called once per frame 81 | 82 | void Update () { 83 | 84 | if (m_camera != null && sessionStarted) 85 | { 86 | // JUST WORKS! 87 | Matrix4x4 matrix = m_session.GetCameraPose(); 88 | m_camera.transform.localPosition = UnityARMatrixOps.GetPosition(matrix); 89 | m_camera.transform.localRotation = UnityARMatrixOps.GetRotation (matrix); 90 | 91 | m_camera.projectionMatrix = m_session.GetCameraProjection (); 92 | } 93 | 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 462d46d2423bb4f738d2497a397b1590 3 | timeCreated: 1493058653 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | [RequireComponent(typeof(Camera))] 7 | public class UnityARCameraNearFar : MonoBehaviour { 8 | 9 | private Camera attachedCamera; 10 | private float currentNearZ; 11 | private float currentFarZ; 12 | 13 | // Use this for initialization 14 | void Start () { 15 | attachedCamera = GetComponent (); 16 | UpdateCameraClipPlanes (); 17 | } 18 | 19 | void UpdateCameraClipPlanes() 20 | { 21 | currentNearZ = attachedCamera.nearClipPlane; 22 | currentFarZ = attachedCamera.farClipPlane; 23 | UnityARSessionNativeInterface.GetARSessionNativeInterface ().SetCameraClipPlanes (currentNearZ, currentFarZ); 24 | } 25 | 26 | // Update is called once per frame 27 | void Update () { 28 | if (currentNearZ != attachedCamera.nearClipPlane || currentFarZ != attachedCamera.farClipPlane) { 29 | UpdateCameraClipPlanes (); 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARCameraNearFar.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce437cef046e841aabd6070890e79d41 3 | timeCreated: 1496930896 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace UnityEngine.XR.iOS 5 | { 6 | public class UnityARGeneratePlane : MonoBehaviour 7 | { 8 | public GameObject planePrefab; 9 | private UnityARAnchorManager unityARAnchorManager; 10 | 11 | // Use this for initialization 12 | void Start () { 13 | unityARAnchorManager = new UnityARAnchorManager(); 14 | UnityARUtility.InitializePlanePrefab (planePrefab); 15 | } 16 | 17 | void OnDestroy() 18 | { 19 | unityARAnchorManager.Destroy (); 20 | } 21 | 22 | void OnGUI() 23 | { 24 | IEnumerable arpags = unityARAnchorManager.GetCurrentPlaneAnchors (); 25 | foreach(var planeAnchor in arpags) 26 | { 27 | //ARPlaneAnchor ap = planeAnchor; 28 | //GUI.Box (new Rect (100, 100, 800, 60), string.Format ("Center: x:{0}, y:{1}, z:{2}", ap.center.x, ap.center.y, ap.center.z)); 29 | //GUI.Box(new Rect(100, 200, 800, 60), string.Format ("Extent: x:{0}, y:{1}, z:{2}", ap.extent.x, ap.extent.y, ap.extent.z)); 30 | } 31 | } 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARGeneratePlane.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31cac8edf84834043ac167deaeba16a9 3 | timeCreated: 1493058396 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARHitTestExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6941ec02ead994c9b848d640887441f1 3 | timeCreated: 1492806244 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4977b930c0f8843c8b8a101ba5bf3c8f 3 | timeCreated: 1493240142 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitLightManager.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | using UnityEngine.Rendering; 6 | 7 | public class UnityARKitLightManager : MonoBehaviour { 8 | 9 | Light [] lightsInScene; 10 | SphericalHarmonicsL2 shl; 11 | 12 | // Use this for initialization 13 | void Start () { 14 | //find all the lights in the scene 15 | lightsInScene = FindAllLights(); 16 | shl = new SphericalHarmonicsL2 (); 17 | 18 | //subscribe to event informing us of light changes from AR 19 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += UpdateLightEstimations; 20 | 21 | } 22 | 23 | void OnDestroy() 24 | { 25 | UnityARSessionNativeInterface.ARFrameUpdatedEvent -= UpdateLightEstimations; 26 | } 27 | 28 | 29 | Light [] FindAllLights() 30 | { 31 | return FindObjectsOfType (); 32 | } 33 | 34 | 35 | 36 | void UpdateLightEstimations(UnityARCamera camera) 37 | { 38 | if (camera.lightData.arLightingType == LightDataType.LightEstimate) { 39 | UpdateBasicLightEstimation (camera.lightData.arLightEstimate); 40 | } 41 | else if (camera.lightData.arLightingType == LightDataType.DirectionalLightEstimate) 42 | { 43 | UpdateDirectionalLightEstimation (camera.lightData.arDirectonalLightEstimate); 44 | } 45 | } 46 | 47 | void UpdateBasicLightEstimation(UnityARLightEstimate uarle) 48 | { 49 | foreach (Light l in lightsInScene) 50 | { 51 | //fix ambient light 52 | // Convert ARKit intensity to Unity intensity 53 | // ARKit ambient intensity ranges 0-2000 54 | // Unity ambient intensity ranges 0-8 (for over-bright lights) 55 | float newai = uarle.ambientIntensity; 56 | l.intensity = newai / 1000.0f; 57 | 58 | //Unity Light has functionality to filter the light color to correct temperature 59 | //https://docs.unity3d.com/ScriptReference/Light-colorTemperature.html 60 | l.colorTemperature = uarle.ambientColorTemperature; 61 | } 62 | 63 | 64 | 65 | } 66 | 67 | void UpdateDirectionalLightEstimation(UnityARDirectionalLightEstimate uardle) 68 | { 69 | for (int colorChannel = 0; colorChannel < 3; colorChannel++) { 70 | for (int index = 0; index < 9; index++) { 71 | shl [colorChannel, index] = uardle.sphericalHarmonicsCoefficients [(colorChannel * 9) + index]; 72 | } 73 | } 74 | 75 | if (LightmapSettings.lightProbes != null) { 76 | int probeCount = LightmapSettings.lightProbes.count; 77 | 78 | //we have at least one light probe in the scene 79 | if (probeCount > 0) { 80 | 81 | //Replace all the baked probes in the scene with our generated Spherical Harmonics 82 | SphericalHarmonicsL2[] bakedProbes = LightmapSettings.lightProbes.bakedProbes; 83 | 84 | for (int i = 0; i < probeCount; i++) { 85 | bakedProbes [i] = shl; 86 | } 87 | } 88 | } 89 | 90 | //for objects unaffected by any lightprobes, set up ambient probe 91 | RenderSettings.ambientProbe = shl; 92 | RenderSettings.ambientMode = AmbientMode.Custom; 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARKitLightManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0b95baf0d5f840f4bd22de86c996c08 3 | timeCreated: 1506357597 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public class UnityARMatrixOps 6 | { 7 | 8 | public static Matrix4x4 UnityToARKitCoordChange(Vector3 position, Quaternion rotation) 9 | { 10 | Matrix4x4 result = new Matrix4x4 (); 11 | //do the conversions back to ARKit space 12 | result.SetTRS (new Vector3 (position.x, position.y, -position.z), 13 | new Quaternion (rotation.x, rotation.y, -rotation.z, -rotation.w), 14 | Vector3.one); 15 | return result; 16 | 17 | } 18 | 19 | public static Vector3 GetPosition(Matrix4x4 matrix) 20 | { 21 | // Convert from ARKit's right-handed coordinate 22 | // system to Unity's left-handed 23 | Vector3 position = matrix.GetColumn(3); 24 | position.z = -position.z; 25 | 26 | return position; 27 | } 28 | 29 | public static Quaternion GetRotation(Matrix4x4 matrix) 30 | { 31 | // Convert from ARKit's right-handed coordinate 32 | // system to Unity's left-handed 33 | Quaternion rotation = QuaternionFromMatrix(matrix); 34 | rotation.z = -rotation.z; 35 | rotation.w = -rotation.w; 36 | 37 | return rotation; 38 | } 39 | 40 | 41 | static Quaternion QuaternionFromMatrix(Matrix4x4 m) { 42 | // Adapted from: http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm 43 | Quaternion q = new Quaternion(); 44 | q.w = Mathf.Sqrt( Mathf.Max( 0, 1 + m[0,0] + m[1,1] + m[2,2] ) ) / 2; 45 | q.x = Mathf.Sqrt( Mathf.Max( 0, 1 + m[0,0] - m[1,1] - m[2,2] ) ) / 2; 46 | q.y = Mathf.Sqrt( Mathf.Max( 0, 1 - m[0,0] + m[1,1] - m[2,2] ) ) / 2; 47 | q.z = Mathf.Sqrt( Mathf.Max( 0, 1 - m[0,0] - m[1,1] + m[2,2] ) ) / 2; 48 | q.x *= Mathf.Sign( q.x * ( m[2,1] - m[1,2] ) ); 49 | q.y *= Mathf.Sign( q.y * ( m[0,2] - m[2,0] ) ); 50 | q.z *= Mathf.Sign( q.z * ( m[1,0] - m[0,1] ) ); 51 | return q; 52 | } 53 | 54 | } 55 | } 56 | 57 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARMatrixOps.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37808a86538754725a15d36128fd2afc 3 | timeCreated: 1492800582 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using UnityEngine.XR.iOS; 6 | 7 | namespace UnityEngine.XR.iOS 8 | { 9 | public class UnityARUserAnchorComponent : MonoBehaviour { 10 | 11 | private string m_AnchorId; 12 | 13 | public string AnchorId { get { return m_AnchorId; } } 14 | 15 | void Awake() 16 | { 17 | UnityARSessionNativeInterface.ARUserAnchorUpdatedEvent += GameObjectAnchorUpdated; 18 | UnityARSessionNativeInterface.ARUserAnchorRemovedEvent += AnchorRemoved; 19 | this.m_AnchorId = UnityARSessionNativeInterface.GetARSessionNativeInterface ().AddUserAnchorFromGameObject(this.gameObject).identifierStr; 20 | } 21 | void Start () { 22 | 23 | } 24 | 25 | public void AnchorRemoved(ARUserAnchor anchor) 26 | { 27 | if (anchor.identifier.Equals(m_AnchorId)) 28 | { 29 | Destroy(this.gameObject); 30 | } 31 | } 32 | 33 | void OnDestroy() { 34 | UnityARSessionNativeInterface.ARUserAnchorUpdatedEvent -= GameObjectAnchorUpdated; 35 | UnityARSessionNativeInterface.ARUserAnchorRemovedEvent -= AnchorRemoved; 36 | UnityARSessionNativeInterface.GetARSessionNativeInterface ().RemoveUserAnchor(this.m_AnchorId); 37 | } 38 | 39 | private void GameObjectAnchorUpdated(ARUserAnchor anchor) 40 | { 41 | 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUserAnchorComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d24244ceb54d42ca92481ba81c45056 3 | timeCreated: 1499372973 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace UnityEngine.XR.iOS 5 | { 6 | public class UnityARUtility 7 | { 8 | private MeshCollider meshCollider; //declared to avoid code stripping of class 9 | private MeshFilter meshFilter; //declared to avoid code stripping of class 10 | private static GameObject planePrefab = null; 11 | 12 | public static void InitializePlanePrefab(GameObject go) 13 | { 14 | planePrefab = go; 15 | } 16 | 17 | public static GameObject CreatePlaneInScene(ARPlaneAnchor arPlaneAnchor) 18 | { 19 | GameObject plane; 20 | if (planePrefab != null) { 21 | plane = GameObject.Instantiate(planePrefab); 22 | } else { 23 | plane = new GameObject (); //put in a blank gameObject to get at least a transform to manipulate 24 | } 25 | 26 | plane.name = arPlaneAnchor.identifier; 27 | 28 | ARKitPlaneMeshRender apmr = plane.GetComponent (); 29 | if (apmr != null) { 30 | apmr.InitiliazeMesh (arPlaneAnchor); 31 | } 32 | 33 | return UpdatePlaneWithAnchorTransform(plane, arPlaneAnchor); 34 | 35 | } 36 | 37 | public static GameObject UpdatePlaneWithAnchorTransform(GameObject plane, ARPlaneAnchor arPlaneAnchor) 38 | { 39 | 40 | //do coordinate conversion from ARKit to Unity 41 | plane.transform.position = UnityARMatrixOps.GetPosition (arPlaneAnchor.transform); 42 | plane.transform.rotation = UnityARMatrixOps.GetRotation (arPlaneAnchor.transform); 43 | 44 | ARKitPlaneMeshRender apmr = plane.GetComponent (); 45 | if (apmr != null) { 46 | apmr.UpdateMesh (arPlaneAnchor); 47 | } 48 | 49 | 50 | MeshFilter mf = plane.GetComponentInChildren (); 51 | 52 | if (mf != null) { 53 | if (apmr == null) { 54 | //since our plane mesh is actually 10mx10m in the world, we scale it here by 0.1f 55 | mf.gameObject.transform.localScale = new Vector3 (arPlaneAnchor.extent.x * 0.1f, arPlaneAnchor.extent.y * 0.1f, arPlaneAnchor.extent.z * 0.1f); 56 | 57 | //convert our center position to unity coords 58 | mf.gameObject.transform.localPosition = new Vector3(arPlaneAnchor.center.x,arPlaneAnchor.center.y, -arPlaneAnchor.center.z); 59 | } 60 | 61 | } 62 | 63 | return plane; 64 | } 65 | 66 | 67 | 68 | } 69 | } 70 | 71 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9736aad5d8518481ab7e8d1d0b0e6e36 3 | timeCreated: 1492800582 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityARVideo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b58ecea7a196242dd879c814ac05084c 3 | timeCreated: 1492796577 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.XR.iOS; 4 | using System.Collections; 5 | using System.Collections.Generic; 6 | using System.Runtime.InteropServices; 7 | 8 | public class UnityPointCloudExample : MonoBehaviour 9 | { 10 | public uint numPointsToShow = 100; 11 | public GameObject PointCloudPrefab = null; 12 | private List pointCloudObjects; 13 | private Vector3[] m_PointCloudData; 14 | 15 | public void Start() 16 | { 17 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated; 18 | if (PointCloudPrefab != null) 19 | { 20 | pointCloudObjects = new List (); 21 | for (int i =0; i < numPointsToShow; i++) 22 | { 23 | pointCloudObjects.Add (Instantiate (PointCloudPrefab)); 24 | } 25 | } 26 | } 27 | 28 | public void ARFrameUpdated(UnityARCamera camera) 29 | { 30 | m_PointCloudData = camera.pointCloudData; 31 | } 32 | 33 | public void Update() 34 | { 35 | if (PointCloudPrefab != null && m_PointCloudData != null) 36 | { 37 | for (int count = 0; count < Math.Min (m_PointCloudData.Length, numPointsToShow); count++) 38 | { 39 | Vector4 vert = m_PointCloudData [count]; 40 | GameObject point = pointCloudObjects [count]; 41 | point.transform.position = new Vector3(vert.x, vert.y, vert.z); 42 | } 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Helpers/UnityPointCloudExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5ab0fdfbf2334e8dbbcdda6ceada7e3 3 | timeCreated: 1493835634 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b97b0ebd5e0d84160a0b477bf246c1e1 3 | folderAsset: yes 4 | timeCreated: 1492792741 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: YUVMaterial 10 | m_Shader: {fileID: 4800000, guid: ef7b8eec959eb4f1e9fa97bc86273848, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | - _textureCbCr: 58 | m_Texture: {fileID: 0} 59 | m_Scale: {x: 1, y: 1} 60 | m_Offset: {x: 0, y: 0} 61 | - _textureCrCb: 62 | m_Texture: {fileID: 0} 63 | m_Scale: {x: 1, y: 1} 64 | m_Offset: {x: 0, y: 0} 65 | - _textureY: 66 | m_Texture: {fileID: 0} 67 | m_Scale: {x: 1, y: 1} 68 | m_Offset: {x: 0, y: 0} 69 | m_Floats: 70 | - _BumpScale: 1 71 | - _Cutoff: 0.5 72 | - _DetailNormalMapScale: 1 73 | - _DstBlend: 0 74 | - _GlossMapScale: 1 75 | - _Glossiness: 0.5 76 | - _GlossyReflections: 1 77 | - _Metallic: 0 78 | - _Mode: 0 79 | - _OcclusionStrength: 1 80 | - _Parallax: 0.02 81 | - _SmoothnessTextureChannel: 0 82 | - _SpecularHighlights: 1 83 | - _SrcBlend: 1 84 | - _UVSec: 0 85 | - _ZWrite: 1 86 | - _isPortrait: 0 87 | - _texCoordScale: 1 88 | m_Colors: 89 | - _Color: {r: 1, g: 1, b: 1, a: 1} 90 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 91 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1d9352050a75486f878ab19fa578f16 3 | timeCreated: 1492641356 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: YUVMaterialLinear 10 | m_Shader: {fileID: 4800000, guid: 57c2c07a0719d4fafab7a4f8a84d1767, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | - _textureCbCr: 58 | m_Texture: {fileID: 0} 59 | m_Scale: {x: 2, y: 2} 60 | m_Offset: {x: -1, y: -1} 61 | - _textureCrCb: 62 | m_Texture: {fileID: 0} 63 | m_Scale: {x: 1, y: 1} 64 | m_Offset: {x: 0, y: 0} 65 | - _textureY: 66 | m_Texture: {fileID: 0} 67 | m_Scale: {x: 2, y: 2} 68 | m_Offset: {x: -1, y: -1} 69 | m_Floats: 70 | - _BumpScale: 1 71 | - _Cutoff: 0.5 72 | - _DetailNormalMapScale: 1 73 | - _DstBlend: 0 74 | - _GlossMapScale: 1 75 | - _Glossiness: 0.5 76 | - _GlossyReflections: 1 77 | - _Metallic: 0 78 | - _Mode: 0 79 | - _OcclusionStrength: 1 80 | - _Parallax: 0.02 81 | - _SmoothnessTextureChannel: 0 82 | - _SpecularHighlights: 1 83 | - _SrcBlend: 1 84 | - _UVSec: 0 85 | - _ZWrite: 1 86 | - _isPortrait: 0 87 | - _texCoordScale: 1 88 | m_Colors: 89 | - _Color: {r: 1, g: 1, b: 1, a: 1} 90 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 91 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Materials/YUVMaterialLinear.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2081057c5ab9b4b20a1a1c4efdace299 3 | timeCreated: 1492641356 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6930a53974b964a77bb66c8a01551eaa 3 | folderAsset: yes 4 | timeCreated: 1492795798 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARAnchor 6 | { 7 | public string identifier; 8 | 9 | /** 10 | The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. 11 | */ 12 | public Matrix4x4 transform; 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79ff8feee38c24e158252a971d93a42a 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace UnityEngine.XR.iOS 6 | { 7 | public struct ARCamera 8 | { 9 | /** 10 | The transformation matrix that defines the camera's rotation and translation in world coordinates. 11 | */ 12 | 13 | public Matrix4x4 worldTransform; 14 | 15 | /** 16 | The camera's orientation defined as Euler angles. 17 | 18 | @dicussion The order of components in this vector matches the axes of rotation: 19 | 1. Pitch (the x component) is the rotation about the node's x-axis (in radians) 20 | 2. Yaw (the y component) is the rotation about the node's y-axis (in radians) 21 | 3. Roll (the z component) is the rotation about the node's z-axis (in radians) 22 | ARKit applies these rotations in the reverse order of the components: 23 | 1. first roll 24 | 2. then yaw 25 | 3. then pitch 26 | */ 27 | 28 | public Vector3 eulerAngles; 29 | 30 | public ARTrackingQuality trackingQuality; 31 | 32 | /** 33 | The camera intrinsics. 34 | @discussion The matrix has the following contents: 35 | fx 0 px 36 | 0 fy py 37 | 0 0 1 38 | fx and fy are the focal length in pixels. 39 | px and py are the coordinates of the principal point in pixels. 40 | The origin is at the center of the upper-left pixel. 41 | */ 42 | 43 | public Vector3 intrinsics_row1; 44 | public Vector3 intrinsics_row2; 45 | public Vector3 intrinsics_row3; 46 | 47 | public ARSize imageResolution; 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7914788e42e54a09ac79ed2629dfb48 3 | timeCreated: 1492103364 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARErrorCode : long 6 | { 7 | /** Unsupported session configuration. */ 8 | ARErrorCodeUnsupportedConfiguration = 100, 9 | 10 | /** A sensor required to run the session is not available. */ 11 | ARErrorCodeSensorUnavailable = 101, 12 | 13 | /** A sensor failed to provide the required input. */ 14 | ARErrorCodeSensorFailed = 102, 15 | 16 | /** World tracking has encountered a fatal error. */ 17 | ARErrorCodeWorldTrackingFailed = 200, 18 | 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 094318df5b9084291abdf9a768914ab7 3 | timeCreated: 1492118622 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFaceAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bd5d00d33612415b85197cd523a21e6 3 | timeCreated: 1505528974 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARFrame 6 | { 7 | /** 8 | A timestamp identifying the frame. 9 | */ 10 | public double timestamp; 11 | 12 | /** 13 | The frame's captured image. 14 | */ 15 | public IntPtr capturedImage; 16 | 17 | /** 18 | The camera used to capture the frame's image. 19 | @discussion The camera provides the device's position and orientation as well as camera parameters. 20 | */ 21 | public ARCamera camera; 22 | 23 | /** 24 | A list of anchors in the scene. 25 | */ 26 | //List anchors; 27 | 28 | /** 29 | A light estimate representing the light in the scene. 30 | @discussion Returns nil if there is no light estimation. 31 | */ 32 | ARLightEstimate lightEstimate; 33 | 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8b915b5e16c84740b940efc7a7e2821 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARHitTestResult 6 | { 7 | /** 8 | The type of the hit-test result. 9 | */ 10 | public ARHitTestResultType type; 11 | 12 | /** 13 | The distance from the camera to the intersection in meters. 14 | */ 15 | public double distance; 16 | 17 | /** 18 | The transformation matrix that defines the intersection's rotation, translation and scale 19 | relative to the anchor or nearest feature point. 20 | */ 21 | public Matrix4x4 localTransform; 22 | 23 | /** 24 | The transformation matrix that defines the intersection's rotation, translation and scale 25 | relative to the world. 26 | */ 27 | public Matrix4x4 worldTransform; 28 | 29 | /** 30 | The anchor that the hit-test intersected. 31 | */ 32 | public string anchorIdentifier; 33 | 34 | /** 35 | True if the test represents a valid hit test. Data is undefined otherwise. 36 | */ 37 | public bool isValid; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 048b3fa7b70bb49689905314375cd7c3 3 | timeCreated: 1492121726 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | [Flags] 6 | public enum ARHitTestResultType : long 7 | { 8 | /** Result type from intersecting the nearest feature point. */ 9 | ARHitTestResultTypeFeaturePoint = (1 << 0), 10 | 11 | /** A real-world planar surface detected by the search (without a corresponding anchor), whose orientation is perpendicular to gravity. */ 12 | ARHitTestResultTypeEstimatedHorizontalPlane = (1 << 1), 13 | 14 | /** A real-world planar surface detected by the search, whose orientation is parallel to gravity. */ 15 | ARHitTestResultTypeEstimatedVerticalPlane = (1 << 2), 16 | 17 | /** Result type from intersecting with an existing plane anchor. */ 18 | ARHitTestResultTypeExistingPlane = (1 << 3), 19 | 20 | /** Result type from intersecting with an existing plane anchor, taking into account the plane's extent. */ 21 | ARHitTestResultTypeExistingPlaneUsingExtent = ( 1 << 4), 22 | 23 | /** A plane anchor already in the scene (detected with the planeDetection option), respecting the plane's estimated size and shape. **/ 24 | ARHitTestResultTypeExistingPlaneUsingGeometry = (1 << 5) 25 | 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d70fc085339c436b848c46340250a29 3 | timeCreated: 1492121726 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARImageAnchor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using System; 5 | using System.Runtime.InteropServices; 6 | 7 | 8 | namespace UnityEngine.XR.iOS 9 | { 10 | 11 | public struct UnityARImageAnchorData 12 | { 13 | 14 | public IntPtr ptrIdentifier; 15 | 16 | /** 17 | The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. 18 | */ 19 | public UnityARMatrix4x4 transform; 20 | 21 | public IntPtr referenceImageNamePtr; 22 | 23 | public float referenceImagePhysicalSize; 24 | 25 | 26 | }; 27 | 28 | 29 | 30 | public class ARImageAnchor { 31 | 32 | private UnityARImageAnchorData imageAnchorData; 33 | 34 | public ARImageAnchor (UnityARImageAnchorData uiad) 35 | { 36 | imageAnchorData = uiad; 37 | } 38 | 39 | 40 | public string identifier { get { return Marshal.PtrToStringAuto(imageAnchorData.ptrIdentifier); } } 41 | 42 | public Matrix4x4 transform { 43 | get { 44 | Matrix4x4 matrix = new Matrix4x4 (); 45 | matrix.SetColumn (0, imageAnchorData.transform.column0); 46 | matrix.SetColumn (1, imageAnchorData.transform.column1); 47 | matrix.SetColumn (2, imageAnchorData.transform.column2); 48 | matrix.SetColumn (3, imageAnchorData.transform.column3); 49 | return matrix; 50 | } 51 | } 52 | 53 | public string referenceImageName { get { return Marshal.PtrToStringAuto(imageAnchorData.referenceImageNamePtr); } } 54 | 55 | public float referenceImagePhysicalSize { get { return imageAnchorData.referenceImagePhysicalSize; } } 56 | } 57 | 58 | } -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARImageAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 888a393eca1cb4822ab6eb99ddaa0e9e 3 | timeCreated: 1517602605 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1f2e6c89195544de943f77cd419d81d 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a7917e69c7bc43ad8879cc6d58266fc 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARPlaneAnchorAlignment : long 6 | { 7 | /** A plane that is horizontal with respect to gravity. */ 8 | ARPlaneAnchorAlignmentHorizontal, 9 | 10 | /** A plane that is parallel with respect to gravity. */ 11 | ARPlaneAnchorAlignmentVertical 12 | } 13 | } 14 | 15 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8d5557085c2d4e3e8ac43f5694ea8c8 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARPoint 6 | { 7 | public double x; 8 | public double y; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91d28e0ba93314b2298e88a73bf448d3 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARRect 6 | { 7 | public ARPoint origin; 8 | public ARSize size; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b78ac1873b934b6497aa4404b460655 3 | timeCreated: 1492120116 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ecd21425b31a46ef9abc90a0516e9a1 3 | timeCreated: 1492108287 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 2 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | data: 13 | first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | data: 19 | first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | data: 26 | first: 27 | iPhone: iOS 28 | second: 29 | enabled: 1 30 | settings: {} 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARSize 6 | { 7 | public double width; 8 | public double height; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c72e6d3d39c0b495ba3d40c3cbd3a8ca 3 | timeCreated: 1492114222 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARTextureHandles 6 | { 7 | // Native (Metal) texture handles for the device camera buffer 8 | public IntPtr textureY; 9 | public IntPtr textureCbCr; 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 223ca11cf486046fe9c3740ee69b7a27 3 | timeCreated: 1493064086 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingQuality : long 6 | { 7 | /** The tracking quality is not available. */ 8 | ARTrackingQualityNotAvailable, 9 | 10 | /** The tracking quality is limited, relying only on the device's motion. */ 11 | ARTrackingQualityLimited, 12 | 13 | /** The tracking quality is poor. */ 14 | ARTrackingQualityPoor, 15 | 16 | /** The tracking quality is good. */ 17 | ARTrackingQualityGood 18 | 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70419166c9be04782bc37a66aa7ead0a 3 | timeCreated: 1492114222 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingState 6 | { 7 | /** Tracking is not available. */ 8 | ARTrackingStateNotAvailable, 9 | 10 | /** Tracking is limited. See tracking reason for details. */ 11 | ARTrackingStateLimited, 12 | 13 | /** Tracking is Normal. */ 14 | ARTrackingStateNormal, 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c8e21e94c4944a7eb5202db41d4bce0 3 | timeCreated: 1493767524 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingStateReason 6 | { 7 | /** Tracking is not limited. */ 8 | ARTrackingStateReasonNone, 9 | 10 | /** Tracking is limited due to initialization in progress. */ 11 | ARTrackingStateReasonInitializing, 12 | 13 | /** Tracking is limited due to a excessive motion of the camera. */ 14 | ARTrackingStateReasonExcessiveMotion, 15 | 16 | /** Tracking is limited due to a lack of features visible to the camera. */ 17 | ARTrackingStateReasonInsufficientFeatures, 18 | 19 | /** Tracking is limited due to a relocalization in progress. */ 20 | ARTrackingStateReasonRelocalizing, 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b76c532f89f25411ca5c1d82cd7a5367 3 | timeCreated: 1493767524 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARUserAnchor 6 | { 7 | 8 | public string identifier; 9 | 10 | /** 11 | The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. 12 | */ 13 | public Matrix4x4 transform; 14 | } 15 | } 16 | 17 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARUserAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8271a80f6d6245a4bf920bbe514bbc0 3 | timeCreated: 1500325731 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARVideoFormat.cs: -------------------------------------------------------------------------------- 1 | #if UNITY_IOS 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using System; 6 | using System.Runtime.InteropServices; 7 | using AOT; 8 | 9 | 10 | namespace UnityEngine.XR.iOS 11 | { 12 | 13 | public struct UnityARVideoFormat { 14 | public IntPtr videoFormatPtr; 15 | public float imageResolutionWidth; 16 | public float imageResolutionHeight; 17 | public int framesPerSecond; 18 | 19 | #if UNITY_EDITOR 20 | private static void EnumerateVideoFormats(VideoFormatEnumerator videoFormatEnumerator) { 21 | } 22 | #else 23 | [DllImport("__Internal")] 24 | private static extern void EnumerateVideoFormats(VideoFormatEnumerator videoFormatEnumerator); 25 | #endif 26 | 27 | static List videoFormatsList; 28 | 29 | public static List SupportedVideoFormats() 30 | { 31 | videoFormatsList = new List (); 32 | EnumerateVideoFormats (AddToVFList); 33 | 34 | return videoFormatsList; 35 | } 36 | 37 | [MonoPInvokeCallback(typeof(VideoFormatEnumerator))] 38 | private static void AddToVFList(UnityARVideoFormat newFormat) 39 | { 40 | Debug.Log ("New Format returned"); 41 | videoFormatsList.Add (newFormat); 42 | } 43 | 44 | } 45 | 46 | public delegate void VideoFormatEnumerator(UnityARVideoFormat videoFormat); 47 | 48 | 49 | } 50 | #endif -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/ARVideoFormat.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d63d797765c124eb59e9ed66561bd129 3 | timeCreated: 1518217135 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43900ad1460304627a359bed956a451d 3 | timeCreated: 1492795428 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9e3cccf742844401a584fdd294d0607 3 | folderAsset: yes 4 | timeCreated: 1492634328 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/ARCameraShader" 2 | { 3 | Properties 4 | { 5 | _textureY ("TextureY", 2D) = "white" {} 6 | _textureCbCr ("TextureCbCr", 2D) = "black" {} 7 | } 8 | SubShader 9 | { 10 | Cull Off 11 | Tags { "RenderType"="Opaque" } 12 | LOD 100 13 | 14 | Pass 15 | { 16 | ZWrite Off 17 | CGPROGRAM 18 | #pragma vertex vert 19 | #pragma fragment frag 20 | 21 | #include "UnityCG.cginc" 22 | 23 | float4x4 _DisplayTransform; 24 | 25 | struct Vertex 26 | { 27 | float4 position : POSITION; 28 | float2 texcoord : TEXCOORD0; 29 | }; 30 | 31 | struct TexCoordInOut 32 | { 33 | float4 position : SV_POSITION; 34 | float2 texcoord : TEXCOORD0; 35 | }; 36 | 37 | TexCoordInOut vert (Vertex vertex) 38 | { 39 | TexCoordInOut o; 40 | o.position = UnityObjectToClipPos(vertex.position); 41 | 42 | float texX = vertex.texcoord.x; 43 | float texY = vertex.texcoord.y; 44 | 45 | o.texcoord.x = (_DisplayTransform[0].x * texX + _DisplayTransform[1].x * (texY) + _DisplayTransform[2].x); 46 | o.texcoord.y = (_DisplayTransform[0].y * texX + _DisplayTransform[1].y * (texY) + (_DisplayTransform[2].y)); 47 | 48 | return o; 49 | } 50 | 51 | // samplers 52 | sampler2D _textureY; 53 | sampler2D _textureCbCr; 54 | 55 | fixed4 frag (TexCoordInOut i) : SV_Target 56 | { 57 | // sample the texture 58 | float2 texcoord = i.texcoord; 59 | float y = tex2D(_textureY, texcoord).r; 60 | float4 ycbcr = float4(y, tex2D(_textureCbCr, texcoord).rg, 1.0); 61 | 62 | const float4x4 ycbcrToRGBTransform = float4x4( 63 | float4(1.0, +0.0000, +1.4020, -0.7010), 64 | float4(1.0, -0.3441, -0.7141, +0.5291), 65 | float4(1.0, +1.7720, +0.0000, -0.8860), 66 | float4(0.0, +0.0000, +0.0000, +1.0000) 67 | ); 68 | 69 | return mul(ycbcrToRGBTransform, ycbcr); 70 | } 71 | ENDCG 72 | } 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef7b8eec959eb4f1e9fa97bc86273848 3 | timeCreated: 1492634375 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/ARCameraShader(Linear)" 2 | { 3 | Properties 4 | { 5 | _textureY ("TextureY", 2D) = "white" {} 6 | _textureCbCr ("TextureCbCr", 2D) = "black" {} 7 | } 8 | SubShader 9 | { 10 | Cull Off 11 | Tags { "RenderType"="Opaque" } 12 | LOD 100 13 | 14 | Pass 15 | { 16 | ZWrite Off 17 | CGPROGRAM 18 | #pragma vertex vert 19 | #pragma fragment frag 20 | 21 | #include "UnityCG.cginc" 22 | 23 | float4x4 _DisplayTransform; 24 | 25 | struct Vertex 26 | { 27 | float4 position : POSITION; 28 | float2 texcoord : TEXCOORD0; 29 | }; 30 | 31 | struct TexCoordInOut 32 | { 33 | float4 position : SV_POSITION; 34 | float2 texcoord : TEXCOORD0; 35 | }; 36 | 37 | TexCoordInOut vert (Vertex vertex) 38 | { 39 | TexCoordInOut o; 40 | o.position = UnityObjectToClipPos(vertex.position); 41 | 42 | float texX = vertex.texcoord.x; 43 | float texY = vertex.texcoord.y; 44 | 45 | o.texcoord.x = (_DisplayTransform[0].x * texX + _DisplayTransform[1].x * (texY) + _DisplayTransform[2].x); 46 | o.texcoord.y = (_DisplayTransform[0].y * texX + _DisplayTransform[1].y * (texY) + (_DisplayTransform[2].y)); 47 | 48 | return o; 49 | } 50 | 51 | // samplers 52 | sampler2D _textureY; 53 | sampler2D _textureCbCr; 54 | 55 | fixed4 frag (TexCoordInOut i) : SV_Target 56 | { 57 | // sample the texture 58 | float2 texcoord = i.texcoord; 59 | float y = tex2D(_textureY, texcoord).r; 60 | float4 ycbcr = float4(y, tex2D(_textureCbCr, texcoord).rg, 1.0); 61 | 62 | const float4x4 ycbcrToRGBTransform = float4x4( 63 | float4(1.0, +0.0000, +1.4020, -0.7010), 64 | float4(1.0, -0.3441, -0.7141, +0.5291), 65 | float4(1.0, +1.7720, +0.0000, -0.8860), 66 | float4(0.0, +0.0000, +0.0000, +1.0000) 67 | ); 68 | 69 | //gamma->linear conversion 70 | return pow(mul(ycbcrToRGBTransform, ycbcr), 2.2); 71 | } 72 | ENDCG 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Plugins/iOS/UnityARKit/Shaders/YUVShaderLinear.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57c2c07a0719d4fafab7a4f8a84d1767 3 | timeCreated: 1492634375 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6107a01f65b74c0093cf65fc9e9cfcc 3 | folderAsset: yes 4 | timeCreated: 1511229652 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Resources/UnityARKitPlugin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3872f00b440b04ca98de82d0fca32d68 3 | folderAsset: yes 4 | timeCreated: 1511229680 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Resources/UnityARKitPlugin/ARKitSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: efa163296ae7840cb80b9e3beb5f0857, type: 3} 12 | m_Name: ARKitSettings 13 | m_EditorClassIdentifier: 14 | m_ARKitUsesFacetracking: 1 15 | AppRequiresARKit: 0 16 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/Resources/UnityARKitPlugin/ARKitSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: feb5449e416a346aaa320dd0a0188ade 3 | timeCreated: 1511224908 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 11400000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/UnityARKitPluginSettings.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | /// 6 | /// Holds settings that are used to configure the Unity ARKit Plugin. 7 | /// 8 | [CreateAssetMenu(fileName = "ARKitSettings", menuName = "UnityARKitPlugin/Settings", order = 1)] 9 | public class UnityARKitPluginSettings : ScriptableObject { 10 | 11 | /// 12 | /// Toggles whether Facetracking for iPhone X (and later) is used. If enabled, provide a Privacy Policy for submission to AppStore. 13 | /// 14 | [Tooltip("Toggles whether Facetracking for iPhone X (and later) is used. If enabled, provide a Privacy Policy for submission to AppStore.")] 15 | public bool m_ARKitUsesFacetracking = false; 16 | 17 | /// 18 | /// Toggles whether ARKit is required for this app: will make app only downloadable by devices with ARKit support if enabled. 19 | /// 20 | [Tooltip("Toggles whether ARKit is required for this app: will make app only downloadable by devices with ARKit support if enabled.")] 21 | public bool AppRequiresARKit = false; 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Assets/UnityARKitPlugin/UnityARKitPluginSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efa163296ae7840cb80b9e3beb5f0857 3 | timeCreated: 1511215177 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/VRTrackingSample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1497f2d0d61a14bbcb25a85b9378144d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/VRTrackingSample/VRTracking.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using UnityEngine; 4 | 5 | public class VRTracking : MonoBehaviour, IDisposable 6 | { 7 | public Action OnTracking; 8 | public void StartTracking(GameObject[] cameraLeftAndRight, Action update) 9 | { 10 | this.OnTracking = update; 11 | 12 | // 取得を開始する = タイミングタイミングでOnDataを叩く。 13 | StartCoroutine(OnUpdate(cameraLeftAndRight, update)); 14 | } 15 | 16 | private IEnumerator OnUpdate(GameObject[] cameraLeftAndRight, Action update) 17 | { 18 | while (true) 19 | { 20 | var headCamera = new VRTransform() 21 | { 22 | pos = cameraLeftAndRight[0].transform.position, 23 | rot = cameraLeftAndRight[0].transform.rotation, 24 | }; 25 | var leftHand = new HandInput() 26 | { 27 | trans = new VRTransform() 28 | { 29 | pos = cameraLeftAndRight[1].transform.position, 30 | rot = cameraLeftAndRight[1].transform.rotation, 31 | } 32 | }; 33 | var rightHand = new HandInput() 34 | { 35 | trans = new VRTransform() 36 | { 37 | pos = cameraLeftAndRight[2].transform.position, 38 | rot = cameraLeftAndRight[2].transform.rotation, 39 | } 40 | }; 41 | 42 | update(headCamera, leftHand, rightHand); 43 | yield return null; 44 | } 45 | } 46 | 47 | #region IDisposable Support 48 | private bool disposedValue = false; // To detect redundant calls 49 | 50 | protected virtual void Dispose(bool disposing) 51 | { 52 | if (!disposedValue) 53 | { 54 | if (disposing) 55 | { 56 | // TODO: dispose managed state (managed objects). 57 | } 58 | 59 | // TODO: free unmanaged resources (unmanaged objects) and override a finalizer below. 60 | // TODO: set large fields to null. 61 | 62 | disposedValue = true; 63 | } 64 | } 65 | 66 | // TODO: override a finalizer only if Dispose(bool disposing) above has code to free unmanaged resources. 67 | // ~VRTracking() 68 | // { 69 | // // Do not change this code. Put cleanup code in Dispose(bool disposing) above. 70 | // Dispose(false); 71 | // } 72 | 73 | // This code added to correctly implement the disposable pattern. 74 | public void Dispose() 75 | { 76 | // Do not change this code. Put cleanup code in Dispose(bool disposing) above. 77 | Dispose(true); 78 | // TODO: uncomment the following line if the finalizer is overridden above. 79 | // GC.SuppressFinalize(this); 80 | } 81 | #endregion 82 | 83 | } 84 | -------------------------------------------------------------------------------- /Assets/VRTrackingSample/VRTracking.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d5373113fce543efa29d8359885afee 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRTrackingSample/VRTrackingSample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using UnityEngine; 4 | 5 | 6 | [Serializable] 7 | public class VRTransform 8 | { 9 | [SerializeField] public Vector3 pos; 10 | [SerializeField] public Quaternion rot; 11 | } 12 | 13 | [Serializable] 14 | public class HandInput 15 | { 16 | [SerializeField] public VRTransform trans; 17 | } 18 | 19 | 20 | public class VRTrackingPayload : IRemotePayload3 21 | { 22 | [SerializeField] public VRTransform headCamera; 23 | [SerializeField] public HandInput leftHand; 24 | [SerializeField] public HandInput rightHand; 25 | 26 | public VRTrackingPayload(VRTransform headCamera, HandInput leftHand, HandInput rightHand) { 27 | this.headCamera = headCamera; 28 | this.leftHand = leftHand; 29 | this.rightHand = rightHand; 30 | } 31 | 32 | public object Param0() 33 | { 34 | return headCamera; 35 | } 36 | 37 | public object Param1() 38 | { 39 | return leftHand; 40 | } 41 | 42 | public object Param2() 43 | { 44 | return rightHand; 45 | } 46 | } 47 | 48 | 49 | public class VRTrackingSample : MonoBehaviour 50 | { 51 | public GameObject cubeHead; 52 | public GameObject cubeLeftHand; 53 | public GameObject cubeRightHand; 54 | 55 | private VRTracking vrTracking; 56 | 57 | // Start is called before the first frame update 58 | private IEnumerator Start() 59 | { 60 | var go = new GameObject("core"); 61 | vrTracking = go.AddComponent(); 62 | vrTracking.StartTracking( 63 | new GameObject[] { cubeHead, cubeLeftHand, cubeRightHand }, 64 | (head, leftHand, rightHand) => 65 | { 66 | OnTrackingMove(head, leftHand, rightHand); 67 | } 68 | ); 69 | 70 | yield return new WaitForSeconds(1); 71 | 72 | A_npanRemote.Setup( 73 | "192.168.11.17", 74 | ref vrTracking.OnTracking 75 | ); 76 | } 77 | 78 | private void OnTrackingMove(VRTransform head, HandInput leftHand, HandInput rightHand) 79 | { 80 | Debug.Log("here! update head.pos:" + head.rot + " l pos:" + leftHand.trans.pos + " r pos:" + rightHand.trans.pos); 81 | cubeHead.transform.position = head.pos; 82 | cubeLeftHand.transform.position = leftHand.trans.pos; 83 | cubeRightHand.transform.position = rightHand.trans.pos; 84 | } 85 | 86 | 87 | 88 | 89 | private void OnApplicationQuit() 90 | { 91 | vrTracking?.Dispose(); 92 | } 93 | } 94 | -------------------------------------------------------------------------------- /Assets/VRTrackingSample/VRTrackingSample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61cb8795166054ad6a61bb43945c3e8f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/VRTrackingSample/VRTrackingSampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7cfdee8b33644943bbe7dac41c107c9 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.2d.sprite": "1.0.0", 4 | "com.unity.2d.tilemap": "1.0.0", 5 | "com.unity.ads": "2.0.8", 6 | "com.unity.analytics": "3.3.2", 7 | "com.unity.collab-proxy": "1.2.16", 8 | "com.unity.ext.nunit": "1.0.0", 9 | "com.unity.ide.rider": "1.1.0", 10 | "com.unity.ide.vscode": "1.1.3", 11 | "com.unity.package-manager-ui": "2.2.0", 12 | "com.unity.purchasing": "2.0.6", 13 | "com.unity.test-framework": "1.0.13", 14 | "com.unity.textmeshpro": "2.0.1", 15 | "com.unity.timeline": "1.1.0", 16 | "com.unity.ugui": "1.0.0", 17 | "com.unity.modules.ai": "1.0.0", 18 | "com.unity.modules.androidjni": "1.0.0", 19 | "com.unity.modules.animation": "1.0.0", 20 | "com.unity.modules.assetbundle": "1.0.0", 21 | "com.unity.modules.audio": "1.0.0", 22 | "com.unity.modules.cloth": "1.0.0", 23 | "com.unity.modules.director": "1.0.0", 24 | "com.unity.modules.imageconversion": "1.0.0", 25 | "com.unity.modules.imgui": "1.0.0", 26 | "com.unity.modules.jsonserialize": "1.0.0", 27 | "com.unity.modules.particlesystem": "1.0.0", 28 | "com.unity.modules.physics": "1.0.0", 29 | "com.unity.modules.physics2d": "1.0.0", 30 | "com.unity.modules.screencapture": "1.0.0", 31 | "com.unity.modules.terrain": "1.0.0", 32 | "com.unity.modules.terrainphysics": "1.0.0", 33 | "com.unity.modules.tilemap": "1.0.0", 34 | "com.unity.modules.ui": "1.0.0", 35 | "com.unity.modules.uielements": "1.0.0", 36 | "com.unity.modules.umbra": "1.0.0", 37 | "com.unity.modules.unityanalytics": "1.0.0", 38 | "com.unity.modules.unitywebrequest": "1.0.0", 39 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 40 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 41 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 42 | "com.unity.modules.unitywebrequestwww": "1.0.0", 43 | "com.unity.modules.vehicles": "1.0.0", 44 | "com.unity.modules.video": "1.0.0", 45 | "com.unity.modules.vr": "1.0.0", 46 | "com.unity.modules.wind": "1.0.0", 47 | "com.unity.modules.xr": "1.0.0" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /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 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 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: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /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 | - enabled: 1 9 | path: Assets/ARFaceTrackingSample/ARFaceTrackingSampleScene.unity 10 | guid: 2d94d1aaad054488eaf554c36b3b856a 11 | - enabled: 1 12 | path: Assets/VRTrackingSample/VRTrackingSampleScene.unity 13 | guid: e7cfdee8b33644943bbe7dac41c107c9 14 | m_configObjects: {} 15 | -------------------------------------------------------------------------------- /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: 7 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 1 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /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: 12 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 | - {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 40 | - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0} 41 | m_PreloadedShaders: [] 42 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 43 | type: 0} 44 | m_CustomRenderPipeline: {fileID: 0} 45 | m_TransparencySortMode: 0 46 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 47 | m_DefaultRenderingPath: 1 48 | m_DefaultMobileRenderingPath: 1 49 | m_TierSettings: [] 50 | m_LightmapStripping: 0 51 | m_FogStripping: 0 52 | m_InstancingStripping: 0 53 | m_LightmapKeepPlain: 1 54 | m_LightmapKeepDirCombined: 1 55 | m_LightmapKeepDynamicPlain: 1 56 | m_LightmapKeepDynamicDirCombined: 1 57 | m_LightmapKeepShadowMask: 1 58 | m_LightmapKeepSubtractive: 1 59 | m_FogKeepLinear: 1 60 | m_FogKeepExp: 1 61 | m_FogKeepExp2: 1 62 | m_AlbedoSwatchInfos: [] 63 | m_LightsUseLinearIntensity: 0 64 | m_LightsUseColorTemperature: 0 65 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /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: 3 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_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AutoSyncTransforms: 1 28 | m_AlwaysShowColliders: 0 29 | m_ShowColliderSleep: 1 30 | m_ShowColliderContacts: 0 31 | m_ShowColliderAABB: 0 32 | m_ContactArrowScale: 0.2 33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 38 | -------------------------------------------------------------------------------- /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 | m_DefaultList: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.2.21f1 2 | m_EditorVersionWithRevision: 2019.2.21f1 (9d528d026557) 3 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 1 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_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /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_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /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 | } -------------------------------------------------------------------------------- /obj/Debug/Chanquo.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 3b53e8bf8fd83d41af689530fc19abefc4d178f4 2 | -------------------------------------------------------------------------------- /obj/Debug/Chanquo.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sassembla/A-npanRemote/ec5055f32816ecb516114bb911c6b181ad40bde3/obj/Debug/Chanquo.csprojAssemblyReference.cache --------------------------------------------------------------------------------