├── Resources ├── None.png ├── LogoAryzonSmall.png ├── LogoAryzonSidebar.png ├── LogoAryzonSmallLight.png ├── None.png.meta ├── LogoAryzonSmall.png.meta ├── LogoAryzonSidebar.png.meta └── LogoAryzonSmallLight.png.meta ├── .gitignore ├── Runtime ├── Graphics │ ├── Back.png │ ├── line.png │ ├── Aryzon.png │ ├── Divider.png │ ├── Line 1.png │ ├── AryzonButton.png │ ├── Aryzon_ICON.png │ ├── CancelButton.png │ ├── PutInAryzon.mp4 │ ├── ReticleDot.png │ ├── ReticleRing.png │ ├── WideButton.png │ ├── SettingsWheel.png │ ├── CalibrateButton.png │ ├── AryzonButtonSimple.png │ ├── AryzonControllerBlack.png │ ├── AryzonControllerModeAX.png │ ├── AryzonControllerModeY.png │ ├── AryzonControllerTurnOn.png │ ├── AryzonV3_MarkerImage.jpg │ ├── AryzonV4_MarkerImage.jpg │ ├── AryzonSmall_MarkerImage.jpg │ ├── PutInAryzonTexture.renderTexture.meta │ ├── PutInAryzonTexture.asset.meta │ ├── PutInAryzon.mp4.meta │ ├── PutInAryzonTexture.renderTexture │ ├── PutInAryzonTexture.asset │ ├── AryzonV3_MarkerImage.jpg.meta │ ├── Back.png.meta │ ├── Aryzon_ICON.png.meta │ ├── AryzonButtonSimple.png.meta │ ├── AryzonSmall_MarkerImage.jpg.meta │ ├── AryzonV4_MarkerImage.jpg.meta │ ├── ReticleDot.png.meta │ ├── Aryzon.png.meta │ ├── Divider.png.meta │ ├── Line 1.png.meta │ ├── ReticleRing.png.meta │ ├── AryzonButton.png.meta │ ├── CancelButton.png.meta │ ├── SettingsWheel.png.meta │ ├── line.png.meta │ ├── AryzonControllerBlack.png.meta │ ├── AryzonControllerModeAX.png.meta │ ├── AryzonControllerModeY.png.meta │ └── AryzonControllerTurnOn.png.meta ├── Fonts │ ├── Montserrat-Light.ttf │ ├── Montserrat-Medium.ttf │ ├── Montserrat-Light.ttf.meta │ └── Montserrat-Medium.ttf.meta ├── Prefabs │ ├── Aryzon.prefab.meta │ ├── AryzonUI.prefab.meta │ ├── Reticle.prefab.meta │ ├── AryzonInputController.prefab.meta │ └── AryzonInputController.prefab ├── Aryzon.asmdef.meta ├── Fonts.meta ├── iOS.meta ├── Animations.meta ├── Graphics.meta ├── Prefabs.meta ├── Scripts.meta ├── Shaders.meta ├── Shaders │ ├── Reticle.mat.meta │ ├── UIOverlay.shader.meta │ ├── LensCorrection.shader.meta │ ├── LensCorrection.shader │ ├── UIOverlay.shader │ └── Reticle.mat ├── Animations │ ├── ReticleClicked.anim.meta │ ├── ReticleOff.anim.meta │ ├── ReticleOver.anim.meta │ └── ReticleController.controller.meta ├── Scripts │ ├── Aryzon2DUI.cs.meta │ ├── ViewCycle.cs.meta │ ├── AryzonConstants.cs.meta │ ├── EnumFlagAttribute.cs │ ├── AryzonCameraHandler.cs.meta │ ├── AryzonCanvasSafeArea.cs.meta │ ├── AryzonControllerUI.cs.meta │ ├── AryzonInputModule.cs.meta │ ├── AryzonMainPoseDriver.cs.meta │ ├── AryzonPoseDriver.cs.meta │ ├── AryzonRaycastObject.cs.meta │ ├── AryzonSettingsUI.cs.meta │ ├── EnumFlagAttribute.cs.meta │ ├── RotateWithCamera.cs.meta │ ├── AryzonCalibrationView.cs.meta │ ├── AryzonControllerButtonUI.cs.meta │ ├── AryzonControllerSetup.cs.meta │ ├── AryzonReticleAnimator.cs.meta │ ├── AryzonCardboardSubsystemLoader.cs.meta │ ├── IAryzonReticleInteractionDelegate.cs.meta │ ├── ARCameraShifter.cs.meta │ ├── EditorPoseProvider.cs.meta │ ├── InactivateAtStart.cs.meta │ ├── ScreenDimensionsAndroid.cs.meta │ ├── OpenUrl.cs.meta │ ├── AryzonManager.cs.meta │ ├── AryzonReticle.cs.meta │ ├── AryzonSettings.cs.meta │ ├── ARLensCorrection.cs.meta │ ├── AryzonCanvasUtility.cs.meta │ ├── AryzonHeadsetSetup.cs.meta │ ├── AryzonControllerManager.cs.meta │ ├── InactivateAtStart.cs │ ├── IAryzonReticleInteractionDelegate.cs │ ├── OpenUrl.cs │ ├── AryzonRaycastObject.cs │ ├── ARLensCorrection.cs │ ├── ViewCycle.cs │ ├── AryzonReticleAnimator.cs │ ├── ScreenDimensionsAndroid.cs │ ├── AryzonCanvasSafeArea.cs │ ├── AryzonPoseDriver.cs │ ├── AryzonSettingsUI.cs │ ├── RotateWithCamera.cs │ ├── AryzonControllerButtonUI.cs │ ├── AryzonControllerUI.cs │ ├── EditorPoseProvider.cs │ ├── AryzonConstants.cs │ ├── AryzonCardboardSubsystemLoader.cs │ └── AryzonCanvasUtility.cs ├── Aryzon.asmdef └── iOS │ ├── AryzonNativeInterface.mm.meta │ └── AryzonNativeInterface.mm ├── Extras ├── AryzonMRTK.unitypackage └── AryzonMRTK.unitypackage.meta ├── LICENSE.meta ├── README.md.meta ├── package.json.meta ├── Extras.meta ├── Resources.meta ├── Runtime.meta ├── EditorScripts.meta ├── Samples~ ├── Move With Camera.prefab.meta ├── Scripts.meta ├── Scenes │ ├── ARFoundation.meta │ ├── ARFoundation │ │ ├── ARFoundation.unity.meta │ │ ├── MarkerPrefab.prefab.meta │ │ ├── MarkerMaterial.mat.meta │ │ ├── AryzonMarkers.asset.meta │ │ ├── AryzonMarkers.asset │ │ ├── MarkerMaterial.mat │ │ ├── MarkerPrefab.prefab │ │ ├── PlaneMaterial.mat │ │ └── LineMaterial.mat │ ├── Rotational Tracking.meta │ └── Rotational Tracking │ │ ├── Rotational Tracking.unity.meta │ │ ├── Rotational TrackingSettings.lighting.meta │ │ └── Rotational TrackingSettings.lighting ├── Scenes.meta └── Scripts │ ├── RotateObject.cs.meta │ ├── SetTargetFrameRate.cs.meta │ ├── AryzonExampleRaycastHandler.cs.meta │ ├── AryzonExampleUIController.cs.meta │ ├── SetTargetFrameRate.cs │ ├── RotateObject.cs │ ├── AryzonExampleUIController.cs │ └── AryzonExampleRaycastHandler.cs ├── EditorScripts ├── Aryzon.EditorUI.asmdef.meta ├── EditorCoroutines.cs.meta ├── EnumFlagsAttributeDrawer.cs.meta ├── AryzonEditor.cs.meta ├── AryzonHierarchy.cs.meta ├── PostBuildProcessor.cs.meta ├── Aryzon.EditorUI.asmdef ├── AryzonHierarchy.cs ├── EnumFlagsAttributeDrawer.cs └── PostBuildProcessor.cs └── package.json /Resources/None.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Resources/None.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .DS_Store? 3 | .Spotlight-V100 4 | .Trashes 5 | ehthumbs.db 6 | Thumbs.db 7 | -------------------------------------------------------------------------------- /Runtime/Graphics/Back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/Back.png -------------------------------------------------------------------------------- /Runtime/Graphics/line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/line.png -------------------------------------------------------------------------------- /Runtime/Graphics/Aryzon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/Aryzon.png -------------------------------------------------------------------------------- /Runtime/Graphics/Divider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/Divider.png -------------------------------------------------------------------------------- /Runtime/Graphics/Line 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/Line 1.png -------------------------------------------------------------------------------- /Extras/AryzonMRTK.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Extras/AryzonMRTK.unitypackage -------------------------------------------------------------------------------- /Resources/LogoAryzonSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Resources/LogoAryzonSmall.png -------------------------------------------------------------------------------- /Resources/LogoAryzonSidebar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Resources/LogoAryzonSidebar.png -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonButton.png -------------------------------------------------------------------------------- /Runtime/Graphics/Aryzon_ICON.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/Aryzon_ICON.png -------------------------------------------------------------------------------- /Runtime/Graphics/CancelButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/CancelButton.png -------------------------------------------------------------------------------- /Runtime/Graphics/PutInAryzon.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/PutInAryzon.mp4 -------------------------------------------------------------------------------- /Runtime/Graphics/ReticleDot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/ReticleDot.png -------------------------------------------------------------------------------- /Runtime/Graphics/ReticleRing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/ReticleRing.png -------------------------------------------------------------------------------- /Runtime/Graphics/WideButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/WideButton.png -------------------------------------------------------------------------------- /Resources/LogoAryzonSmallLight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Resources/LogoAryzonSmallLight.png -------------------------------------------------------------------------------- /Runtime/Fonts/Montserrat-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Fonts/Montserrat-Light.ttf -------------------------------------------------------------------------------- /Runtime/Fonts/Montserrat-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Fonts/Montserrat-Medium.ttf -------------------------------------------------------------------------------- /Runtime/Graphics/SettingsWheel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/SettingsWheel.png -------------------------------------------------------------------------------- /Runtime/Graphics/CalibrateButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/CalibrateButton.png -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonButtonSimple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonButtonSimple.png -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonControllerBlack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonControllerBlack.png -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonControllerModeAX.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonControllerModeAX.png -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonControllerModeY.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonControllerModeY.png -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonControllerTurnOn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonControllerTurnOn.png -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonV3_MarkerImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonV3_MarkerImage.jpg -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonV4_MarkerImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonV4_MarkerImage.jpg -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonSmall_MarkerImage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aryzon/unity-sdk/HEAD/Runtime/Graphics/AryzonSmall_MarkerImage.jpg -------------------------------------------------------------------------------- /LICENSE.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9a26c5a5754c1406a8b6feb34e0a563f 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61a2fa7e52fe546f98f4c57101c119fe 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /package.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb7d4c976d6e64dc18772dc31494bba5 3 | PackageManifestImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Extras.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bad3397208fbe43e0831deb6713b7e9e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Extras/AryzonMRTK.unitypackage.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6aa48734cd42c42a7892c0ea71f4367e 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f9a205a8cf934b4395751c60af31ea9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c96a53cc94c74ef6b28e2708f0cae1a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Prefabs/Aryzon.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ab9ce51edb034ddbb22ddd003b53f29 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime/Prefabs/AryzonUI.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91f4a2dc0906b4fe09168afd04e6eed1 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime/Prefabs/Reticle.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0239fb0358e2d4505aa064fff73a5a46 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /EditorScripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 758152e265fde469facea59b3f17b333 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Aryzon.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f52f0b6cfdc94464bcc067a11c8e1b7 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: deffc0e2b202046329aaed56216b3479 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 100fa905d2e464732b1f4a6373601746 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Move With Camera.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a884208a5430460882a2f0d2c31eb6f 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5867421959ca14fa6911e7a3187c9109 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Graphics.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02b8569d6ecd546acb05aaf4c789ce38 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20acd359fef0d4ac0becb07d1296f1fa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ceb9f3d5046049d688f59752ccec590 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3cd57db5112f4337a04014277a3f90e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 535babd40700a4ecdb93a15b15d6bec6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Prefabs/AryzonInputController.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e3464631568764f278c02b60fbcbf69a 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /EditorScripts/Aryzon.EditorUI.asmdef.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9862fb52e810478aba4c947bcd2a2a4 3 | AssemblyDefinitionImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1e7fbca9f4fc41298adaa03d878a6dc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/ARFoundation.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9570c93186c4d4883b5905663c930386 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/MarkerPrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d7b2b143accea4012b6ff858885f423c 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Samples~/Scenes/Rotational Tracking.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cabe00148ceb34caf99809cb633b74fc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders/Reticle.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2d4c5f6ba5f44112953dab65bc990ea 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Scenes/Rotational Tracking/Rotational Tracking.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc073b9ec0589466e898fbe62eb19c07 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Runtime/Animations/ReticleClicked.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3fcec3d92c5194e2f99688c5090dfac7 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Animations/ReticleOff.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6adc2fc50b3bd4bc8a8ee9437cec6529 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Animations/ReticleOver.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b1a9422fd0664dc9bae0962f84a3ac2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 7400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Graphics/PutInAryzonTexture.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 085d18941deff4ef1a370fb6f8d31dc2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 0 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Animations/ReticleController.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 832b250726e914adaaf6b22760582877 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 9100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/MarkerMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05d448fd74fcb4a29ab18a70e3254ae7 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders/UIOverlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 185fff4188994480b8cd5c8118b0137e 3 | timeCreated: 1485345827 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/AryzonMarkers.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15d058a8feaca4f95a8384e5f8c1fc5b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Samples~/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a96356c430f4849e9bf6f8834f9e93c5 3 | folderAsset: yes 4 | timeCreated: 1525729762 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Samples~/Scenes/Rotational Tracking/Rotational TrackingSettings.lighting.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58e51f614c2074953aacf7d74b8cadcb 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 4890085278179872738 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Runtime/Shaders/LensCorrection.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 78b8b19d5a9d44fd8bda9c80b73f2f95 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | preprocessorOverride: 0 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Graphics/PutInAryzonTexture.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9404e54bbdc7a4cb9be8c5b06bda814b 3 | timeCreated: 1525271446 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | externalObjects: {} 7 | mainObjectFileID: 8600000 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Runtime/Scripts/Aryzon2DUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1fb4a3d18e9f747ef8c8030d4a73d46d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/ViewCycle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60fccb8e82aa941a991c8ca6d07cc98f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /EditorScripts/EditorCoroutines.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83a583e08e90847c8911223c90858859 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonConstants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0d3d97cc8ae64f088530ef85fd889c9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/EnumFlagAttribute.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | namespace Aryzon.UI { 3 | public class EnumFlagAttribute : PropertyAttribute 4 | { 5 | public int columnCount; 6 | public EnumFlagAttribute(int rowCount) 7 | { 8 | this.columnCount = rowCount; 9 | } 10 | } 11 | } -------------------------------------------------------------------------------- /Samples~/Scripts/RotateObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e09496c0819bf44279f96f3e77681b87 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonCameraHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02f4e85c473874d429a9eb6b91b797fe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonCanvasSafeArea.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4cd1abeb5a1bb40edb82912d1c3c8764 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonControllerUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b8940512b7724324adee49958fcc09b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonInputModule.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f217ce79e112f4b28ab404297492055a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonMainPoseDriver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bca09e85dd534eed99f14ea5b89490a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonPoseDriver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: abe9a2efbcc9e442287847a6995b0d1c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonRaycastObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26745b9be8863409ea98e5cb989b49e4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonSettingsUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b72f2af9426c14180bf85388d4ee0602 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/EnumFlagAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca519139809584483a410b60e71e89b1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/RotateWithCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0953f795d816446c19c65ac129805cf3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Samples~/Scripts/SetTargetFrameRate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28f5cd90332e34b25ad278d73b889808 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /EditorScripts/EnumFlagsAttributeDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 801cc65d209fb40228ecc66a97697af8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonCalibrationView.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b570664ba68d94c1badd10bf5b5e5bb6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonControllerButtonUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1217eec6961648eba60bf893e5eefcf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonControllerSetup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 592e67490e71d46238a8fc1a43c9d3d5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonReticleAnimator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21b61062b1fe3452a85ea9998ab5b878 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonCardboardSubsystemLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a83c79a9d6a2d46228c060112e249f3f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Samples~/Scripts/AryzonExampleRaycastHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 914c07f9b682840a4bc98d16f3895372 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Samples~/Scripts/AryzonExampleUIController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddca88aabdb6844a198ddd85f501bc02 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/IAryzonReticleInteractionDelegate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 175e16d62110244ba9785112d3af0d15 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Samples~/Scripts/SetTargetFrameRate.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class SetTargetFrameRate : MonoBehaviour 6 | { 7 | // Start is called before the first frame update 8 | void Start() 9 | { 10 | Application.targetFrameRate = 60; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Runtime/Scripts/ARCameraShifter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3caa19653e08d4f729321e597e75d8a7 3 | timeCreated: 1496755058 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Runtime/Scripts/EditorPoseProvider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ebae809adfcc4be987f7c8be90a324a 3 | timeCreated: 1496755058 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Runtime/Scripts/InactivateAtStart.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc5cfb03c75e44fc2ab09a93fa5a65e9 3 | timeCreated: 1498224770 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Runtime/Scripts/ScreenDimensionsAndroid.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e3062de3e50a4a48bf8296824d9c093 3 | timeCreated: 1499847236 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Runtime/Scripts/OpenUrl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 420592fefce2d44ae8ff22bd9eacab3e 3 | timeCreated: 1525724556 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /EditorScripts/AryzonEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e8090897366e47189ccab67ec2d9570 3 | timeCreated: 1527846707 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /EditorScripts/AryzonHierarchy.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8534b3f2fe4dc43c583798e8368c7b36 3 | timeCreated: 1527859519 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a206fc8d5ca994800b0d2f4e9dd78f08 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: fece81bc77992489f931eeceeb845ac3, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonReticle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0df37c9ef33444fd8e2249cc6f8b46c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: fece81bc77992489f931eeceeb845ac3, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51b71f3d5177248acb65047c94c8558b 3 | timeCreated: 1524507189 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /EditorScripts/PostBuildProcessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37862caef00964affbfd1bdaa69d7fa7 3 | timeCreated: 1521712879 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Runtime/Scripts/ARLensCorrection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c1c438b430d546558304b19408876d9 3 | timeCreated: 1524475318 4 | licenseType: Pro 5 | MonoImporter: 6 | externalObjects: {} 7 | serializedVersion: 2 8 | defaultReferences: [] 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonCanvasUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9362efe3142394a2bafeb2a6ac0c3bc4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: fece81bc77992489f931eeceeb845ac3, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonHeadsetSetup.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1bee3e73b9ed54c8e8aee308ba580f88 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: fece81bc77992489f931eeceeb845ac3, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonControllerManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a38f3961c31c3429f9cd6bb6a758247b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {fileID: 2800000, guid: fece81bc77992489f931eeceeb845ac3, type: 3} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Runtime/Scripts/InactivateAtStart.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class InactivateAtStart : MonoBehaviour { 6 | 7 | // Use this for initialization 8 | void Start () { 9 | gameObject.SetActive (false); 10 | } 11 | 12 | // Update is called once per frame 13 | void Update () { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Samples~/Scripts/RotateObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; using System.Collections; public class RotateObject : MonoBehaviour { public float speed = 10f; public bool rotateX = false; public bool rotateY = false; public bool rotateZ = false; void Update () { if (rotateX) transform.Rotate (speed * Time.deltaTime, 0, 0); if (rotateY) transform.Rotate (0, speed * Time.deltaTime, 0); if (rotateZ) transform.Rotate (0, 0, speed * Time.deltaTime); } } -------------------------------------------------------------------------------- /EditorScripts/Aryzon.EditorUI.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Aryzon.EditorUI", 3 | "rootNamespace": "", 4 | "references": [ 5 | "GUID:2f52f0b6cfdc94464bcc067a11c8e1b7" 6 | ], 7 | "includePlatforms": ["Editor"], 8 | "excludePlatforms": [], 9 | "allowUnsafeCode": false, 10 | "overrideReferences": false, 11 | "precompiledReferences": [], 12 | "autoReferenced": true, 13 | "defineConstraints": [], 14 | "versionDefines": [], 15 | "noEngineReferences": false 16 | } -------------------------------------------------------------------------------- /Runtime/Aryzon.asmdef: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Aryzon", 3 | "references": [ 4 | "Unity.XR.Management", 5 | "UnityEngine.SpatialTracking", 6 | "UnityEngine.XR.LegacyInputHelpers", 7 | "Google.XR.Cardboard", 8 | "Unity.XR.ARFoundation" 9 | ], 10 | "optionalUnityReferences": [], 11 | "includePlatforms": [], 12 | "excludePlatforms": [], 13 | "allowUnsafeCode": false, 14 | "overrideReferences": false, 15 | "precompiledReferences": [], 16 | "autoReferenced": true, 17 | "defineConstraints": [] 18 | } 19 | -------------------------------------------------------------------------------- /Runtime/Scripts/IAryzonReticleInteractionDelegate.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.EventSystems; 5 | 6 | namespace Aryzon 7 | { 8 | public interface IAryzonReticleInteractionDelegate 9 | { 10 | public bool IsInteractable(GameObject raycastObject); 11 | 12 | public void PointerUp(GameObject raycastObject); 13 | public void PointerDown(GameObject raycastObject); 14 | public void PointerOver(GameObject raycastObject); 15 | public void PointerOff(GameObject raycastObject); 16 | } 17 | } -------------------------------------------------------------------------------- /Runtime/Graphics/PutInAryzon.mp4.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9d7c82319cbd44eaa362f853e955da9 3 | VideoClipImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | frameRange: 0 7 | startFrame: -1 8 | endFrame: -1 9 | colorSpace: 0 10 | deinterlace: 0 11 | encodeAlpha: 0 12 | flipVertical: 0 13 | flipHorizontal: 0 14 | importAudio: 0 15 | targetSettings: 16 | 0: 17 | enableTranscoding: 0 18 | codec: 0 19 | resizeFormat: 0 20 | aspectRatio: 5 21 | customWidth: 1920 22 | customHeight: 1332 23 | bitrateMode: 2 24 | spatialQuality: 0 25 | userData: 26 | assetBundleName: 27 | assetBundleVariant: 28 | -------------------------------------------------------------------------------- /Runtime/Scripts/OpenUrl.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class OpenUrl : MonoBehaviour 6 | { 7 | public string url = "https://www.a-noble-squid.com"; 8 | 9 | public void Trigger() 10 | { 11 | if(url.Contains("http://") == false && url.Contains("https://") == false) 12 | { 13 | url = "http://" + url; 14 | Debug.LogWarning("The provided url on " + gameObject.name + " did not contain 'http' or 'https' - please provide the correct url format. 'http' was automatically prepended."); 15 | } 16 | Application.OpenURL(url); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "com.aryzon.unity-sdk", 3 | "displayName": "Aryzon MR Headset Plugin", 4 | "version": "4.2.7", 5 | "unity": "2019.3", 6 | "description": "Provides UI, user input (reticle) and controller support for Aryzon XR experiences. It is recommended to combine this with the Aryzon fork of the Google Cardboard SDK found here: https://github.com/Aryzon/cardboard-xr-plugin/.", 7 | "keywords": [ 8 | "aryzon", 9 | "6dof", 10 | "cardboard", 11 | "ar", 12 | "vr", 13 | "xr", 14 | "reality" 15 | ], 16 | "dependencies": { 17 | }, 18 | "samples": [ 19 | { 20 | "displayName": "Aryzon Examples", 21 | "description": "ARFoundation and gyro based example", 22 | "path": "Samples~" 23 | } 24 | ] 25 | } 26 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonRaycastObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.Events; 3 | 4 | namespace Aryzon 5 | { 6 | [RequireComponent(typeof(Collider))] 7 | public class AryzonRaycastObject : MonoBehaviour 8 | { 9 | public UnityEvent OnPointerDown; 10 | public UnityEvent OnPointerUp; 11 | public UnityEvent OnPointerOver; 12 | public UnityEvent OnPointerOff; 13 | 14 | public void PointerDown() 15 | { 16 | OnPointerDown.Invoke(); 17 | } 18 | 19 | public void PointerUp() 20 | { 21 | OnPointerUp.Invoke(); 22 | } 23 | 24 | public void PointerOver() 25 | { 26 | OnPointerOver.Invoke(); 27 | } 28 | 29 | public void PointerOff() 30 | { 31 | OnPointerOff.Invoke(); 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /Runtime/iOS/AryzonNativeInterface.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab0f8fc93aa0e4af5a4f0d9fd342575b 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 1 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | iPhone: iOS 27 | second: 28 | enabled: 1 29 | settings: {} 30 | - first: 31 | tvOS: tvOS 32 | second: 33 | enabled: 1 34 | settings: {} 35 | userData: 36 | assetBundleName: 37 | assetBundleVariant: 38 | -------------------------------------------------------------------------------- /EditorScripts/AryzonHierarchy.cs: -------------------------------------------------------------------------------- 1 | using System.Linq; 2 | using UnityEditor; 3 | using UnityEngine; 4 | [InitializeOnLoad] 5 | public class AryzonHierarchy : MonoBehaviour 6 | { 7 | static AryzonHierarchy() 8 | { 9 | EditorApplication.hierarchyWindowItemOnGUI += HandleHierarchyWindowItemOnGUI; 10 | } 11 | private static void HandleHierarchyWindowItemOnGUI(int instanceID, Rect selectionRect) 12 | { 13 | var obj = EditorUtility.InstanceIDToObject(instanceID); 14 | if (obj != null) { 15 | if (obj.name == "Aryzon") { 16 | Texture logo = Resources.Load("LogoAryzonSmall") as Texture; 17 | int logoSize = (int)(0.8f*selectionRect.height); 18 | int y = (int)(selectionRect.y+(selectionRect.height - logoSize)/2f); 19 | GUI.DrawTexture(new Rect(selectionRect.x + selectionRect.width - logoSize - 5, y, logoSize, logoSize), logo, ScaleMode.ScaleToFit, true); 20 | } 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /Runtime/Graphics/PutInAryzonTexture.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: PutInAryzonTexture 10 | m_ImageContentsHash: 11 | serializedVersion: 2 12 | Hash: 00000000000000000000000000000000 13 | m_ForcedFallbackFormat: 4 14 | m_DownscaleFallback: 0 15 | serializedVersion: 3 16 | m_Width: 655 17 | m_Height: 655 18 | m_AntiAliasing: 1 19 | m_MipCount: -1 20 | m_DepthFormat: 1 21 | m_ColorFormat: 8 22 | m_MipMap: 0 23 | m_GenerateMips: 1 24 | m_SRGB: 0 25 | m_UseDynamicScale: 0 26 | m_BindMS: 0 27 | m_EnableCompatibleFormat: 0 28 | m_TextureSettings: 29 | serializedVersion: 2 30 | m_FilterMode: 1 31 | m_Aniso: 0 32 | m_MipBias: 0 33 | m_WrapU: 1 34 | m_WrapV: 1 35 | m_WrapW: 1 36 | m_Dimension: 2 37 | m_VolumeDepth: 1 38 | -------------------------------------------------------------------------------- /Runtime/iOS/AryzonNativeInterface.mm: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | extern "C" { 4 | void setBrightnessToHighest() { 5 | [[UIScreen mainScreen] setBrightness:1.0]; 6 | } 7 | } 8 | 9 | extern "C" { 10 | void setBrightnessToValue(float value) { 11 | [[UIScreen mainScreen] setBrightness:value]; 12 | } 13 | } 14 | 15 | extern "C" { 16 | float getBrightness() { 17 | return (float)[[UIScreen mainScreen] brightness]; 18 | } 19 | } 20 | 21 | extern "C" { 22 | void callApp() { 23 | NSString *customURL = @"aryzon://"; 24 | 25 | if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:customURL]]) 26 | { 27 | [[UIApplication sharedApplication] openURL:[NSURL URLWithString:customURL]]; 28 | } else { 29 | [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://itunes.apple.com/nl/app/aryzon/id1288276519?l=en&mt=8"]]; 30 | } 31 | } 32 | } 33 | 34 | extern "C" { 35 | int getControllerConnectionStatus() { 36 | if (@available(iOS 14.0, *)) { 37 | return (int)(GCKeyboard.coalescedKeyboard != nil); 38 | } else { 39 | return 2; // Unknown connection status 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /Runtime/Fonts/Montserrat-Light.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c39c51da355af4d059caea3aa52caaa9 3 | timeCreated: 1518603581 4 | licenseType: Pro 5 | TrueTypeFontImporter: 6 | externalObjects: {} 7 | serializedVersion: 4 8 | fontSize: 16 9 | forceTextureCase: -2 10 | characterSpacing: 0 11 | characterPadding: 1 12 | includeFontData: 1 13 | fontName: Montserrat 14 | fontNames: 15 | - Montserrat 16 | fallbackFontReferences: 17 | - {fileID: 12800000, guid: 36b3b0a15600d4de887e54b23efb9499, type: 3} 18 | - {fileID: 12800000, guid: 18fd03c22a74d4c36ad0b3c97adb3c1f, type: 3} 19 | - {fileID: 12800000, guid: a987d15502f234bae9c0f0e5909b0a2d, type: 3} 20 | - {fileID: 12800000, guid: 890c51c6ae6f24187af5880e46f18eae, type: 3} 21 | - {fileID: 12800000, guid: c0ceea4ababab4dce89482f9fa9c382e, type: 3} 22 | - {fileID: 12800000, guid: 482a7a2ba151841a980d8637939356eb, type: 3} 23 | - {fileID: 12800000, guid: 9e1ed87b23c4e4a82b38685db201de94, type: 3} 24 | - {fileID: 12800000, guid: 20123e9bcade6485aa1f36d1e4a491a8, type: 3} 25 | - {fileID: 12800000, guid: 74fba37c6c5924ad7b359b2a74b63b65, type: 3} 26 | - {fileID: 12800000, guid: 40d41b7eff3054d368fe4d4e02e62087, type: 3} 27 | - {fileID: 12800000, guid: 975ef1be27e1d45a0aec9226b086c3ff, type: 3} 28 | customCharacters: 29 | fontRenderingMode: 0 30 | ascentCalculationMode: 1 31 | useLegacyBoundsCalculation: 0 32 | userData: 33 | assetBundleName: 34 | assetBundleVariant: 35 | -------------------------------------------------------------------------------- /Runtime/Shaders/LensCorrection.shader: -------------------------------------------------------------------------------- 1 | Shader "Aryzon/LensCorrection" { 2 | Properties { 3 | _MainTex ("RGB", 2D) = "" {} 4 | } 5 | Subshader { 6 | Cull Off ZTest Always ZWrite Off 7 | ColorMask RGB 8 | 9 | Pass { 10 | 11 | CGPROGRAM 12 | #pragma vertex vert_img 13 | #pragma fragment frag 14 | 15 | #include "UnityCG.cginc" 16 | 17 | sampler2D _MainTex; 18 | uniform float _X; 19 | uniform float _Y; 20 | uniform float _BarrelDistortion; 21 | 22 | float2 barrelDistortion(float2 uv) 23 | { 24 | float2 k = uv.xy - 0.5; 25 | float r2 = (k.x + _X) * (k.x + _X) + (k.y + _Y) * (k.y + _Y); 26 | float l = 1 + r2 * (_BarrelDistortion * sqrt(r2)); 27 | 28 | return k*l + 0.5; 29 | } 30 | 31 | float4 frag (v2f_img i) : SV_Target 32 | { 33 | half2 uv = i.uv; 34 | float4 screen = tex2D(_MainTex, uv); 35 | if (_BarrelDistortion > 0) { 36 | uv = barrelDistortion(uv); 37 | } 38 | half2 red = 1.01*uv - 0.005; 39 | half2 green = 1.02*uv - 0.01; 40 | half2 blue = 1.04*uv - 0.02; 41 | 42 | if (uv.x < 0 || uv.x > 1 || uv.y < 0 || uv.y > 1) { 43 | screen.r = 0; 44 | screen.g = 0; 45 | screen.b = 0; 46 | } else { 47 | screen.r = tex2D(_MainTex, red).r; 48 | screen.g = tex2D(_MainTex, green).g; 49 | screen.b = tex2D(_MainTex, blue).b; 50 | } 51 | return screen; 52 | } 53 | ENDCG 54 | } 55 | } 56 | Fallback off 57 | } -------------------------------------------------------------------------------- /Runtime/Graphics/PutInAryzonTexture.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!86 &8600000 4 | CustomRenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: PutInAryzonTexture 10 | m_ImageContentsHash: 11 | serializedVersion: 2 12 | Hash: 00000000000000000000000000000000 13 | m_ForcedFallbackFormat: 4 14 | m_DownscaleFallback: 0 15 | serializedVersion: 3 16 | m_Width: 750 17 | m_Height: 600 18 | m_AntiAliasing: 1 19 | m_MipCount: -1 20 | m_DepthFormat: 0 21 | m_ColorFormat: 8 22 | m_MipMap: 0 23 | m_GenerateMips: 1 24 | m_SRGB: 0 25 | m_UseDynamicScale: 0 26 | m_BindMS: 0 27 | m_EnableCompatibleFormat: 1 28 | m_TextureSettings: 29 | serializedVersion: 2 30 | m_FilterMode: 1 31 | m_Aniso: 1 32 | m_MipBias: 0 33 | m_WrapU: 1 34 | m_WrapV: 1 35 | m_WrapW: 1 36 | m_Dimension: 2 37 | m_VolumeDepth: 1 38 | m_Material: {fileID: 2100000, guid: 9830fbb9154234214a27d17031ed49fa, type: 2} 39 | m_InitSource: 0 40 | m_InitMaterial: {fileID: 0} 41 | m_InitColor: {r: 1, g: 1, b: 1, a: 1} 42 | m_InitTexture: {fileID: 0} 43 | m_UpdateMode: 0 44 | m_InitializationMode: 2 45 | m_UpdateZoneSpace: 0 46 | m_CurrentUpdateZoneSpace: 0 47 | m_UpdateZones: [] 48 | m_UpdatePeriod: 0 49 | m_ShaderPass: 0 50 | m_CubemapFaceMask: 4294967295 51 | m_DoubleBuffered: 0 52 | m_WrapUpdateZones: 0 53 | -------------------------------------------------------------------------------- /Runtime/Scripts/ARLensCorrection.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | [ExecuteInEditMode] 6 | public class ARLensCorrection : MonoBehaviour { 7 | 8 | public Shader lensShader; 9 | private Material material; 10 | 11 | private Vector2 shift = Vector2.zero; 12 | private float barrelDistortion = 0.0f; 13 | private Vector3 colorCorrection = Vector3.one; 14 | 15 | public void setShift (Vector2 value) { 16 | shift = value; 17 | } 18 | 19 | public void setDistortion (float value) { 20 | barrelDistortion = value; 21 | } 22 | 23 | public void setColorCorrection (Vector3 value) { 24 | colorCorrection = value; 25 | } 26 | 27 | void OnRenderImage (RenderTexture sourceTexture, RenderTexture destTexture) 28 | { 29 | if(lensShader != null) 30 | { 31 | if (material == null) { 32 | material = new Material (lensShader); 33 | } 34 | 35 | material.SetFloat ("_X", shift.x); 36 | material.SetFloat ("_Y", shift.y); 37 | material.SetFloat ("_BarrelDistortion", barrelDistortion); 38 | material.SetFloat ("_R", colorCorrection.x); 39 | material.SetFloat ("_G", colorCorrection.y); 40 | material.SetFloat ("_B", colorCorrection.z); 41 | 42 | Graphics.Blit(sourceTexture, destTexture, material); 43 | 44 | } 45 | else 46 | { 47 | Graphics.Blit(sourceTexture, destTexture); 48 | material = null; 49 | } 50 | } 51 | 52 | void OnDisable () 53 | { 54 | if(material) 55 | { 56 | DestroyImmediate(material); 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Runtime/Scripts/ViewCycle.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Aryzon 6 | { 7 | public class ViewCycle : MonoBehaviour 8 | { 9 | public List cycleObjects; 10 | public float cycleTime = 2f; 11 | 12 | private GameObject currentObject; 13 | private float timer = 0f; 14 | 15 | void Update() 16 | { 17 | if (cycleObjects.Count == 0) return; 18 | if (timer > cycleTime) 19 | { 20 | timer = 0f; 21 | int index = cycleObjects.IndexOf(currentObject) + 1; 22 | if (index == cycleObjects.Count) index = 0; 23 | 24 | for (int i=0;i 0) 37 | { 38 | foreach (GameObject obj in cycleObjects) 39 | { 40 | obj.SetActive(false); 41 | } 42 | 43 | currentObject = cycleObjects[0]; 44 | currentObject.SetActive(true); 45 | timer = 0f; 46 | } 47 | } 48 | } 49 | } -------------------------------------------------------------------------------- /Samples~/Scripts/AryzonExampleUIController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using UnityEngine.Events; 6 | using Aryzon; 7 | public class AryzonExampleUIController : MonoBehaviour 8 | { 9 | public GameObject UI; 10 | 11 | private UnityAction onStartAryzonMode; 12 | private UnityAction onStopAryzonMode; 13 | 14 | private void Awake() 15 | { 16 | onStartAryzonMode = OnStartAryzonMode; 17 | onStopAryzonMode = OnStopAryzonMode; 18 | } 19 | 20 | private void Start() 21 | { 22 | if (AryzonSettings.Instance.aryzonManager) 23 | { 24 | AryzonSettings.Instance.aryzonManager.onStart.AddListener(onStartAryzonMode); 25 | AryzonSettings.Instance.aryzonManager.onStop.AddListener(OnStopAryzonMode); 26 | } 27 | } 28 | 29 | private void OnStartAryzonMode() 30 | { 31 | UI.SetActive(false); 32 | } 33 | 34 | private void OnStopAryzonMode() 35 | { 36 | UI.SetActive(true); 37 | } 38 | 39 | private void OnDestroy() 40 | { 41 | if (AryzonSettings.Instance && AryzonSettings.Instance.aryzonManager) 42 | { 43 | AryzonSettings.Instance.aryzonManager.onStart.RemoveListener(onStartAryzonMode); 44 | AryzonSettings.Instance.aryzonManager.onStop.RemoveListener(OnStopAryzonMode); 45 | } 46 | } 47 | 48 | public void StartAryzonMode() 49 | { 50 | AryzonSettings.Instance.aryzonManager.StartAryzonMode(); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/AryzonMarkers.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: 848409ee8ba454f42a5ddff137688a27, type: 3} 13 | m_Name: AryzonMarkers 14 | m_EditorClassIdentifier: 15 | m_GuidLow: 5642159201967097778 16 | m_GuidHigh: 11275329228326374074 17 | m_Images: 18 | - m_SerializedGuid: 19 | m_GuidLow: 5025475094478170245 20 | m_GuidHigh: 16152224469557073799 21 | m_SerializedTextureGuid: 22 | m_GuidLow: 8416443615619699426 23 | m_GuidHigh: 3176537698258104266 24 | m_Size: {x: 0.175, y: 0.175} 25 | m_SpecifySize: 1 26 | m_Name: AryzonV4_MarkerImage 27 | m_Texture: {fileID: 0} 28 | - m_SerializedGuid: 29 | m_GuidLow: 5408885647195389609 30 | m_GuidHigh: 11512214393213788801 31 | m_SerializedTextureGuid: 32 | m_GuidLow: 2599590304183646119 33 | m_GuidHigh: 2770761289249466920 34 | m_Size: {x: 0.192, y: 0.192} 35 | m_SpecifySize: 1 36 | m_Name: AryzonV3_MarkerImage 37 | m_Texture: {fileID: 0} 38 | - m_SerializedGuid: 39 | m_GuidLow: 4680873592185567729 40 | m_GuidHigh: 17239703872690332553 41 | m_SerializedTextureGuid: 42 | m_GuidLow: 17587236248051197945 43 | m_GuidHigh: 13675583863329467288 44 | m_Size: {x: 0.14, y: 0.14} 45 | m_SpecifySize: 1 46 | m_Name: AryzonSmall_MarkerImage 47 | m_Texture: {fileID: 0} 48 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonReticleAnimator.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class AryzonReticleAnimator : MonoBehaviour 4 | { 5 | public Animator reticleAnimator; 6 | public float defaultDistance = 0.7f; 7 | 8 | private int state = 0; 9 | public int State 10 | { 11 | get => state; 12 | } 13 | 14 | private int previousState = 0; 15 | 16 | private void Start() 17 | { 18 | SetOffState(); 19 | } 20 | 21 | public void SetOffState() 22 | { 23 | state = 0; 24 | } 25 | 26 | public void SetOverState() 27 | { 28 | state = 1; 29 | } 30 | 31 | public void SetClickedState() 32 | { 33 | state = 2; 34 | } 35 | 36 | private void Update() 37 | { 38 | if (previousState != state) 39 | { 40 | reticleAnimator.SetInteger("state", state); 41 | previousState = state; 42 | } 43 | } 44 | 45 | public void SetPose(Pose p) 46 | { 47 | transform.position = p.position; 48 | float z = Mathf.Max(defaultDistance, transform.localPosition.z); 49 | Vector3 zScale = Vector3.one * (z / defaultDistance); 50 | 51 | transform.localScale = zScale; 52 | } 53 | 54 | public void SetDefaultPose() 55 | { 56 | SetDistance(defaultDistance); 57 | } 58 | 59 | public void SetDistance(float distance) 60 | { 61 | float z = Mathf.Max(defaultDistance, distance); 62 | 63 | Vector3 zScale = Vector3.one * (z / defaultDistance); 64 | 65 | transform.localPosition = new Vector3(0f, 0f, z); 66 | transform.localScale = zScale; 67 | } 68 | } -------------------------------------------------------------------------------- /Runtime/Scripts/ScreenDimensionsAndroid.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class ScreenDimensionsAndroid { 4 | 5 | //public static float dpiX { get; protected set; } 6 | public static float dpiY { get; protected set; } 7 | public static int pixelsX { get; protected set; } 8 | public static int pixelsY { get; protected set; } 9 | 10 | static ScreenDimensionsAndroid() { 11 | 12 | if (Application.platform != RuntimePlatform.Android) { 13 | return; 14 | } 15 | 16 | using ( 17 | AndroidJavaClass unityPlayerClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer"), 18 | metricsClass = new AndroidJavaClass("android.util.DisplayMetrics") 19 | ) { 20 | using ( 21 | AndroidJavaObject metricsInstance = new AndroidJavaObject("android.util.DisplayMetrics"), 22 | realMetricsInstance = new AndroidJavaObject("android.util.DisplayMetrics"), 23 | activityInstance = unityPlayerClass.GetStatic("currentActivity"), 24 | windowManagerInstance = activityInstance.Call("getWindowManager"), 25 | displayInstance = windowManagerInstance.Call("getDefaultDisplay") 26 | ) { 27 | displayInstance.Call("getMetrics", metricsInstance); 28 | displayInstance.Call("getRealMetrics", realMetricsInstance); 29 | 30 | dpiY = metricsInstance.Get("ydpi"); 31 | 32 | pixelsX = realMetricsInstance.Get("widthPixels"); 33 | pixelsY = realMetricsInstance.Get("heightPixels"); 34 | 35 | float dpi = realMetricsInstance.Get("ydpi"); 36 | int densityDPI = metricsInstance.Get ("densityDpi"); 37 | int realDensityDPI = realMetricsInstance.Get ("densityDpi"); 38 | 39 | 40 | if ((densityDPI != realDensityDPI) && ((int)dpi == realDensityDPI)) { 41 | dpiY = densityDPI; 42 | } 43 | } 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Runtime/Fonts/Montserrat-Medium.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcbe65e6fd81247b7b8f5f8eded5366c 3 | timeCreated: 1518603581 4 | licenseType: Pro 5 | TrueTypeFontImporter: 6 | externalObjects: {} 7 | serializedVersion: 4 8 | fontSize: 16 9 | forceTextureCase: -2 10 | characterSpacing: 0 11 | characterPadding: 1 12 | includeFontData: 1 13 | fontName: Montserrat 14 | fontNames: 15 | - Montserrat 16 | fallbackFontReferences: 17 | - {fileID: 12800000, guid: e97b4e400f1d14968afb283aa2c0969e, type: 3} 18 | - {fileID: 12800000, guid: 36b3b0a15600d4de887e54b23efb9499, type: 3} 19 | - {fileID: 12800000, guid: fa325f1236fe64cc1a234bc72f6731f0, type: 3} 20 | - {fileID: 12800000, guid: 18fd03c22a74d4c36ad0b3c97adb3c1f, type: 3} 21 | - {fileID: 12800000, guid: dc0de763491854d2587a1d1ee6903986, type: 3} 22 | - {fileID: 12800000, guid: f29dd7444ad744a93a93286fb4380944, type: 3} 23 | - {fileID: 12800000, guid: a987d15502f234bae9c0f0e5909b0a2d, type: 3} 24 | - {fileID: 12800000, guid: 890c51c6ae6f24187af5880e46f18eae, type: 3} 25 | - {fileID: 12800000, guid: c0ceea4ababab4dce89482f9fa9c382e, type: 3} 26 | - {fileID: 12800000, guid: d28fcf7ae93af4992bfa54f37d588b4c, type: 3} 27 | - {fileID: 12800000, guid: c39c51da355af4d059caea3aa52caaa9, type: 3} 28 | - {fileID: 12800000, guid: 482a7a2ba151841a980d8637939356eb, type: 3} 29 | - {fileID: 12800000, guid: 9e1ed87b23c4e4a82b38685db201de94, type: 3} 30 | - {fileID: 12800000, guid: 20123e9bcade6485aa1f36d1e4a491a8, type: 3} 31 | - {fileID: 12800000, guid: 74fba37c6c5924ad7b359b2a74b63b65, type: 3} 32 | - {fileID: 12800000, guid: 40d41b7eff3054d368fe4d4e02e62087, type: 3} 33 | - {fileID: 12800000, guid: 975ef1be27e1d45a0aec9226b086c3ff, type: 3} 34 | customCharacters: 35 | fontRenderingMode: 0 36 | ascentCalculationMode: 1 37 | useLegacyBoundsCalculation: 0 38 | userData: 39 | assetBundleName: 40 | assetBundleVariant: 41 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonCanvasSafeArea.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class AryzonCanvasSafeArea : MonoBehaviour 4 | { 5 | public bool simulateInEditor = false; 6 | #if !UNITY_WSA 7 | RectTransform Panel; 8 | Rect LastSafeArea = new Rect(0, 0, 0, 0); 9 | 10 | void Awake() 11 | { 12 | Panel = GetComponent(); 13 | Refresh(); 14 | } 15 | 16 | void Update() 17 | { 18 | Refresh(); 19 | } 20 | 21 | void Refresh() 22 | { 23 | Rect safeArea = GetSafeArea(); 24 | 25 | if (safeArea != LastSafeArea) 26 | ApplySafeArea(safeArea); 27 | } 28 | 29 | Rect GetSafeArea() 30 | { 31 | #if UNITY_EDITOR 32 | if (simulateInEditor) 33 | { 34 | Rect r = Screen.safeArea; 35 | float notch = 0.075f; 36 | float bottom = 0.025f; 37 | float sizeY = r.size.y; 38 | r.size = new Vector2(r.size.x, sizeY*(1f - (notch+bottom))); 39 | r.position = new Vector2(r.position.x, r.position.y + sizeY * bottom); 40 | return r; 41 | } 42 | #endif 43 | return Screen.safeArea; 44 | } 45 | 46 | void ApplySafeArea(Rect r) 47 | { 48 | LastSafeArea = r; 49 | 50 | // Convert safe area rectangle from absolute pixels to normalised anchor coordinates 51 | Vector2 anchorMin = r.position; 52 | Vector2 anchorMax = r.position + r.size; 53 | anchorMin.x /= Screen.width; 54 | anchorMin.y /= Screen.height; 55 | anchorMax.x /= Screen.width; 56 | anchorMax.y /= Screen.height; 57 | Panel.anchorMin = anchorMin; 58 | Panel.anchorMax = anchorMax; 59 | 60 | Debug.LogFormat("New safe area applied to {0}: x={1}, y={2}, w={3}, h={4} on full extents w={5}, h={6}", 61 | name, r.x, r.y, r.width, r.height, Screen.width, Screen.height); 62 | } 63 | #endif 64 | } -------------------------------------------------------------------------------- /Samples~/Scenes/Rotational Tracking/Rotational TrackingSettings.lighting: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!850595691 &4890085278179872738 4 | LightingSettings: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_Name: Rotational TrackingSettings 10 | serializedVersion: 3 11 | m_GIWorkflowMode: 0 12 | m_EnableBakedLightmaps: 1 13 | m_EnableRealtimeLightmaps: 0 14 | m_RealtimeEnvironmentLighting: 1 15 | m_BounceScale: 1 16 | m_AlbedoBoost: 1 17 | m_IndirectOutputScale: 1 18 | m_UsingShadowmask: 1 19 | m_BakeBackend: 1 20 | m_LightmapMaxSize: 1024 21 | m_BakeResolution: 40 22 | m_Padding: 2 23 | m_TextureCompression: 1 24 | m_AO: 0 25 | m_AOMaxDistance: 1 26 | m_CompAOExponent: 1 27 | m_CompAOExponentDirect: 0 28 | m_ExtractAO: 0 29 | m_MixedBakeMode: 2 30 | m_LightmapsBakeMode: 1 31 | m_FilterMode: 1 32 | m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000, type: 0} 33 | m_ExportTrainingData: 0 34 | m_TrainingDataDestination: TrainingData 35 | m_RealtimeResolution: 2 36 | m_ForceWhiteAlbedo: 0 37 | m_ForceUpdates: 0 38 | m_FinalGather: 0 39 | m_FinalGatherRayCount: 256 40 | m_FinalGatherFiltering: 1 41 | m_PVRCulling: 1 42 | m_PVRSampling: 1 43 | m_PVRDirectSampleCount: 32 44 | m_PVRSampleCount: 500 45 | m_PVREnvironmentSampleCount: 500 46 | m_PVREnvironmentReferencePointCount: 2048 47 | m_LightProbeSampleCountMultiplier: 4 48 | m_PVRBounces: 2 49 | m_PVRMinBounces: 2 50 | m_PVREnvironmentMIS: 0 51 | m_PVRFilteringMode: 2 52 | m_PVRDenoiserTypeDirect: 0 53 | m_PVRDenoiserTypeIndirect: 0 54 | m_PVRDenoiserTypeAO: 0 55 | m_PVRFilterTypeDirect: 0 56 | m_PVRFilterTypeIndirect: 0 57 | m_PVRFilterTypeAO: 0 58 | m_PVRFilteringGaussRadiusDirect: 1 59 | m_PVRFilteringGaussRadiusIndirect: 5 60 | m_PVRFilteringGaussRadiusAO: 2 61 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 62 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 63 | m_PVRFilteringAtrousPositionSigmaAO: 1 64 | -------------------------------------------------------------------------------- /EditorScripts/EnumFlagsAttributeDrawer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEditor; 3 | using UnityEngine; 4 | 5 | using Aryzon.UI; 6 | 7 | [CustomPropertyDrawer(typeof(EnumFlagAttribute))] 8 | public class EnumFlagsAttributeDrawer : PropertyDrawer 9 | { 10 | 11 | public override float GetPropertyHeight(SerializedProperty property, GUIContent label) 12 | { 13 | EnumFlagAttribute flagAttribute = attribute as EnumFlagAttribute; 14 | int enumLength = Mathf.CeilToInt(property.enumNames.Length * 1.0f / flagAttribute.columnCount); 15 | return (enumLength * (EditorGUIUtility.singleLineHeight + EditorGUIUtility.standardVerticalSpacing)); 16 | } 17 | 18 | public override void OnGUI(Rect _position, SerializedProperty _property, GUIContent _label) 19 | { 20 | EnumFlagAttribute flagAttribute = attribute as EnumFlagAttribute; 21 | 22 | int buttonsIntValue = 0; 23 | int enumLength = _property.enumNames.Length; 24 | bool[] buttonPressed = new bool[enumLength]; 25 | float buttonWidth = (_position.width) / flagAttribute.columnCount; 26 | float buttonHeight = (_position.height / Mathf.Ceil (enumLength * 1.0f / flagAttribute.columnCount)); 27 | 28 | //EditorGUI.LabelField(new Rect(_position.x, _position.y, EditorGUIUtility.labelWidth, _position.height), _label); 29 | 30 | EditorGUI.BeginChangeCheck (); 31 | 32 | for (int i = 0; i < enumLength; i++) 33 | { 34 | 35 | // Check if the button is/was pressed 36 | if ( ( _property.intValue & (1 << i) ) == 1 << i ) { 37 | buttonPressed[i] = true; 38 | } 39 | float rowIndex = Mathf.Floor (i / flagAttribute.columnCount); 40 | Rect buttonPos = new Rect (_position.x + buttonWidth * (i % flagAttribute.columnCount), _position.y + (rowIndex * buttonHeight), buttonWidth, buttonHeight); 41 | 42 | buttonPressed[i] = GUI.Toggle(buttonPos, buttonPressed[i], _property.enumNames[i], "Button"); 43 | 44 | if (buttonPressed[i]) 45 | buttonsIntValue += 1 << i; 46 | } 47 | 48 | if (EditorGUI.EndChangeCheck()) { 49 | _property.intValue = buttonsIntValue; 50 | } 51 | } 52 | } -------------------------------------------------------------------------------- /EditorScripts/PostBuildProcessor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | using UnityEditor.Callbacks; 4 | using System.Collections; 5 | #if UNITY_IOS 6 | using UnityEditor.iOS.Xcode; 7 | #endif 8 | using System.IO; 9 | 10 | public class PostBuildProcessor : MonoBehaviour 11 | { 12 | #if UNITY_CLOUD_BUILD 13 | // This method is added in the Advanced Features Settings on UCB 14 | // PostBuildProcessor.OnPostprocessBuildiOS 15 | public static void OnPostprocessBuildiOS (string exportPath) 16 | { 17 | Debug.Log("OnPostprocessBuildiOS"); 18 | ProcessPostBuild(BuildTarget.iPhone,exportPath); 19 | } 20 | #endif 21 | 22 | [PostProcessBuild] 23 | public static void ChangeXcodePlist(BuildTarget buildTarget, string pathToBuiltProject) 24 | { 25 | #if UNITY_IOS 26 | 27 | if (buildTarget == BuildTarget.iOS) { 28 | 29 | // Get plist 30 | string plistPath = pathToBuiltProject + "/Info.plist"; 31 | PlistDocument plist = new PlistDocument(); 32 | plist.ReadFromString(File.ReadAllText(plistPath)); 33 | 34 | // Get root 35 | PlistElementDict rootDict = plist.root; 36 | 37 | // Change value of CFBundleVersion in Xcode plist 38 | //var buildKey = "LSApplicationQueriesSchemes"; 39 | //rootDict.SetString(buildKey,"\n\t\taryzon\n\t"); 40 | 41 | bool changeMade = false; 42 | 43 | PlistElementArray querieSchemeArray; 44 | PlistElement querieSchemeElement; 45 | try { 46 | rootDict.values.TryGetValue ("LSApplicationQueriesSchemes", out querieSchemeElement); 47 | querieSchemeArray = querieSchemeElement.AsArray(); 48 | } catch { 49 | Debug.Log ("Could not get value"); 50 | querieSchemeArray = rootDict.CreateArray ("LSApplicationQueriesSchemes"); 51 | changeMade = true; 52 | } 53 | 54 | if (querieSchemeArray != null) { 55 | bool foundEntry = false; 56 | foreach (PlistElementString obj in querieSchemeArray.values) { 57 | if (obj.AsString () == "aryzon") { 58 | foundEntry = true; 59 | break; 60 | } 61 | } 62 | if (!foundEntry) { 63 | querieSchemeArray.AddString ("aryzon"); 64 | changeMade = true; 65 | } 66 | } 67 | 68 | if (changeMade) { 69 | // Write to file 70 | File.WriteAllText(plistPath, plist.WriteToString()); 71 | } 72 | } 73 | #endif 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /Runtime/Shaders/UIOverlay.shader: -------------------------------------------------------------------------------- 1 | // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' 2 | 3 | Shader "UI/Overlay" 4 | { 5 | Properties 6 | { 7 | [PerRendererData] _MainTex ("Font Texture", 2D) = "white" {} 8 | 9 | _Color("Tint", Color) = (1,1,1,1) 10 | 11 | _StencilComp ("Stencil Comparison", Float) = 8 12 | _Stencil ("Stencil ID", Float) = 0 13 | _StencilOp ("Stencil Operation", Float) = 0 14 | _StencilWriteMask ("Stencil Write Mask", Float) = 255 15 | _StencilReadMask ("Stencil Read Mask", Float) = 255 16 | 17 | _ColorMask ("Color Mask", Float) = 15 18 | } 19 | 20 | SubShader 21 | { 22 | LOD 100 23 | 24 | Tags 25 | { 26 | "Queue" = "Transparent" 27 | "IgnoreProjector" = "True" 28 | "RenderType" = "Transparent" 29 | "PreviewType"="Plane" 30 | "CanUseSpriteAtlas" = "True" 31 | } 32 | 33 | Stencil 34 | { 35 | Ref [_Stencil] 36 | Comp [_StencilComp] 37 | Pass [_StencilOp] 38 | ReadMask [_StencilReadMask] 39 | WriteMask [_StencilWriteMask] 40 | } 41 | 42 | Cull Off 43 | Lighting Off 44 | ZWrite Off 45 | ZTest Always 46 | Offset -1, -1 47 | Blend SrcAlpha OneMinusSrcAlpha 48 | ColorMask [_ColorMask] 49 | 50 | Pass 51 | { 52 | CGPROGRAM 53 | #pragma vertex vert 54 | #pragma fragment frag 55 | #include "UnityCG.cginc" 56 | #include "UnityUI.cginc" 57 | 58 | struct appdata_t 59 | { 60 | float4 vertex : POSITION; 61 | float2 texcoord : TEXCOORD0; 62 | float4 color : COLOR; 63 | }; 64 | 65 | struct v2f 66 | { 67 | float4 vertex : SV_POSITION; 68 | half2 texcoord : TEXCOORD0; 69 | fixed4 color : COLOR; 70 | }; 71 | 72 | sampler2D _MainTex; 73 | float4 _MainTex_ST; 74 | fixed4 _Color; 75 | fixed4 _TextureSampleAdd; 76 | 77 | v2f vert (appdata_t v) 78 | { 79 | v2f o; 80 | o.vertex = UnityObjectToClipPos(v.vertex); 81 | o.texcoord = TRANSFORM_TEX(v.texcoord, _MainTex); 82 | o.color = v.color * _Color; 83 | #ifdef UNITY_HALF_TEXEL_OFFSET 84 | o.vertex.xy += (_ScreenParams.zw-1.0)*float2(-1,1); 85 | #endif 86 | 87 | return o; 88 | } 89 | 90 | fixed4 frag (v2f i) : SV_Target 91 | { 92 | fixed4 col = (tex2D(_MainTex, i.texcoord) + _TextureSampleAdd) * i.color; 93 | clip (col.a - 0.01); 94 | return col; 95 | } 96 | ENDCG 97 | } 98 | } 99 | } 100 | -------------------------------------------------------------------------------- /Samples~/Scripts/AryzonExampleRaycastHandler.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.Events; 3 | 4 | namespace Aryzon 5 | { 6 | // This class shows how to receive and handle reticle events in your code. 7 | // Place this component on an object with a renderer, like a cube and its 8 | // material will change color when the reticle hovers over it. 9 | // It is recommended to duplicate and edit this code in your own class. 10 | 11 | [RequireComponent(typeof(AryzonRaycastObject))] 12 | public class AryzonExampleRaycastHandler : MonoBehaviour 13 | { 14 | public Color defaultColor = Color.white; 15 | public Color overColor = Color.cyan; 16 | public Color downColor = Color.yellow; 17 | public Color clickedColor = Color.magenta; 18 | 19 | private AryzonRaycastObject raycastObject; 20 | private Renderer objectRenderer; 21 | 22 | private void Awake() 23 | { 24 | raycastObject = gameObject.GetComponent(); 25 | objectRenderer = gameObject.GetComponent(); 26 | objectRenderer.material.color = defaultColor; 27 | } 28 | 29 | private void OnEnable() 30 | { 31 | if (raycastObject) 32 | { 33 | raycastObject.OnPointerOff.AddListener(Off); 34 | raycastObject.OnPointerOver.AddListener(Over); 35 | raycastObject.OnPointerUp.AddListener(Clicked); 36 | raycastObject.OnPointerDown.AddListener(Down); 37 | } 38 | } 39 | 40 | private void OnDisable() 41 | { 42 | if (raycastObject) 43 | { 44 | raycastObject.OnPointerOff.RemoveListener(Off); 45 | raycastObject.OnPointerOver.RemoveListener(Over); 46 | raycastObject.OnPointerUp.RemoveListener(Clicked); 47 | raycastObject.OnPointerDown.RemoveListener(Down); 48 | } 49 | } 50 | 51 | private void Off() 52 | { 53 | objectRenderer.material.color = defaultColor; 54 | } 55 | 56 | private void Over() 57 | { 58 | objectRenderer.material.color = overColor; 59 | } 60 | 61 | private void Down() 62 | { 63 | objectRenderer.material.color = downColor; 64 | } 65 | 66 | private void Clicked() 67 | { 68 | objectRenderer.material.color = clickedColor; 69 | } 70 | } 71 | } -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/MarkerMaterial.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: MarkerMaterial 11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _ALPHAPREMULTIPLY_ON 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 3000 17 | stringTagMap: 18 | RenderType: Transparent 19 | disabledShaderPasses: [] 20 | m_SavedProperties: 21 | serializedVersion: 3 22 | m_TexEnvs: 23 | - _BumpMap: 24 | m_Texture: {fileID: 0} 25 | m_Scale: {x: 1, y: 1} 26 | m_Offset: {x: 0, y: 0} 27 | - _DetailAlbedoMap: 28 | m_Texture: {fileID: 0} 29 | m_Scale: {x: 1, y: 1} 30 | m_Offset: {x: 0, y: 0} 31 | - _DetailMask: 32 | m_Texture: {fileID: 0} 33 | m_Scale: {x: 1, y: 1} 34 | m_Offset: {x: 0, y: 0} 35 | - _DetailNormalMap: 36 | m_Texture: {fileID: 0} 37 | m_Scale: {x: 1, y: 1} 38 | m_Offset: {x: 0, y: 0} 39 | - _EmissionMap: 40 | m_Texture: {fileID: 0} 41 | m_Scale: {x: 1, y: 1} 42 | m_Offset: {x: 0, y: 0} 43 | - _MainTex: 44 | m_Texture: {fileID: 0} 45 | m_Scale: {x: 1, y: 1} 46 | m_Offset: {x: 0, y: 0} 47 | - _MetallicGlossMap: 48 | m_Texture: {fileID: 0} 49 | m_Scale: {x: 1, y: 1} 50 | m_Offset: {x: 0, y: 0} 51 | - _OcclusionMap: 52 | m_Texture: {fileID: 0} 53 | m_Scale: {x: 1, y: 1} 54 | m_Offset: {x: 0, y: 0} 55 | - _ParallaxMap: 56 | m_Texture: {fileID: 0} 57 | m_Scale: {x: 1, y: 1} 58 | m_Offset: {x: 0, y: 0} 59 | m_Ints: [] 60 | m_Floats: 61 | - _BumpScale: 1 62 | - _Cutoff: 0.5 63 | - _DetailNormalMapScale: 1 64 | - _DstBlend: 10 65 | - _GlossMapScale: 1 66 | - _Glossiness: 0.5 67 | - _GlossyReflections: 1 68 | - _Metallic: 0 69 | - _Mode: 3 70 | - _OcclusionStrength: 1 71 | - _Parallax: 0.02 72 | - _SmoothnessTextureChannel: 0 73 | - _SpecularHighlights: 1 74 | - _SrcBlend: 1 75 | - _UVSec: 0 76 | - _ZWrite: 0 77 | m_Colors: 78 | - _Color: {r: 0.48584908, g: 1, b: 0.95225096, a: 0.54509807} 79 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 80 | m_BuildTextureStacks: [] 81 | -------------------------------------------------------------------------------- /Runtime/Shaders/Reticle.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: Reticle 11 | m_Shader: {fileID: 4800000, guid: 185fff4188994480b8cd5c8118b0137e, type: 3} 12 | m_ShaderKeywords: ETC1_EXTERNAL_ALPHA 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _ColorMask: 15 61 | - _Cutoff: 0.5 62 | - _DetailNormalMapScale: 1 63 | - _DstBlend: 0 64 | - _GlossMapScale: 1 65 | - _Glossiness: 0.5 66 | - _GlossyReflections: 1 67 | - _Metallic: 0 68 | - _Mode: 0 69 | - _OcclusionStrength: 1 70 | - _Parallax: 0.02 71 | - _SmoothnessTextureChannel: 0 72 | - _SpecularHighlights: 1 73 | - _SrcBlend: 1 74 | - _Stencil: 0 75 | - _StencilComp: 8 76 | - _StencilOp: 0 77 | - _StencilReadMask: 255 78 | - _StencilWriteMask: 255 79 | - _UVSec: 0 80 | - _ZWrite: 1 81 | m_Colors: 82 | - _Color: {r: 1, g: 1, b: 1, a: 1} 83 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 84 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonV3_MarkerImage.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c26a77a7999b2413282a1e63b6b87326 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: -1 36 | aniso: -1 37 | mipBias: -100 38 | wrapU: -1 39 | wrapV: -1 40 | wrapW: -1 41 | nPOTScale: 1 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 0 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 0 54 | spriteTessellationDetail: -1 55 | textureType: 0 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 2048 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | spriteSheet: 79 | serializedVersion: 2 80 | sprites: [] 81 | outline: [] 82 | physicsShape: [] 83 | bones: [] 84 | spriteID: 85 | internalID: 0 86 | vertices: [] 87 | indices: 88 | edges: [] 89 | weights: [] 90 | secondaryTextures: [] 91 | spritePackingTag: 92 | pSDRemoveMatte: 0 93 | pSDShowRemoveMatteOption: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonPoseDriver.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | 6 | namespace Aryzon { 7 | 8 | public class AryzonPoseDriver : MonoBehaviour 9 | { 10 | [SerializeField] private bool _applyHeadModel = true; 11 | public bool applyHeadModel 12 | { 13 | get { return _applyHeadModel; } 14 | set { _applyHeadModel = value; } 15 | } 16 | 17 | [SerializeField] private bool _applyRotationModel = true; 18 | public bool applyRotationModel 19 | { 20 | get { return _applyRotationModel; } 21 | set { _applyRotationModel = value; } 22 | } 23 | 24 | private Vector3 headModel; 25 | 26 | private void OnEnable() 27 | { 28 | StartCoroutine(StartWhenReady()); 29 | } 30 | 31 | IEnumerator StartWhenReady() 32 | { 33 | while (AryzonSettings.Instance == null || AryzonSettings.Instance.aryzonManager == null) 34 | { 35 | yield return null; 36 | } 37 | AryzonSettings.Instance.aryzonManager.PoseUpdate += UpdatePose; 38 | AryzonSettings.Instance.UpdateLayout += UpdateLayout; 39 | 40 | UpdateLayout(); 41 | } 42 | 43 | private void UpdateLayout() 44 | { 45 | int m = 1; 46 | if (!AryzonSettings.Headset.landscapeLeft) { m = -1; } 47 | 48 | headModel = new Vector3(AryzonSettings.Calibration.XShift + m * (AryzonSettings.Phone.xShift + 0.04f), AryzonSettings.Calibration.YShift + m * (AryzonSettings.Phone.yShift - 0.03f), -AryzonSettings.Calibration.EyeToLens); 49 | } 50 | 51 | public void UpdatePose(AryzonPose pose) 52 | { 53 | transform.localPosition = pose.position; 54 | transform.localRotation = pose.rotation; 55 | 56 | if (applyHeadModel) 57 | { 58 | transform.localPosition = transform.TransformPoint(headModel); 59 | } 60 | if (applyRotationModel) 61 | { 62 | transform.Rotate(Vector3.right, AryzonSettings.Headset.xRotation); 63 | } 64 | } 65 | 66 | private void OnDisable() 67 | { 68 | if (AryzonSettings.Instance != null) { 69 | AryzonSettings.Instance.UpdateLayout -= UpdateLayout; 70 | if (AryzonSettings.Instance.aryzonManager != null) 71 | { 72 | AryzonSettings.Instance.aryzonManager.PoseUpdate -= UpdatePose; 73 | } 74 | } 75 | } 76 | } 77 | } -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/MarkerPrefab.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &1728912096916304667 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 1728912096916304664} 12 | - component: {fileID: 1728912096916304665} 13 | - component: {fileID: 1728912096916304666} 14 | m_Layer: 0 15 | m_Name: MarkerPrefab 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &1728912096916304664 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 1728912096916304667} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 0.15, y: 0.003, z: 0.15} 31 | m_Children: [] 32 | m_Father: {fileID: 0} 33 | m_RootOrder: 0 34 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 35 | --- !u!33 &1728912096916304665 36 | MeshFilter: 37 | m_ObjectHideFlags: 0 38 | m_CorrespondingSourceObject: {fileID: 0} 39 | m_PrefabInstance: {fileID: 0} 40 | m_PrefabAsset: {fileID: 0} 41 | m_GameObject: {fileID: 1728912096916304667} 42 | m_Mesh: {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} 43 | --- !u!23 &1728912096916304666 44 | MeshRenderer: 45 | m_ObjectHideFlags: 0 46 | m_CorrespondingSourceObject: {fileID: 0} 47 | m_PrefabInstance: {fileID: 0} 48 | m_PrefabAsset: {fileID: 0} 49 | m_GameObject: {fileID: 1728912096916304667} 50 | m_Enabled: 1 51 | m_CastShadows: 1 52 | m_ReceiveShadows: 1 53 | m_DynamicOccludee: 1 54 | m_StaticShadowCaster: 0 55 | m_MotionVectors: 1 56 | m_LightProbeUsage: 1 57 | m_ReflectionProbeUsage: 1 58 | m_RayTracingMode: 2 59 | m_RayTraceProcedural: 0 60 | m_RenderingLayerMask: 1 61 | m_RendererPriority: 0 62 | m_Materials: 63 | - {fileID: 2100000, guid: 05d448fd74fcb4a29ab18a70e3254ae7, type: 2} 64 | m_StaticBatchInfo: 65 | firstSubMesh: 0 66 | subMeshCount: 0 67 | m_StaticBatchRoot: {fileID: 0} 68 | m_ProbeAnchor: {fileID: 0} 69 | m_LightProbeVolumeOverride: {fileID: 0} 70 | m_ScaleInLightmap: 1 71 | m_ReceiveGI: 1 72 | m_PreserveUVs: 0 73 | m_IgnoreNormalsForChartDetection: 0 74 | m_ImportantGI: 0 75 | m_StitchLightmapSeams: 1 76 | m_SelectedEditorRenderState: 3 77 | m_MinimumChartSize: 4 78 | m_AutoUVMaxDistance: 0.5 79 | m_AutoUVMaxAngle: 89 80 | m_LightmapParameters: {fileID: 0} 81 | m_SortingLayerID: 0 82 | m_SortingLayer: 0 83 | m_SortingOrder: 0 84 | m_AdditionalVertexStreams: {fileID: 0} 85 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonSettingsUI.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using UnityEngine.UI; 6 | 7 | namespace Aryzon { 8 | 9 | public class AryzonSettingsUI : MonoBehaviour 10 | { 11 | public Toggle showCalibration; 12 | public Toggle predictMovement; 13 | 14 | public Slider rotationPredictSlider; 15 | public Slider positionPredictSlider; 16 | 17 | public Text rotationSliderStatus; 18 | public Text positionSliderStatus; 19 | 20 | void Start() 21 | { 22 | showCalibration.isOn = AryzonSettings.Calibration.showCalibrate; 23 | predictMovement.isOn = AryzonSettings.Phone.predict; 24 | 25 | rotationPredictSlider.value = AryzonSettings.Phone.rotationPredictSteps; 26 | positionPredictSlider.value = AryzonSettings.Phone.positionPredictSteps; 27 | 28 | rotationSliderStatus.text = "Predict rotation " + AryzonSettings.Phone.rotationPredictSteps + " frame"; 29 | positionSliderStatus.text = "Predict position " + AryzonSettings.Phone.positionPredictSteps + " frame"; 30 | 31 | if (AryzonSettings.Phone.rotationPredictSteps > 1) 32 | { 33 | rotationSliderStatus.text += "s"; 34 | } 35 | 36 | if (AryzonSettings.Phone.positionPredictSteps > 1) 37 | { 38 | positionSliderStatus.text += "s"; 39 | } 40 | } 41 | 42 | public void ShowCalibrationToggleChanged () 43 | { 44 | AryzonSettings.Calibration.showCalibrate = showCalibration.isOn; 45 | AryzonSettings.Instance.Save(); 46 | } 47 | 48 | public void PredictMovementToggleChanged() 49 | { 50 | AryzonSettings.Phone.predict = predictMovement.isOn; 51 | AryzonSettings.Instance.Save(); 52 | } 53 | 54 | public void RotationPredictSliderChanged() 55 | { 56 | AryzonSettings.Phone.rotationPredictSteps = (int)rotationPredictSlider.value; 57 | rotationSliderStatus.text = "Predict rotation " + AryzonSettings.Phone.rotationPredictSteps + " frame"; 58 | if (AryzonSettings.Phone.rotationPredictSteps > 1) 59 | { 60 | rotationSliderStatus.text += "s"; 61 | } 62 | AryzonSettings.Instance.Save(); 63 | } 64 | 65 | public void PositionPredictSliderChanged() 66 | { 67 | AryzonSettings.Phone.positionPredictSteps = (int)positionPredictSlider.value; 68 | positionSliderStatus.text = "Predict position " + AryzonSettings.Phone.positionPredictSteps + " frame"; 69 | if (AryzonSettings.Phone.positionPredictSteps > 1) 70 | { 71 | positionSliderStatus.text += "s"; 72 | } 73 | AryzonSettings.Instance.Save(); 74 | } 75 | } 76 | } -------------------------------------------------------------------------------- /Runtime/Scripts/RotateWithCamera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | 4 | namespace Aryzon 5 | { 6 | public class RotateWithCamera : MonoBehaviour 7 | { 8 | public bool rotate = true; 9 | private bool rotating = false; 10 | 11 | [HideInInspector] 12 | public float _maxRotationY = 180f; 13 | [HideInInspector] 14 | public float _deltaRotationY = 360f; 15 | public float _minimumAngleY = 60f; 16 | 17 | [Tooltip("Angular speed in radians per second.")] 18 | public float speed; 19 | 20 | private void OnEnable() 21 | { 22 | StartCoroutine(StartWhenReady()); 23 | } 24 | 25 | IEnumerator StartWhenReady() 26 | { 27 | while (AryzonSettings.Instance == null || AryzonSettings.Instance.aryzonManager == null) 28 | { 29 | yield return null; 30 | } 31 | AryzonSettings.Instance.aryzonManager.PoseUpdate += UpdatePose; 32 | } 33 | 34 | public void UpdatePose(AryzonPose pose) 35 | { 36 | if (rotate) 37 | { 38 | float fromRotation = gameObject.transform.rotation.eulerAngles.y; 39 | float toRotation = pose.rotation.eulerAngles.y; 40 | float deltaRotation = toRotation - fromRotation; 41 | 42 | if (deltaRotation > _maxRotationY) 43 | { 44 | deltaRotation -= _deltaRotationY; 45 | } 46 | else if (deltaRotation < -_maxRotationY) 47 | { 48 | deltaRotation += _deltaRotationY; 49 | } 50 | 51 | float minAngle = _minimumAngleY; 52 | 53 | if (!rotating && Mathf.Abs(deltaRotation) > minAngle) 54 | { 55 | rotating = true; 56 | } else if (rotating) 57 | { 58 | // Using else if here to make rotation start in the next frame to solve a glitch when rotation changes a lot for only a single frame. 59 | float newRotation = fromRotation + deltaRotation / 20f; 60 | gameObject.transform.rotation = Quaternion.Euler(new Vector3(gameObject.transform.rotation.eulerAngles.x, newRotation, gameObject.transform.rotation.eulerAngles.z)); 61 | if (Mathf.Abs(deltaRotation) < 1f) 62 | { 63 | rotating = false; 64 | } 65 | } 66 | gameObject.transform.position = pose.position; 67 | } 68 | } 69 | 70 | private void OnDisable() 71 | { 72 | if (AryzonSettings.Instance != null && AryzonSettings.Instance.aryzonManager != null) 73 | { 74 | AryzonSettings.Instance.aryzonManager.PoseUpdate -= UpdatePose; 75 | } 76 | } 77 | } 78 | } -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/PlaneMaterial.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: PlaneMaterial 11 | m_Shader: {fileID: 211, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _ALPHABLEND_ON 13 | m_LightmapFlags: 0 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 3000 17 | stringTagMap: 18 | RenderType: Transparent 19 | disabledShaderPasses: 20 | - ALWAYS 21 | m_SavedProperties: 22 | serializedVersion: 3 23 | m_TexEnvs: 24 | - _BumpMap: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _DetailAlbedoMap: 29 | m_Texture: {fileID: 0} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | - _DetailMask: 33 | m_Texture: {fileID: 0} 34 | m_Scale: {x: 1, y: 1} 35 | m_Offset: {x: 0, y: 0} 36 | - _DetailNormalMap: 37 | m_Texture: {fileID: 0} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - _EmissionMap: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - _MainTex: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - _MetallicGlossMap: 49 | m_Texture: {fileID: 0} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _OcclusionMap: 53 | m_Texture: {fileID: 0} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | - _ParallaxMap: 57 | m_Texture: {fileID: 0} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | m_Ints: [] 61 | m_Floats: 62 | - _BlendOp: 0 63 | - _BumpScale: 1 64 | - _CameraFadingEnabled: 0 65 | - _CameraFarFadeDistance: 2 66 | - _CameraNearFadeDistance: 1 67 | - _ColorMode: 0 68 | - _Cull: 2 69 | - _Cutoff: 0.5 70 | - _DetailNormalMapScale: 1 71 | - _DistortionBlend: 0.5 72 | - _DistortionEnabled: 0 73 | - _DistortionStrength: 1 74 | - _DistortionStrengthScaled: 0 75 | - _DstBlend: 10 76 | - _EmissionEnabled: 0 77 | - _FlipbookMode: 0 78 | - _GlossMapScale: 1 79 | - _Glossiness: 0 80 | - _GlossyReflections: 1 81 | - _LightingEnabled: 0 82 | - _Metallic: 0 83 | - _Mode: 2 84 | - _OcclusionStrength: 1 85 | - _Parallax: 0.02 86 | - _SmoothnessTextureChannel: 0 87 | - _SoftParticlesEnabled: 0 88 | - _SoftParticlesFarFadeDistance: 1 89 | - _SoftParticlesNearFadeDistance: 0 90 | - _SpecularHighlights: 1 91 | - _SrcBlend: 5 92 | - _UVSec: 0 93 | - _ZWrite: 0 94 | m_Colors: 95 | - _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0} 96 | - _Color: {r: 0, g: 0.68235296, b: 0.7960785, a: 0.21960784} 97 | - _ColorAddSubDiff: {r: 0, g: 0, b: 0, a: 0} 98 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 99 | - _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0} 100 | m_BuildTextureStacks: [] 101 | -------------------------------------------------------------------------------- /Samples~/Scenes/ARFoundation/LineMaterial.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: LineMaterial 11 | m_Shader: {fileID: 211, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: _ALPHABLEND_ON 13 | m_LightmapFlags: 0 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: 3000 17 | stringTagMap: 18 | RenderType: Transparent 19 | disabledShaderPasses: 20 | - ALWAYS 21 | m_SavedProperties: 22 | serializedVersion: 3 23 | m_TexEnvs: 24 | - _BumpMap: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _DetailAlbedoMap: 29 | m_Texture: {fileID: 0} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | - _DetailMask: 33 | m_Texture: {fileID: 0} 34 | m_Scale: {x: 1, y: 1} 35 | m_Offset: {x: 0, y: 0} 36 | - _DetailNormalMap: 37 | m_Texture: {fileID: 0} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - _EmissionMap: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - _MainTex: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - _MetallicGlossMap: 49 | m_Texture: {fileID: 0} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _OcclusionMap: 53 | m_Texture: {fileID: 0} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | - _ParallaxMap: 57 | m_Texture: {fileID: 0} 58 | m_Scale: {x: 1, y: 1} 59 | m_Offset: {x: 0, y: 0} 60 | m_Ints: [] 61 | m_Floats: 62 | - _BlendOp: 0 63 | - _BumpScale: 1 64 | - _CameraFadingEnabled: 0 65 | - _CameraFarFadeDistance: 2 66 | - _CameraNearFadeDistance: 1 67 | - _ColorMode: 0 68 | - _Cull: 2 69 | - _Cutoff: 0.5 70 | - _DetailNormalMapScale: 1 71 | - _DistortionBlend: 0.5 72 | - _DistortionEnabled: 0 73 | - _DistortionStrength: 1 74 | - _DistortionStrengthScaled: 0 75 | - _DstBlend: 10 76 | - _EmissionEnabled: 0 77 | - _FlipbookMode: 0 78 | - _GlossMapScale: 1 79 | - _Glossiness: 0.5 80 | - _GlossyReflections: 1 81 | - _LightingEnabled: 0 82 | - _Metallic: 0 83 | - _Mode: 2 84 | - _OcclusionStrength: 1 85 | - _Parallax: 0.02 86 | - _SmoothnessTextureChannel: 0 87 | - _SoftParticlesEnabled: 0 88 | - _SoftParticlesFarFadeDistance: 1 89 | - _SoftParticlesNearFadeDistance: 0 90 | - _SpecularHighlights: 1 91 | - _SrcBlend: 5 92 | - _UVSec: 0 93 | - _ZWrite: 0 94 | m_Colors: 95 | - _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0} 96 | - _Color: {r: 0.8941177, g: 0.078431375, b: 0.34901962, a: 0.43137255} 97 | - _ColorAddSubDiff: {r: 0, g: 0, b: 0, a: 0} 98 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 99 | - _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0} 100 | m_BuildTextureStacks: [] 101 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonControllerButtonUI.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace Aryzon 7 | { 8 | public class AryzonControllerButtonUI : MonoBehaviour 9 | { 10 | public List ConnectedObjects; 11 | public List SetModeObjects; 12 | public List DisconnectedObjects; 13 | public List UnkownObjects; 14 | 15 | private void OnEnable() 16 | { 17 | if (AryzonControllerManager.Instance == null) { gameObject.SetActive(false); return; } 18 | AryzonControllerManager.Instance.OnControllerConnected.AddListener(ConnectionChanged); 19 | AryzonControllerManager.Instance.OnControllerDisconnected.AddListener(ConnectionChanged); 20 | AryzonControllerManager.Instance.OnModeChanged.AddListener(ModeChanged); 21 | ConnectionChanged(AryzonControllerManager.Instance.ConnectionStatus); 22 | } 23 | 24 | private void OnDisable() 25 | { 26 | if (AryzonControllerManager.Instance == null) { gameObject.SetActive(false); return; } 27 | AryzonControllerManager.Instance.OnControllerConnected.RemoveListener(ConnectionChanged); 28 | AryzonControllerManager.Instance.OnControllerDisconnected.RemoveListener(ConnectionChanged); 29 | AryzonControllerManager.Instance.OnModeChanged.RemoveListener(ModeChanged); 30 | } 31 | 32 | public void ModeChanged(int mode) 33 | { 34 | ConnectionChanged(AryzonControllerManager.Instance.ConnectionStatus); 35 | } 36 | 37 | public void ConnectionChanged(AryzonControllerManager.Connection connectionStatus) 38 | { 39 | if (connectionStatus == AryzonControllerManager.Connection.Connected) 40 | { 41 | if (AryzonControllerManager.Instance.CorrectMode == 1) 42 | { 43 | foreach (GameObject obj in ConnectedObjects) obj.SetActive(true); 44 | foreach (GameObject obj in SetModeObjects) obj.SetActive(false); 45 | foreach (GameObject obj in DisconnectedObjects) obj.SetActive(false); 46 | foreach (GameObject obj in UnkownObjects) obj.SetActive(false); 47 | } 48 | else 49 | { 50 | foreach (GameObject obj in ConnectedObjects) obj.SetActive(false); 51 | foreach (GameObject obj in SetModeObjects) obj.SetActive(true); 52 | foreach (GameObject obj in DisconnectedObjects) obj.SetActive(false); 53 | foreach (GameObject obj in UnkownObjects) obj.SetActive(false); 54 | } 55 | } 56 | else if (connectionStatus == AryzonControllerManager.Connection.Disconnected) 57 | { 58 | foreach (GameObject obj in ConnectedObjects) obj.SetActive(false); 59 | foreach (GameObject obj in SetModeObjects) obj.SetActive(false); 60 | foreach (GameObject obj in DisconnectedObjects) obj.SetActive(true); 61 | foreach (GameObject obj in UnkownObjects) obj.SetActive(false); 62 | } 63 | else 64 | { 65 | foreach (GameObject obj in ConnectedObjects) obj.SetActive(false); 66 | foreach (GameObject obj in SetModeObjects) obj.SetActive(false); 67 | foreach (GameObject obj in DisconnectedObjects) obj.SetActive(false); 68 | foreach (GameObject obj in UnkownObjects) obj.SetActive(true); 69 | } 70 | } 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /Resources/None.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee202d8ef11ad4edbb9aa0441a22e0b0 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 32 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 32 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 32 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 32 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonControllerUI.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace Aryzon 7 | { 8 | public class AryzonControllerUI : MonoBehaviour 9 | { 10 | public List ConnectedObjects; 11 | public List SetModeObjects; 12 | public List DisconnectedObjects; 13 | public List UnkownObjects; 14 | 15 | public GameObject explanationOverlay; 16 | 17 | private void OnEnable() 18 | { 19 | AryzonControllerManager.Instance.OnControllerConnected.AddListener(ConnectionChanged); 20 | AryzonControllerManager.Instance.OnControllerDisconnected.AddListener(ConnectionChanged); 21 | AryzonControllerManager.Instance.OnModeChanged.AddListener(ModeChanged); 22 | ConnectionChanged(AryzonControllerManager.Instance.ConnectionStatus); 23 | } 24 | 25 | private void OnDisable() 26 | { 27 | AryzonControllerManager.Instance.OnControllerConnected.RemoveListener(ConnectionChanged); 28 | AryzonControllerManager.Instance.OnControllerDisconnected.RemoveListener(ConnectionChanged); 29 | AryzonControllerManager.Instance.OnModeChanged.RemoveListener(ModeChanged); 30 | } 31 | 32 | public void ModeChanged(int mode) 33 | { 34 | ConnectionChanged(AryzonControllerManager.Instance.ConnectionStatus); 35 | } 36 | 37 | public void ConnectionChanged(AryzonControllerManager.Connection connectionStatus) 38 | { 39 | if (connectionStatus == AryzonControllerManager.Connection.Connected) 40 | { 41 | if (AryzonControllerManager.Instance.CorrectMode == 1) 42 | { 43 | foreach (GameObject obj in ConnectedObjects) obj.SetActive(true); 44 | foreach (GameObject obj in SetModeObjects) obj.SetActive(false); 45 | foreach (GameObject obj in DisconnectedObjects) obj.SetActive(false); 46 | foreach (GameObject obj in UnkownObjects) obj.SetActive(false); 47 | } 48 | else 49 | { 50 | foreach (GameObject obj in ConnectedObjects) obj.SetActive(false); 51 | foreach (GameObject obj in SetModeObjects) obj.SetActive(true); 52 | foreach (GameObject obj in DisconnectedObjects) obj.SetActive(false); 53 | foreach (GameObject obj in UnkownObjects) obj.SetActive(false); 54 | } 55 | explanationOverlay.SetActive(false); 56 | } 57 | else if (connectionStatus == AryzonControllerManager.Connection.Disconnected) 58 | { 59 | foreach (GameObject obj in ConnectedObjects) obj.SetActive(false); 60 | foreach (GameObject obj in SetModeObjects) obj.SetActive(false); 61 | foreach (GameObject obj in DisconnectedObjects) obj.SetActive(true); 62 | foreach (GameObject obj in UnkownObjects) obj.SetActive(false); 63 | 64 | explanationOverlay.SetActive(true); 65 | } 66 | else 67 | { 68 | foreach (GameObject obj in ConnectedObjects) obj.SetActive(false); 69 | foreach (GameObject obj in SetModeObjects) obj.SetActive(false); 70 | foreach (GameObject obj in DisconnectedObjects) obj.SetActive(false); 71 | foreach (GameObject obj in UnkownObjects) obj.SetActive(true); 72 | 73 | explanationOverlay.SetActive(true); 74 | } 75 | } 76 | } 77 | } -------------------------------------------------------------------------------- /Resources/LogoAryzonSmall.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b080870f476b46fb890819f88bbb44b 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 64 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 64 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 64 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 64 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Resources/LogoAryzonSidebar.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bf910abea16947bc84a93f9cd00037c 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 256 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 256 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 256 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 256 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Runtime/Graphics/Back.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e33d684da9e3140e28bd3decc92cfcc4 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Resources/LogoAryzonSmallLight.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fece81bc77992489f931eeceeb845ac3 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 128 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 128 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 128 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 128 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Runtime/Graphics/Aryzon_ICON.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bac1550a4144c47f3ae6f00ded2f8953 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonButtonSimple.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed74d3e58dc2943dbb1797e1842edd14 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 256 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 2 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 256 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 2 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 256 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 2 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 256 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 2 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | spriteSheet: 110 | serializedVersion: 2 111 | sprites: [] 112 | outline: [] 113 | physicsShape: [] 114 | bones: [] 115 | spriteID: 5e97eb03825dee720800000000000000 116 | internalID: 0 117 | vertices: [] 118 | indices: 119 | edges: [] 120 | weights: [] 121 | secondaryTextures: [] 122 | spritePackingTag: 123 | pSDRemoveMatte: 0 124 | pSDShowRemoveMatteOption: 0 125 | userData: 126 | assetBundleName: 127 | assetBundleVariant: 128 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonSmall_MarkerImage.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9f727f96a2ff412982bd13d116fc9bd 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: -1 36 | aniso: -1 37 | mipBias: -100 38 | wrapU: -1 39 | wrapV: -1 40 | wrapW: -1 41 | nPOTScale: 1 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 0 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 0 54 | spriteTessellationDetail: -1 55 | textureType: 0 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 1024 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | - serializedVersion: 3 79 | buildTarget: Standalone 80 | maxTextureSize: 1024 81 | resizeAlgorithm: 0 82 | textureFormat: -1 83 | textureCompression: 1 84 | compressionQuality: 50 85 | crunchedCompression: 0 86 | allowsAlphaSplitting: 0 87 | overridden: 0 88 | androidETC2FallbackOverride: 0 89 | forceMaximumCompressionQuality_BC6H_BC7: 0 90 | - serializedVersion: 3 91 | buildTarget: iPhone 92 | maxTextureSize: 1024 93 | resizeAlgorithm: 0 94 | textureFormat: -1 95 | textureCompression: 1 96 | compressionQuality: 50 97 | crunchedCompression: 0 98 | allowsAlphaSplitting: 0 99 | overridden: 0 100 | androidETC2FallbackOverride: 0 101 | forceMaximumCompressionQuality_BC6H_BC7: 0 102 | - serializedVersion: 3 103 | buildTarget: Android 104 | maxTextureSize: 1024 105 | resizeAlgorithm: 0 106 | textureFormat: -1 107 | textureCompression: 1 108 | compressionQuality: 50 109 | crunchedCompression: 0 110 | allowsAlphaSplitting: 0 111 | overridden: 0 112 | androidETC2FallbackOverride: 0 113 | forceMaximumCompressionQuality_BC6H_BC7: 0 114 | spriteSheet: 115 | serializedVersion: 2 116 | sprites: [] 117 | outline: [] 118 | physicsShape: [] 119 | bones: [] 120 | spriteID: 121 | internalID: 0 122 | vertices: [] 123 | indices: 124 | edges: [] 125 | weights: [] 126 | secondaryTextures: [] 127 | spritePackingTag: 128 | pSDRemoveMatte: 0 129 | pSDShowRemoveMatteOption: 0 130 | userData: 131 | assetBundleName: 132 | assetBundleVariant: 133 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonV4_MarkerImage.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d1dd2e236e074cdcaaf4fe03454152c 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | grayScaleToAlpha: 0 28 | generateCubemap: 6 29 | cubemapConvolution: 0 30 | seamlessCubemap: 0 31 | textureFormat: 1 32 | maxTextureSize: 2048 33 | textureSettings: 34 | serializedVersion: 2 35 | filterMode: -1 36 | aniso: -1 37 | mipBias: -100 38 | wrapU: -1 39 | wrapV: -1 40 | wrapW: -1 41 | nPOTScale: 1 42 | lightmap: 0 43 | compressionQuality: 50 44 | spriteMode: 0 45 | spriteExtrude: 1 46 | spriteMeshType: 1 47 | alignment: 0 48 | spritePivot: {x: 0.5, y: 0.5} 49 | spritePixelsToUnits: 100 50 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 51 | spriteGenerateFallbackPhysicsShape: 1 52 | alphaUsage: 1 53 | alphaIsTransparency: 0 54 | spriteTessellationDetail: -1 55 | textureType: 0 56 | textureShape: 1 57 | singleChannelComponent: 0 58 | flipbookRows: 1 59 | flipbookColumns: 1 60 | maxTextureSizeSet: 0 61 | compressionQualitySet: 0 62 | textureFormatSet: 0 63 | ignorePngGamma: 0 64 | applyGammaDecoding: 0 65 | platformSettings: 66 | - serializedVersion: 3 67 | buildTarget: DefaultTexturePlatform 68 | maxTextureSize: 1024 69 | resizeAlgorithm: 0 70 | textureFormat: -1 71 | textureCompression: 1 72 | compressionQuality: 50 73 | crunchedCompression: 0 74 | allowsAlphaSplitting: 0 75 | overridden: 0 76 | androidETC2FallbackOverride: 0 77 | forceMaximumCompressionQuality_BC6H_BC7: 0 78 | - serializedVersion: 3 79 | buildTarget: Standalone 80 | maxTextureSize: 1024 81 | resizeAlgorithm: 0 82 | textureFormat: -1 83 | textureCompression: 1 84 | compressionQuality: 50 85 | crunchedCompression: 0 86 | allowsAlphaSplitting: 0 87 | overridden: 0 88 | androidETC2FallbackOverride: 0 89 | forceMaximumCompressionQuality_BC6H_BC7: 0 90 | - serializedVersion: 3 91 | buildTarget: iPhone 92 | maxTextureSize: 1024 93 | resizeAlgorithm: 0 94 | textureFormat: -1 95 | textureCompression: 1 96 | compressionQuality: 50 97 | crunchedCompression: 0 98 | allowsAlphaSplitting: 0 99 | overridden: 0 100 | androidETC2FallbackOverride: 0 101 | forceMaximumCompressionQuality_BC6H_BC7: 0 102 | - serializedVersion: 3 103 | buildTarget: Android 104 | maxTextureSize: 1024 105 | resizeAlgorithm: 0 106 | textureFormat: -1 107 | textureCompression: 1 108 | compressionQuality: 50 109 | crunchedCompression: 0 110 | allowsAlphaSplitting: 0 111 | overridden: 0 112 | androidETC2FallbackOverride: 0 113 | forceMaximumCompressionQuality_BC6H_BC7: 0 114 | spriteSheet: 115 | serializedVersion: 2 116 | sprites: [] 117 | outline: [] 118 | physicsShape: [] 119 | bones: [] 120 | spriteID: 121 | internalID: 0 122 | vertices: [] 123 | indices: 124 | edges: [] 125 | weights: [] 126 | secondaryTextures: [] 127 | spritePackingTag: 128 | pSDRemoveMatte: 0 129 | pSDShowRemoveMatteOption: 0 130 | userData: 131 | assetBundleName: 132 | assetBundleVariant: 133 | -------------------------------------------------------------------------------- /Runtime/Scripts/EditorPoseProvider.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | // Very simple smooth mouselook modifier for the MainCamera in Unity 4 | // by Francis R. Griffiths-Keam - www.runningdimensions.com 5 | public class EditorPoseProvider : MonoBehaviour 6 | { 7 | 8 | Vector2 _mouseAbsolute; 9 | Vector2 _smoothMouse; 10 | 11 | public Vector2 clampInDegrees = new Vector2(360, 180); 12 | public bool lockCursor; 13 | public Vector2 sensitivity = new Vector2(2, 2); 14 | public Vector2 smoothing = new Vector2(3, 3); 15 | public Vector2 targetDirection; 16 | public Vector2 targetCharacterDirection; 17 | public float speed = 1f; 18 | private bool cursorLockState; 19 | 20 | // Assign this if there's a parent object controlling motion, such as a Character Controller. 21 | // Yaw rotation will affect this object instead of the camera if set. 22 | public GameObject characterBody; 23 | #if UNITY_EDITOR 24 | void Start() 25 | { 26 | // Set target direction to the camera's initial orientation. 27 | targetDirection = transform.localRotation.eulerAngles; 28 | 29 | // Set target direction for the character body to its inital state. 30 | if (characterBody) targetCharacterDirection = characterBody.transform.localRotation.eulerAngles; 31 | } 32 | 33 | void Update() 34 | { 35 | if (Input.GetKey(KeyCode.LeftAlt)) 36 | { 37 | 38 | // Allow the script to clamp based on a desired target value. 39 | var targetOrientation = Quaternion.Euler(targetDirection); 40 | var targetCharacterOrientation = Quaternion.Euler(targetCharacterDirection); 41 | 42 | // Get raw mouse input for a cleaner reading on more sensitive mice. 43 | var mouseDelta = new Vector2(Input.GetAxisRaw("Mouse X"), Input.GetAxisRaw("Mouse Y")); 44 | 45 | // Scale input against the sensitivity setting and multiply that against the smoothing value. 46 | mouseDelta = Vector2.Scale(mouseDelta, new Vector2(sensitivity.x * smoothing.x, sensitivity.y * smoothing.y)); 47 | 48 | // Interpolate mouse movement over time to apply smoothing delta. 49 | _smoothMouse.x = Mathf.Lerp(_smoothMouse.x, mouseDelta.x, 1f / smoothing.x); 50 | _smoothMouse.y = Mathf.Lerp(_smoothMouse.y, mouseDelta.y, 1f / smoothing.y); 51 | 52 | // Find the absolute mouse movement value from point zero. 53 | _mouseAbsolute += _smoothMouse; 54 | 55 | // Clamp and apply the local x value first, so as not to be affected by world transforms. 56 | if (clampInDegrees.x < 360) 57 | _mouseAbsolute.x = Mathf.Clamp(_mouseAbsolute.x, -clampInDegrees.x * 0.5f, clampInDegrees.x * 0.5f); 58 | 59 | var xRotation = Quaternion.AngleAxis(-_mouseAbsolute.y, targetOrientation * Vector3.right); 60 | transform.localRotation = xRotation; 61 | 62 | // Then clamp and apply the global y value. 63 | if (clampInDegrees.y < 360) 64 | _mouseAbsolute.y = Mathf.Clamp(_mouseAbsolute.y, -clampInDegrees.y * 0.5f, clampInDegrees.y * 0.5f); 65 | 66 | transform.localRotation *= targetOrientation; 67 | 68 | // If there's a character body that acts as a parent to the camera 69 | if (characterBody) 70 | { 71 | var yRotation = Quaternion.AngleAxis(_mouseAbsolute.x, characterBody.transform.up); 72 | characterBody.transform.localRotation = yRotation; 73 | characterBody.transform.localRotation *= targetCharacterOrientation; 74 | } 75 | else 76 | { 77 | var yRotation = Quaternion.AngleAxis(_mouseAbsolute.x, transform.InverseTransformDirection(Vector3.up)); 78 | transform.localRotation *= yRotation; 79 | } 80 | 81 | var move = new Vector3(Input.GetAxis("Horizontal"), Input.GetAxis("Vertical"), 0); 82 | transform.localPosition += move * speed * Time.deltaTime; 83 | } 84 | else 85 | { 86 | var move = new Vector3(Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical")); 87 | transform.localPosition += move * speed * Time.deltaTime; 88 | } 89 | } 90 | #endif 91 | } -------------------------------------------------------------------------------- /Runtime/Prefabs/AryzonInputController.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &4947905653590779253 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | serializedVersion: 6 10 | m_Component: 11 | - component: {fileID: 4947905653590779252} 12 | - component: {fileID: 4947905653590779254} 13 | - component: {fileID: 2733704630069788985} 14 | m_Layer: 0 15 | m_Name: AryzonInputController 16 | m_TagString: Untagged 17 | m_Icon: {fileID: 0} 18 | m_NavMeshLayer: 0 19 | m_StaticEditorFlags: 0 20 | m_IsActive: 1 21 | --- !u!4 &4947905653590779252 22 | Transform: 23 | m_ObjectHideFlags: 0 24 | m_CorrespondingSourceObject: {fileID: 0} 25 | m_PrefabInstance: {fileID: 0} 26 | m_PrefabAsset: {fileID: 0} 27 | m_GameObject: {fileID: 4947905653590779253} 28 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 29 | m_LocalPosition: {x: 0, y: 0, z: 0} 30 | m_LocalScale: {x: 1, y: 1, z: 1} 31 | m_ConstrainProportionsScale: 0 32 | m_Children: [] 33 | m_Father: {fileID: 0} 34 | m_RootOrder: 0 35 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 36 | --- !u!114 &4947905653590779254 37 | MonoBehaviour: 38 | m_ObjectHideFlags: 0 39 | m_CorrespondingSourceObject: {fileID: 0} 40 | m_PrefabInstance: {fileID: 0} 41 | m_PrefabAsset: {fileID: 0} 42 | m_GameObject: {fileID: 4947905653590779253} 43 | m_Enabled: 1 44 | m_EditorHideFlags: 0 45 | m_Script: {fileID: 11500000, guid: b0df37c9ef33444fd8e2249cc6f8b46c, type: 3} 46 | m_Name: 47 | m_EditorClassIdentifier: 48 | prefab: {fileID: 623598950969334389, guid: 0239fb0358e2d4505aa064fff73a5a46, type: 3} 49 | interactionDelegate: {fileID: 0} 50 | externalReticleRaycast: {fileID: 0} 51 | useAryzonInputModule: 1 52 | timedClick: 1 53 | showDebugRay: 1 54 | debugRayLength: 5 55 | maxRaycastLength: 25 56 | reticleDistance: 0.7 57 | timeToClick: 0.8 58 | layers: 59 | serializedVersion: 2 60 | m_Bits: 2147483647 61 | disableScreenOverlaysInStereoMode: 1 62 | setWorldSpaceCameras: 1 63 | reticleAnimator: {fileID: 0} 64 | --- !u!114 &2733704630069788985 65 | MonoBehaviour: 66 | m_ObjectHideFlags: 0 67 | m_CorrespondingSourceObject: {fileID: 0} 68 | m_PrefabInstance: {fileID: 0} 69 | m_PrefabAsset: {fileID: 0} 70 | m_GameObject: {fileID: 4947905653590779253} 71 | m_Enabled: 1 72 | m_EditorHideFlags: 0 73 | m_Script: {fileID: 11500000, guid: a38f3961c31c3429f9cd6bb6a758247b, type: 3} 74 | m_Name: 75 | m_EditorClassIdentifier: 76 | activeOutsideAryzonMode: 0 77 | OnTriggerDown: 78 | m_PersistentCalls: 79 | m_Calls: [] 80 | OnTriggerUp: 81 | m_PersistentCalls: 82 | m_Calls: [] 83 | OnMenuDown: 84 | m_PersistentCalls: 85 | m_Calls: [] 86 | OnMenuUp: 87 | m_PersistentCalls: 88 | m_Calls: [] 89 | OnExitDown: 90 | m_PersistentCalls: 91 | m_Calls: [] 92 | OnExitUp: 93 | m_PersistentCalls: 94 | m_Calls: [] 95 | OnThumbDown: 96 | m_PersistentCalls: 97 | m_Calls: [] 98 | OnThumbUp: 99 | m_PersistentCalls: 100 | m_Calls: [] 101 | OnADown: 102 | m_PersistentCalls: 103 | m_Calls: [] 104 | OnAUp: 105 | m_PersistentCalls: 106 | m_Calls: [] 107 | OnBDown: 108 | m_PersistentCalls: 109 | m_Calls: [] 110 | OnBUp: 111 | m_PersistentCalls: 112 | m_Calls: [] 113 | OnXDown: 114 | m_PersistentCalls: 115 | m_Calls: [] 116 | OnXUp: 117 | m_PersistentCalls: 118 | m_Calls: [] 119 | OnYDown: 120 | m_PersistentCalls: 121 | m_Calls: [] 122 | OnYUp: 123 | m_PersistentCalls: 124 | m_Calls: [] 125 | OnControllerConnected: 126 | m_PersistentCalls: 127 | m_Calls: [] 128 | OnControllerDisconnected: 129 | m_PersistentCalls: 130 | m_Calls: [] 131 | -------------------------------------------------------------------------------- /Runtime/Graphics/ReticleDot.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8bff4449d451446118f0e17e507316ff 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 64 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 64 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 64 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 64 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 64 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 0 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Graphics/Aryzon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 029e4b5ebafb94cbbb471fb4dfa1a10a 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 128 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 128 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 128 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 128 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 128 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 1 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Graphics/Divider.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b41ea6f9282434afab4a96165c5ce41a 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 1 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 2048 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 1 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Graphics/Line 1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 888280c6072a34accacf2c08124e3fe2 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 1 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 2048 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 1 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Graphics/ReticleRing.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 355c05558889744a5a96bff6f1ac8a4b 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 64 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 64 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 64 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 64 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 64 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 0 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonButton.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 481c2a5b99f19405695b321cc1f37e6f 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 256 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 256 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 256 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 256 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 256 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 0 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Graphics/CancelButton.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87f062b218ffd4db3b0ca777d6c55eca 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 128 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 128 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 128 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 128 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 128 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 0 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Graphics/SettingsWheel.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e178abde7fd7a43e599bdfd1da01cf3b 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 128 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 0 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 128 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 0 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 128 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 0 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 128 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 0 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 128 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 0 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Graphics/line.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b43023a4a43b463aa2ac7023d4f6df0 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: 16 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 3 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | forceMaximumCompressionQuality_BC6H_BC7: 1 73 | - serializedVersion: 3 74 | buildTarget: Standalone 75 | maxTextureSize: 2048 76 | resizeAlgorithm: 0 77 | textureFormat: -1 78 | textureCompression: 1 79 | compressionQuality: 50 80 | crunchedCompression: 0 81 | allowsAlphaSplitting: 0 82 | overridden: 0 83 | androidETC2FallbackOverride: 0 84 | forceMaximumCompressionQuality_BC6H_BC7: 1 85 | - serializedVersion: 3 86 | buildTarget: iPhone 87 | maxTextureSize: 2048 88 | resizeAlgorithm: 0 89 | textureFormat: -1 90 | textureCompression: 1 91 | compressionQuality: 50 92 | crunchedCompression: 0 93 | allowsAlphaSplitting: 0 94 | overridden: 0 95 | androidETC2FallbackOverride: 0 96 | forceMaximumCompressionQuality_BC6H_BC7: 1 97 | - serializedVersion: 3 98 | buildTarget: Android 99 | maxTextureSize: 2048 100 | resizeAlgorithm: 0 101 | textureFormat: -1 102 | textureCompression: 1 103 | compressionQuality: 50 104 | crunchedCompression: 0 105 | allowsAlphaSplitting: 0 106 | overridden: 0 107 | androidETC2FallbackOverride: 0 108 | forceMaximumCompressionQuality_BC6H_BC7: 1 109 | - serializedVersion: 3 110 | buildTarget: WebGL 111 | maxTextureSize: 2048 112 | resizeAlgorithm: 0 113 | textureFormat: -1 114 | textureCompression: 1 115 | compressionQuality: 50 116 | crunchedCompression: 0 117 | allowsAlphaSplitting: 0 118 | overridden: 0 119 | androidETC2FallbackOverride: 0 120 | forceMaximumCompressionQuality_BC6H_BC7: 1 121 | spriteSheet: 122 | serializedVersion: 2 123 | sprites: [] 124 | outline: [] 125 | physicsShape: [] 126 | bones: [] 127 | spriteID: 5e97eb03825dee720800000000000000 128 | internalID: 0 129 | vertices: [] 130 | indices: 131 | edges: [] 132 | weights: [] 133 | secondaryTextures: [] 134 | spritePackingTag: 135 | pSDRemoveMatte: 0 136 | pSDShowRemoveMatteOption: 0 137 | userData: 138 | assetBundleName: 139 | assetBundleVariant: 140 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonConstants.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using UnityEngine; 5 | using static Aryzon.AryzonSettings.Controller; 6 | 7 | namespace Aryzon 8 | { 9 | public static class Constants 10 | { 11 | #if UNITY_ANDROID 12 | public const string CardboardApi = "GfxPluginCardboard"; 13 | #elif UNITY_IOS 14 | public const string CardboardApi = "__Internal"; 15 | #else 16 | public const string CardboardApi = "NOT_AVAILABLE"; 17 | #endif 18 | 19 | public static class ControllerModeA 20 | { 21 | #if UNITY_IOS 22 | public static KeyMap Trigger = new KeyMap(KeyCode.H, KeyCode.G); 23 | public static KeyMap Up = new KeyMap(KeyCode.W, KeyCode.E); 24 | public static KeyMap Down = new KeyMap(KeyCode.X, KeyCode.Z); 25 | public static KeyMap Right = new KeyMap(KeyCode.D, KeyCode.C); 26 | public static KeyMap Left = new KeyMap(KeyCode.A, KeyCode.Q); 27 | public static KeyMap Menu = new KeyMap(KeyCode.O, KeyCode.G); 28 | public static KeyMap Exit = new KeyMap(KeyCode.L, KeyCode.V); 29 | public static KeyMap A = new KeyMap(); 30 | public static KeyMap B = new KeyMap(KeyCode.U, KeyCode.F); 31 | public static KeyMap X = new KeyMap(); 32 | public static KeyMap Y = new KeyMap(KeyCode.J, KeyCode.N); 33 | #else 34 | public static KeyMap Trigger = new KeyMap(KeyCode.Return, KeyCode.Return); 35 | public static KeyMap Up = new KeyMap(KeyCode.UpArrow, KeyCode.UpArrow); 36 | public static KeyMap Down = new KeyMap(KeyCode.DownArrow, KeyCode.DownArrow); 37 | public static KeyMap Right = new KeyMap(KeyCode.RightArrow, KeyCode.RightArrow); 38 | public static KeyMap Left = new KeyMap(KeyCode.LeftArrow, KeyCode.LeftArrow); 39 | public static KeyMap Menu = new KeyMap(); 40 | public static KeyMap Exit = new KeyMap(KeyCode.L, KeyCode.V); 41 | public static KeyMap A = new KeyMap(); 42 | public static KeyMap B = new KeyMap(KeyCode.JoystickButton1, KeyCode.JoystickButton1); 43 | public static KeyMap X = new KeyMap(); 44 | public static KeyMap Y = new KeyMap(KeyCode.Menu, KeyCode.Menu); 45 | #endif 46 | } 47 | 48 | public static class ControllerModeY 49 | { 50 | #if UNITY_IOS 51 | public static KeyMap Trigger = new KeyMap(KeyCode.O, KeyCode.G); 52 | public static KeyMap Up = new KeyMap(KeyCode.A, KeyCode.Q); 53 | public static KeyMap Down = new KeyMap(KeyCode.D, KeyCode.C); 54 | public static KeyMap Right = new KeyMap(KeyCode.W, KeyCode.E); 55 | public static KeyMap Left = new KeyMap(KeyCode.X, KeyCode.Z); 56 | public static KeyMap Menu = new KeyMap(); 57 | public static KeyMap Exit = new KeyMap(KeyCode.L, KeyCode.V); 58 | public static KeyMap A = new KeyMap(KeyCode.H, KeyCode.R); 59 | public static KeyMap B = new KeyMap(KeyCode.U, KeyCode.F); 60 | public static KeyMap X = new KeyMap(KeyCode.Y, KeyCode.T); 61 | public static KeyMap Y = new KeyMap(KeyCode.J, KeyCode.N); 62 | #else 63 | public static KeyMap Trigger = new KeyMap(KeyCode.Return, KeyCode.Return); 64 | public static KeyMap Up = new KeyMap(KeyCode.UpArrow, KeyCode.UpArrow); 65 | public static KeyMap Down = new KeyMap(KeyCode.DownArrow, KeyCode.DownArrow); 66 | public static KeyMap Right = new KeyMap(KeyCode.RightArrow, KeyCode.RightArrow); 67 | public static KeyMap Left = new KeyMap(KeyCode.LeftArrow, KeyCode.LeftArrow); 68 | public static KeyMap Menu = new KeyMap(); 69 | public static KeyMap Exit = new KeyMap(KeyCode.L, KeyCode.V); 70 | public static KeyMap A = new KeyMap(); 71 | public static KeyMap B = new KeyMap(KeyCode.JoystickButton1, KeyCode.JoystickButton1); 72 | public static KeyMap X = new KeyMap(); 73 | public static KeyMap Y = new KeyMap(KeyCode.Menu, KeyCode.Menu); 74 | #endif 75 | } 76 | } 77 | } 78 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonControllerBlack.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 880c545872251498db34221198f2a101 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | ignoreMasterTextureLimit: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 1 37 | aniso: 1 38 | mipBias: 0 39 | wrapU: 1 40 | wrapV: 1 41 | wrapW: 0 42 | nPOTScale: 0 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 1 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 8 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | flipbookRows: 1 60 | flipbookColumns: 1 61 | maxTextureSizeSet: 0 62 | compressionQualitySet: 0 63 | textureFormatSet: 0 64 | ignorePngGamma: 0 65 | applyGammaDecoding: 0 66 | platformSettings: 67 | - serializedVersion: 3 68 | buildTarget: DefaultTexturePlatform 69 | maxTextureSize: 1024 70 | resizeAlgorithm: 0 71 | textureFormat: -1 72 | textureCompression: 1 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | androidETC2FallbackOverride: 0 78 | forceMaximumCompressionQuality_BC6H_BC7: 0 79 | - serializedVersion: 3 80 | buildTarget: Standalone 81 | maxTextureSize: 2048 82 | resizeAlgorithm: 0 83 | textureFormat: -1 84 | textureCompression: 1 85 | compressionQuality: 50 86 | crunchedCompression: 0 87 | allowsAlphaSplitting: 0 88 | overridden: 0 89 | androidETC2FallbackOverride: 0 90 | forceMaximumCompressionQuality_BC6H_BC7: 0 91 | - serializedVersion: 3 92 | buildTarget: Server 93 | maxTextureSize: 2048 94 | resizeAlgorithm: 0 95 | textureFormat: -1 96 | textureCompression: 1 97 | compressionQuality: 50 98 | crunchedCompression: 0 99 | allowsAlphaSplitting: 0 100 | overridden: 0 101 | androidETC2FallbackOverride: 0 102 | forceMaximumCompressionQuality_BC6H_BC7: 0 103 | - serializedVersion: 3 104 | buildTarget: Android 105 | maxTextureSize: 2048 106 | resizeAlgorithm: 0 107 | textureFormat: -1 108 | textureCompression: 1 109 | compressionQuality: 50 110 | crunchedCompression: 0 111 | allowsAlphaSplitting: 0 112 | overridden: 0 113 | androidETC2FallbackOverride: 0 114 | forceMaximumCompressionQuality_BC6H_BC7: 0 115 | - serializedVersion: 3 116 | buildTarget: iPhone 117 | maxTextureSize: 2048 118 | resizeAlgorithm: 0 119 | textureFormat: -1 120 | textureCompression: 1 121 | compressionQuality: 50 122 | crunchedCompression: 0 123 | allowsAlphaSplitting: 0 124 | overridden: 0 125 | androidETC2FallbackOverride: 0 126 | forceMaximumCompressionQuality_BC6H_BC7: 0 127 | spriteSheet: 128 | serializedVersion: 2 129 | sprites: [] 130 | outline: [] 131 | physicsShape: [] 132 | bones: [] 133 | spriteID: 5e97eb03825dee720800000000000000 134 | internalID: 0 135 | vertices: [] 136 | indices: 137 | edges: [] 138 | weights: [] 139 | secondaryTextures: [] 140 | nameFileIdTable: {} 141 | spritePackingTag: 142 | pSDRemoveMatte: 0 143 | pSDShowRemoveMatteOption: 0 144 | userData: 145 | assetBundleName: 146 | assetBundleVariant: 147 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonControllerModeAX.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10e9dc69f5b9947b88ba1961fe190ec5 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | ignoreMasterTextureLimit: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 1 37 | aniso: 1 38 | mipBias: 0 39 | wrapU: 1 40 | wrapV: 1 41 | wrapW: 0 42 | nPOTScale: 0 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 1 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 8 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | flipbookRows: 1 60 | flipbookColumns: 1 61 | maxTextureSizeSet: 0 62 | compressionQualitySet: 0 63 | textureFormatSet: 0 64 | ignorePngGamma: 0 65 | applyGammaDecoding: 0 66 | platformSettings: 67 | - serializedVersion: 3 68 | buildTarget: DefaultTexturePlatform 69 | maxTextureSize: 1024 70 | resizeAlgorithm: 0 71 | textureFormat: -1 72 | textureCompression: 1 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | androidETC2FallbackOverride: 0 78 | forceMaximumCompressionQuality_BC6H_BC7: 0 79 | - serializedVersion: 3 80 | buildTarget: Standalone 81 | maxTextureSize: 2048 82 | resizeAlgorithm: 0 83 | textureFormat: -1 84 | textureCompression: 1 85 | compressionQuality: 50 86 | crunchedCompression: 0 87 | allowsAlphaSplitting: 0 88 | overridden: 0 89 | androidETC2FallbackOverride: 0 90 | forceMaximumCompressionQuality_BC6H_BC7: 0 91 | - serializedVersion: 3 92 | buildTarget: Server 93 | maxTextureSize: 2048 94 | resizeAlgorithm: 0 95 | textureFormat: -1 96 | textureCompression: 1 97 | compressionQuality: 50 98 | crunchedCompression: 0 99 | allowsAlphaSplitting: 0 100 | overridden: 0 101 | androidETC2FallbackOverride: 0 102 | forceMaximumCompressionQuality_BC6H_BC7: 0 103 | - serializedVersion: 3 104 | buildTarget: Android 105 | maxTextureSize: 2048 106 | resizeAlgorithm: 0 107 | textureFormat: -1 108 | textureCompression: 1 109 | compressionQuality: 50 110 | crunchedCompression: 0 111 | allowsAlphaSplitting: 0 112 | overridden: 0 113 | androidETC2FallbackOverride: 0 114 | forceMaximumCompressionQuality_BC6H_BC7: 0 115 | - serializedVersion: 3 116 | buildTarget: iPhone 117 | maxTextureSize: 2048 118 | resizeAlgorithm: 0 119 | textureFormat: -1 120 | textureCompression: 1 121 | compressionQuality: 50 122 | crunchedCompression: 0 123 | allowsAlphaSplitting: 0 124 | overridden: 0 125 | androidETC2FallbackOverride: 0 126 | forceMaximumCompressionQuality_BC6H_BC7: 0 127 | spriteSheet: 128 | serializedVersion: 2 129 | sprites: [] 130 | outline: [] 131 | physicsShape: [] 132 | bones: [] 133 | spriteID: 5e97eb03825dee720800000000000000 134 | internalID: 0 135 | vertices: [] 136 | indices: 137 | edges: [] 138 | weights: [] 139 | secondaryTextures: [] 140 | nameFileIdTable: {} 141 | spritePackingTag: 142 | pSDRemoveMatte: 0 143 | pSDShowRemoveMatteOption: 0 144 | userData: 145 | assetBundleName: 146 | assetBundleVariant: 147 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonControllerModeY.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d6fa0eaec81d4cce9c72749cf7220b3 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | ignoreMasterTextureLimit: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 1 37 | aniso: 1 38 | mipBias: 0 39 | wrapU: 1 40 | wrapV: 1 41 | wrapW: 0 42 | nPOTScale: 0 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 1 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 8 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | flipbookRows: 1 60 | flipbookColumns: 1 61 | maxTextureSizeSet: 0 62 | compressionQualitySet: 0 63 | textureFormatSet: 0 64 | ignorePngGamma: 0 65 | applyGammaDecoding: 0 66 | platformSettings: 67 | - serializedVersion: 3 68 | buildTarget: DefaultTexturePlatform 69 | maxTextureSize: 1024 70 | resizeAlgorithm: 0 71 | textureFormat: -1 72 | textureCompression: 1 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | androidETC2FallbackOverride: 0 78 | forceMaximumCompressionQuality_BC6H_BC7: 0 79 | - serializedVersion: 3 80 | buildTarget: Standalone 81 | maxTextureSize: 2048 82 | resizeAlgorithm: 0 83 | textureFormat: -1 84 | textureCompression: 1 85 | compressionQuality: 50 86 | crunchedCompression: 0 87 | allowsAlphaSplitting: 0 88 | overridden: 0 89 | androidETC2FallbackOverride: 0 90 | forceMaximumCompressionQuality_BC6H_BC7: 0 91 | - serializedVersion: 3 92 | buildTarget: Server 93 | maxTextureSize: 2048 94 | resizeAlgorithm: 0 95 | textureFormat: -1 96 | textureCompression: 1 97 | compressionQuality: 50 98 | crunchedCompression: 0 99 | allowsAlphaSplitting: 0 100 | overridden: 0 101 | androidETC2FallbackOverride: 0 102 | forceMaximumCompressionQuality_BC6H_BC7: 0 103 | - serializedVersion: 3 104 | buildTarget: Android 105 | maxTextureSize: 2048 106 | resizeAlgorithm: 0 107 | textureFormat: -1 108 | textureCompression: 1 109 | compressionQuality: 50 110 | crunchedCompression: 0 111 | allowsAlphaSplitting: 0 112 | overridden: 0 113 | androidETC2FallbackOverride: 0 114 | forceMaximumCompressionQuality_BC6H_BC7: 0 115 | - serializedVersion: 3 116 | buildTarget: iPhone 117 | maxTextureSize: 2048 118 | resizeAlgorithm: 0 119 | textureFormat: -1 120 | textureCompression: 1 121 | compressionQuality: 50 122 | crunchedCompression: 0 123 | allowsAlphaSplitting: 0 124 | overridden: 0 125 | androidETC2FallbackOverride: 0 126 | forceMaximumCompressionQuality_BC6H_BC7: 0 127 | spriteSheet: 128 | serializedVersion: 2 129 | sprites: [] 130 | outline: [] 131 | physicsShape: [] 132 | bones: [] 133 | spriteID: 5e97eb03825dee720800000000000000 134 | internalID: 0 135 | vertices: [] 136 | indices: 137 | edges: [] 138 | weights: [] 139 | secondaryTextures: [] 140 | nameFileIdTable: {} 141 | spritePackingTag: 142 | pSDRemoveMatte: 0 143 | pSDShowRemoveMatteOption: 0 144 | userData: 145 | assetBundleName: 146 | assetBundleVariant: 147 | -------------------------------------------------------------------------------- /Runtime/Graphics/AryzonControllerTurnOn.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf3ca3d8bcf3d4411b105c9ada24a1a0 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 11 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | vTOnly: 0 27 | ignoreMasterTextureLimit: 0 28 | grayScaleToAlpha: 0 29 | generateCubemap: 6 30 | cubemapConvolution: 0 31 | seamlessCubemap: 0 32 | textureFormat: 1 33 | maxTextureSize: 2048 34 | textureSettings: 35 | serializedVersion: 2 36 | filterMode: 1 37 | aniso: 1 38 | mipBias: 0 39 | wrapU: 1 40 | wrapV: 1 41 | wrapW: 0 42 | nPOTScale: 0 43 | lightmap: 0 44 | compressionQuality: 50 45 | spriteMode: 1 46 | spriteExtrude: 1 47 | spriteMeshType: 1 48 | alignment: 0 49 | spritePivot: {x: 0.5, y: 0.5} 50 | spritePixelsToUnits: 100 51 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 52 | spriteGenerateFallbackPhysicsShape: 1 53 | alphaUsage: 1 54 | alphaIsTransparency: 1 55 | spriteTessellationDetail: -1 56 | textureType: 8 57 | textureShape: 1 58 | singleChannelComponent: 0 59 | flipbookRows: 1 60 | flipbookColumns: 1 61 | maxTextureSizeSet: 0 62 | compressionQualitySet: 0 63 | textureFormatSet: 0 64 | ignorePngGamma: 0 65 | applyGammaDecoding: 0 66 | platformSettings: 67 | - serializedVersion: 3 68 | buildTarget: DefaultTexturePlatform 69 | maxTextureSize: 1024 70 | resizeAlgorithm: 0 71 | textureFormat: -1 72 | textureCompression: 1 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | androidETC2FallbackOverride: 0 78 | forceMaximumCompressionQuality_BC6H_BC7: 0 79 | - serializedVersion: 3 80 | buildTarget: Standalone 81 | maxTextureSize: 2048 82 | resizeAlgorithm: 0 83 | textureFormat: -1 84 | textureCompression: 1 85 | compressionQuality: 50 86 | crunchedCompression: 0 87 | allowsAlphaSplitting: 0 88 | overridden: 0 89 | androidETC2FallbackOverride: 0 90 | forceMaximumCompressionQuality_BC6H_BC7: 0 91 | - serializedVersion: 3 92 | buildTarget: Server 93 | maxTextureSize: 2048 94 | resizeAlgorithm: 0 95 | textureFormat: -1 96 | textureCompression: 1 97 | compressionQuality: 50 98 | crunchedCompression: 0 99 | allowsAlphaSplitting: 0 100 | overridden: 0 101 | androidETC2FallbackOverride: 0 102 | forceMaximumCompressionQuality_BC6H_BC7: 0 103 | - serializedVersion: 3 104 | buildTarget: Android 105 | maxTextureSize: 2048 106 | resizeAlgorithm: 0 107 | textureFormat: -1 108 | textureCompression: 1 109 | compressionQuality: 50 110 | crunchedCompression: 0 111 | allowsAlphaSplitting: 0 112 | overridden: 0 113 | androidETC2FallbackOverride: 0 114 | forceMaximumCompressionQuality_BC6H_BC7: 0 115 | - serializedVersion: 3 116 | buildTarget: iPhone 117 | maxTextureSize: 2048 118 | resizeAlgorithm: 0 119 | textureFormat: -1 120 | textureCompression: 1 121 | compressionQuality: 50 122 | crunchedCompression: 0 123 | allowsAlphaSplitting: 0 124 | overridden: 0 125 | androidETC2FallbackOverride: 0 126 | forceMaximumCompressionQuality_BC6H_BC7: 0 127 | spriteSheet: 128 | serializedVersion: 2 129 | sprites: [] 130 | outline: [] 131 | physicsShape: [] 132 | bones: [] 133 | spriteID: 5e97eb03825dee720800000000000000 134 | internalID: 0 135 | vertices: [] 136 | indices: 137 | edges: [] 138 | weights: [] 139 | secondaryTextures: [] 140 | nameFileIdTable: {} 141 | spritePackingTag: 142 | pSDRemoveMatte: 0 143 | pSDShowRemoveMatteOption: 0 144 | userData: 145 | assetBundleName: 146 | assetBundleVariant: 147 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonCardboardSubsystemLoader.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | using System.Runtime.InteropServices; 5 | 6 | using UnityEngine; 7 | using UnityEngine.XR; 8 | 9 | using Google.XR.Cardboard; 10 | 11 | namespace Aryzon 12 | { 13 | public class AryzonCardboardSubsystemLoader 14 | { 15 | private static IntPtr _inputPointer; 16 | public static IntPtr inputPointer 17 | { 18 | get { if (isStarted) { return _inputPointer; } else { return IntPtr.Zero; } } 19 | set { _inputPointer = value; } 20 | } 21 | 22 | private static IntPtr _displayPointer; 23 | public static IntPtr displayPointer 24 | { 25 | get { if (isStarted) { return _displayPointer; } else { return IntPtr.Zero; } } 26 | set { _displayPointer = value; } 27 | } 28 | 29 | private static XRLoader loader; 30 | 31 | public static bool isInitialized = false; 32 | public static bool isStarted = false; 33 | 34 | private static string inputMatch = "Input"; 35 | 36 | public static void StartCardboard() 37 | { 38 | if (!loader) 39 | { 40 | loader = ScriptableObject.CreateInstance(); 41 | //XRLoader.renderWidgets = false; 42 | } 43 | #if !UNITY_EDITOR 44 | loader.Initialize(); 45 | #endif 46 | loader.Start(); 47 | ConnectCardboardInputSystem(); 48 | 49 | isStarted = true; 50 | 51 | ReloadDeviceParams(); 52 | 53 | if (!Api.HasDeviceParams()) 54 | { 55 | Api.ScanDeviceParams(); 56 | } 57 | } 58 | 59 | public static void StopCardboard() 60 | { 61 | if (loader) 62 | { 63 | loader.Stop(); 64 | loader.Deinitialize(); 65 | } 66 | isStarted = false; 67 | } 68 | 69 | public static void ReloadDeviceParams() 70 | { 71 | if (!isStarted) 72 | { 73 | return; 74 | } 75 | if (!String.IsNullOrWhiteSpace(AryzonSettings.Headset.url)) 76 | { 77 | Api.SaveDeviceParams(AryzonSettings.Headset.url); 78 | } 79 | if (AryzonSettings.Calibration.manualILD) 80 | { 81 | Api.SetInterLensDistance(AryzonSettings.Calibration.ILD); 82 | } 83 | if (AryzonSettings.Calibration.manualIPD) 84 | { 85 | Api.SetInterpupillaryDistance(AryzonSettings.Calibration.IPD); 86 | } 87 | Api.ReloadDeviceParams(); 88 | } 89 | 90 | public static void UpdateCardboard() 91 | { 92 | if (!isStarted) 93 | { 94 | return; 95 | } 96 | 97 | if (Api.IsGearButtonPressed) 98 | { 99 | Api.ScanDeviceParams(); 100 | } 101 | 102 | if (Api.IsCloseButtonPressed) 103 | { 104 | AryzonSettings.Instance.aryzonManager.StopAryzonMode(); 105 | } 106 | 107 | if (Api.HasNewDeviceParams()) 108 | { 109 | Api.ReloadDeviceParams(); 110 | } 111 | 112 | Api.UpdateScreenParams(); 113 | } 114 | 115 | private static void ConnectCardboardInputSystem() 116 | { 117 | List inputs = new List(); 118 | SubsystemManager.GetSubsystemDescriptors(inputs); 119 | 120 | foreach (var d in inputs) 121 | { 122 | if (d.id.Equals(inputMatch)) 123 | { 124 | XRInputSubsystem inputInst = d.Create(); 125 | 126 | if (inputInst != null) 127 | { 128 | GCHandle handle = GCHandle.Alloc(inputInst); 129 | inputPointer = GCHandle.ToIntPtr(handle); 130 | } 131 | } 132 | } 133 | } 134 | } 135 | } 136 | -------------------------------------------------------------------------------- /Runtime/Scripts/AryzonCanvasUtility.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace Aryzon.UI { 6 | [RequireComponent(typeof(Canvas))] 7 | public class AryzonCanvasUtility : MonoBehaviour, IAryzonEventHandler 8 | { 9 | [EnumFlag(2)] public PresentCanvasMode presentCanvasMode; 10 | private Canvas thisCanvas; 11 | private Camera beforeCamera; 12 | 13 | private void Awake() 14 | { 15 | thisCanvas = GetComponent(); 16 | beforeCamera = thisCanvas.worldCamera; 17 | AryzonSettings.Instance.RegisterEventHandler(this); 18 | 19 | #if !UNITY_WSA 20 | 21 | if ((AryzonSettings.Instance.aryzonManager == null || !AryzonSettings.Instance.aryzonManager.aryzonMode) && !presentCanvasMode.HasFlag(PresentCanvasMode.ShowIn2DMode)) { 22 | gameObject.SetActive(false); 23 | } else if (AryzonSettings.Instance.aryzonManager != null && AryzonSettings.Instance.aryzonManager.aryzonMode && !AryzonSettings.Instance.aryzonManager.stereoscopicMode && !presentCanvasMode.HasFlag(PresentCanvasMode.ShowIn2DMode)) { 24 | 25 | gameObject.SetActive(false); 26 | } else if ((AryzonSettings.Instance.aryzonManager == null && !presentCanvasMode.HasFlag(PresentCanvasMode.ShowInStereoscopicMode) && !presentCanvasMode.HasFlag(PresentCanvasMode.HideShowWithAryzonMode))) { 27 | 28 | gameObject.SetActive(false); 29 | } else if (AryzonSettings.Instance.aryzonManager != null && (AryzonSettings.Instance.aryzonManager.aryzonMode && AryzonSettings.Instance.aryzonManager.stereoscopicMode && !presentCanvasMode.HasFlag(PresentCanvasMode.ShowInStereoscopicMode))) { 30 | gameObject.SetActive(false); 31 | } 32 | 33 | #endif 34 | 35 | } 36 | 37 | public void OnStartStereoscopicMode (AryzonModeEventArgs args) { 38 | 39 | if (presentCanvasMode.HasFlag(PresentCanvasMode.ShowInStereoscopicMode)) { 40 | gameObject.SetActive(true); 41 | } else if (!presentCanvasMode.HasFlag(PresentCanvasMode.ShowInStereoscopicMode)) { 42 | gameObject.SetActive(false); 43 | } 44 | if (presentCanvasMode.HasFlag(PresentCanvasMode.SetWorldSpaceCamera)) { 45 | beforeCamera = thisCanvas.worldCamera; 46 | if (!AryzonSettings.Instance.aryzonManager.XRCamera) { 47 | Debug.LogWarning("[Aryzon] Please set the XRCamera in the AryzonManager."); 48 | } 49 | thisCanvas.worldCamera = AryzonSettings.Instance.aryzonManager.XRCamera; 50 | } 51 | } 52 | public void OnStopStereoscopicMode (AryzonModeEventArgs args) { 53 | 54 | if (presentCanvasMode.HasFlag(PresentCanvasMode.ShowIn2DMode) && !presentCanvasMode.HasFlag(PresentCanvasMode.HideShowWithAryzonMode)) { 55 | gameObject.SetActive(true); 56 | } else if (!presentCanvasMode.HasFlag(PresentCanvasMode.ShowIn2DMode)) { 57 | gameObject.SetActive(false); 58 | } 59 | if (presentCanvasMode.HasFlag(PresentCanvasMode.SetWorldSpaceCamera)) { 60 | thisCanvas.worldCamera = beforeCamera; 61 | } 62 | } 63 | 64 | public void OnStartAryzonMode (AryzonModeEventArgs args) { 65 | beforeCamera = thisCanvas.worldCamera; 66 | if (presentCanvasMode.HasFlag(PresentCanvasMode.HideShowWithAryzonMode)) { 67 | gameObject.SetActive(false); 68 | } 69 | } 70 | public void OnStopAryzonMode (AryzonModeEventArgs args) { 71 | thisCanvas.worldCamera = beforeCamera; 72 | if (presentCanvasMode.HasFlag(PresentCanvasMode.HideShowWithAryzonMode)) { 73 | gameObject.SetActive(true); 74 | } 75 | } 76 | 77 | private void OnDestroy() 78 | { 79 | if (AryzonSettings.Instance != null) { 80 | AryzonSettings.Instance.RegisterEventHandler(this); 81 | } 82 | } 83 | } 84 | 85 | public enum PresentCanvasMode { 86 | ShowIn2DMode = 1, 87 | ShowInStereoscopicMode = 1 << 1, 88 | HideShowWithAryzonMode = 1 << 2, 89 | SetWorldSpaceCamera = 1 << 4 90 | } 91 | } --------------------------------------------------------------------------------