├── .gitignore ├── Assets ├── HSVPicker.meta ├── HSVPicker │ ├── Editor.meta │ ├── Editor │ │ ├── BoxSliderEditor.cs │ │ └── BoxSliderEditor.cs.meta │ ├── Enums.meta │ ├── Enums │ │ ├── ColorValues.cs │ │ └── ColorValues.cs.meta │ ├── Events.meta │ ├── Events │ │ ├── ColorChangedEvent.cs │ │ ├── ColorChangedEvent.cs.meta │ │ ├── HSVChangedEvent.cs │ │ └── HSVChangedEvent.cs.meta │ ├── Other.meta │ ├── Other │ │ ├── ColorPickerTester.cs │ │ ├── ColorPickerTester.cs.meta │ │ ├── TiltWindow.cs │ │ └── TiltWindow.cs.meta │ ├── Picker 2.0.prefab │ ├── Picker 2.0.prefab.meta │ ├── PickerTest.unity │ ├── PickerTest.unity.meta │ ├── UI.meta │ ├── UI │ │ ├── ColorImage.cs │ │ ├── ColorImage.cs.meta │ │ ├── ColorLabel.cs │ │ ├── ColorLabel.cs.meta │ │ ├── ColorPicker.cs │ │ ├── ColorPicker.cs.meta │ │ ├── ColorPresets.cs │ │ ├── ColorPresets.cs.meta │ │ ├── ColorSlider.cs │ │ ├── ColorSlider.cs.meta │ │ ├── ColorSliderImage.cs │ │ ├── ColorSliderImage.cs.meta │ │ ├── HexColorField.cs │ │ ├── HexColorField.cs.meta │ │ ├── SVBoxSlider.cs │ │ └── SVBoxSlider.cs.meta │ ├── UtilityScripts.meta │ └── UtilityScripts │ │ ├── BoxSlider.cs │ │ ├── BoxSlider.cs.meta │ │ ├── HSVUtil.cs │ │ └── HSVUtil.cs.meta ├── Head Look Controller.meta ├── Head Look Controller │ ├── Head Look Test.unity │ ├── Head Look Test.unity.meta │ ├── Hero Artwork.meta │ ├── Hero Artwork │ │ ├── Hero.fbx │ │ ├── Hero.fbx.meta │ │ ├── Hero@Idle.fbx │ │ ├── Hero@Idle.fbx.meta │ │ ├── Hero@Idle1.fbx │ │ ├── Hero@Idle1.fbx.meta │ │ ├── Hero@Idle2.fbx │ │ ├── Hero@Idle2.fbx.meta │ │ ├── Hero@RunForward.fbx │ │ ├── Hero@RunForward.fbx.meta │ │ ├── Hero@WalkForward.fbx │ │ ├── Hero@WalkForward.fbx.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ │ ├── diffuse_1.mat │ │ │ ├── diffuse_1.mat.meta │ │ │ ├── diffuse_2.mat │ │ │ ├── diffuse_2.mat.meta │ │ │ ├── hair512.mat │ │ │ └── hair512.mat.meta │ │ ├── Textures.meta │ │ └── Textures │ │ │ ├── diffuse_1.tga │ │ │ ├── diffuse_1.tga.meta │ │ │ ├── diffuse_2.tga │ │ │ ├── diffuse_2.tga.meta │ │ │ ├── hair512.tga │ │ │ ├── hair512.tga.meta │ │ │ ├── normalmap_1.tga │ │ │ ├── normalmap_1.tga.meta │ │ │ ├── normalmap_2.tga │ │ │ └── normalmap_2.tga.meta │ ├── Materials.meta │ ├── Materials │ │ ├── Ground Material.mat │ │ ├── Ground Material.mat.meta │ │ ├── Target Material.mat │ │ └── Target Material.mat.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── CursorHit.cs │ │ ├── CursorHit.cs.meta │ │ ├── HeadLookController.cs │ │ ├── HeadLookController.cs.meta │ │ ├── HelpText.cs │ │ ├── HelpText.cs.meta │ │ ├── OrbitCamera.cs │ │ └── OrbitCamera.cs.meta │ ├── icon.png │ └── icon.png.meta ├── Materials.meta ├── Materials │ ├── 2000px-Checkerboard_pattern.svg.mat │ ├── 2000px-Checkerboard_pattern.svg.mat.meta │ ├── 2000px-Checkerboard_patternUV.svg.mat │ └── 2000px-Checkerboard_patternUV.svg.mat.meta ├── New Scene.unity ├── New Scene.unity.meta ├── ParticlePainter.cs ├── ParticlePainter.cs.meta ├── Plugins.meta ├── Plugins │ ├── iOS.meta │ └── iOS │ │ ├── UnityARKit.meta │ │ └── UnityARKit │ │ ├── AR3DOFCameraManager.cs │ │ ├── AR3DOFCameraManager.cs.meta │ │ ├── ARPlaneAnchorGameObject.cs │ │ ├── ARPlaneAnchorGameObject.cs.meta │ │ ├── DontDestroyOnLoad.cs │ │ ├── DontDestroyOnLoad.cs.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ ├── UnityARBuildPostprocessor.cs │ │ └── UnityARBuildPostprocessor.cs.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ ├── PointCloudMaterial.mat │ │ ├── PointCloudMaterial.mat.meta │ │ ├── PointCloudParticleMaterial.mat │ │ ├── PointCloudParticleMaterial.mat.meta │ │ ├── XColor.mat │ │ ├── XColor.mat.meta │ │ ├── YColor.mat │ │ ├── YColor.mat.meta │ │ ├── YUVMaterial.mat │ │ ├── YUVMaterial.mat.meta │ │ ├── ZColor.mat │ │ ├── ZColor.mat.meta │ │ ├── debugPlaneMaterial.mat │ │ └── debugPlaneMaterial.mat.meta │ │ ├── NativeInterface.meta │ │ ├── NativeInterface │ │ ├── ARAnchor.cs │ │ ├── ARAnchor.cs.meta │ │ ├── ARCamera.cs │ │ ├── ARCamera.cs.meta │ │ ├── ARErrorCode.cs │ │ ├── ARErrorCode.cs.meta │ │ ├── ARFrame.cs │ │ ├── ARFrame.cs.meta │ │ ├── ARHitTestResult.cs │ │ ├── ARHitTestResult.cs.meta │ │ ├── ARHitTestResultType.cs │ │ ├── ARHitTestResultType.cs.meta │ │ ├── ARLightEstimate.cs │ │ ├── ARLightEstimate.cs.meta │ │ ├── ARPlaneAnchor.cs │ │ ├── ARPlaneAnchor.cs.meta │ │ ├── ARPlaneAnchorAlignment.cs │ │ ├── ARPlaneAnchorAlignment.cs.meta │ │ ├── ARPoint.cs │ │ ├── ARPoint.cs.meta │ │ ├── ARRect.cs │ │ ├── ARRect.cs.meta │ │ ├── ARSessionNative.mm │ │ ├── ARSessionNative.mm.meta │ │ ├── ARSize.cs │ │ ├── ARSize.cs.meta │ │ ├── ARTextureHandles.cs │ │ ├── ARTextureHandles.cs.meta │ │ ├── ARTrackingQuality.cs │ │ ├── ARTrackingQuality.cs.meta │ │ ├── ARTrackingState.cs │ │ ├── ARTrackingState.cs.meta │ │ ├── ARTrackingStateReason.cs │ │ ├── ARTrackingStateReason.cs.meta │ │ ├── UnityARSessionNativeInterface.cs │ │ └── UnityARSessionNativeInterface.cs.meta │ │ ├── PointCloudParticleExample.cs │ │ ├── PointCloudParticleExample.cs.meta │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ ├── ParticlePainterPrefab.prefab │ │ ├── ParticlePainterPrefab.prefab.meta │ │ ├── ParticlePrefab.prefab │ │ ├── ParticlePrefab.prefab.meta │ │ ├── PointCloudPrefab.prefab │ │ ├── PointCloudPrefab.prefab.meta │ │ ├── collisionPlanePrefab.prefab │ │ ├── collisionPlanePrefab.prefab.meta │ │ ├── debugPlanePrefab.prefab │ │ └── debugPlanePrefab.prefab.meta │ │ ├── Shaders.meta │ │ ├── Shaders │ │ ├── YUVShader.shader │ │ └── YUVShader.shader.meta │ │ ├── Textures.meta │ │ ├── Textures │ │ ├── debugPlaneTile.png │ │ └── debugPlaneTile.png.meta │ │ ├── UnityARCameraManager.cs │ │ ├── UnityARCameraManager.cs.meta │ │ ├── UnityARGeneratePlane.cs │ │ ├── UnityARGeneratePlane.cs.meta │ │ ├── UnityARHitTestExample.cs │ │ ├── UnityARHitTestExample.cs.meta │ │ ├── UnityARKitControl.cs │ │ ├── UnityARKitControl.cs.meta │ │ ├── UnityARVideo.cs │ │ ├── UnityARVideo.cs.meta │ │ ├── UnityPointCloudExample.cs │ │ ├── UnityPointCloudExample.cs.meta │ │ ├── Utility.meta │ │ └── Utility │ │ ├── UnityARAnchorManager.cs │ │ ├── UnityARAnchorManager.cs.meta │ │ ├── UnityARMatrixOps.cs │ │ ├── UnityARMatrixOps.cs.meta │ │ ├── UnityARUtility.cs │ │ └── UnityARUtility.cs.meta ├── Sample.meta ├── Sample │ ├── Black.png │ ├── Black.png.meta │ ├── Kage.png │ ├── Kage.png.meta │ ├── MainColor.png │ ├── MainColor.png.meta │ ├── Materials.meta │ ├── Materials │ │ ├── lambert1.mat │ │ └── lambert1.mat.meta │ ├── Sample.unity │ ├── Sample.unity.meta │ ├── Sampler2.png │ ├── Sampler2.png.meta │ ├── ShadeColor.png │ ├── ShadeColor.png.meta │ ├── Sphere.fbx │ ├── Sphere.fbx.meta │ ├── ToonSample.mat │ ├── ToonSample.mat.meta │ ├── White.png │ └── White.png.meta ├── Toon.meta ├── Toon │ ├── Black.mat │ ├── Black.mat.meta │ ├── HiLight_Matcap.png │ ├── HiLight_Matcap.png.meta │ ├── SD_Unitychan_normal.png │ ├── SD_Unitychan_normal.png.meta │ ├── ToonShader.shader │ ├── ToonShader.shader.meta │ ├── ToonShader_Face.mat │ ├── ToonShader_Face.mat.meta │ ├── ToonShader_Hair.mat │ ├── ToonShader_Hair.mat.meta │ ├── ToonShader_Main.mat │ ├── ToonShader_Main.mat.meta │ ├── ToonShader_rim.shader │ ├── ToonShader_rim.shader.meta │ ├── ToonShader_rim_matcap.shader │ ├── ToonShader_rim_matcap.shader.meta │ ├── utc_all2_dark.png │ ├── utc_all2_dark.png.meta │ ├── utc_all2_light.png │ ├── utc_all2_light.png.meta │ ├── utc_all2_offsetdark.png │ ├── utc_all2_offsetdark.png.meta │ ├── utc_all2_outlinesmpler.png │ ├── utc_all2_outlinesmpler.png.meta │ ├── utc_all2_setkage.png │ └── utc_all2_setkage.png.meta ├── ToonShader.unity ├── ToonShader.unity.meta ├── UnityARAmbient.cs ├── UnityARAmbient.cs.meta ├── UnityARKitScene.unity ├── UnityARKitScene.unity.meta ├── UnityChan.meta ├── UnityChan │ ├── License.meta │ ├── License │ │ ├── UCL2.0.meta │ │ └── UCL2.0 │ │ │ ├── English.meta │ │ │ ├── English │ │ │ ├── 01Unity-Chan License Terms and Condition_EN_UCL2.0.pdf │ │ │ ├── 01Unity-Chan License Terms and Condition_EN_UCL2.0.pdf.meta │ │ │ ├── 02Unity-Chan License Terms and Condition_Summary_EN_UCL2.0.pdf │ │ │ ├── 02Unity-Chan License Terms and Condition_Summary_EN_UCL2.0.pdf.meta │ │ │ ├── 03Indication of License_EN_UCL2.0.pdf │ │ │ └── 03Indication of License_EN_UCL2.0.pdf.meta │ │ │ ├── Japanese.meta │ │ │ ├── Japanese │ │ │ ├── 01Unity-Chan License Terms and Condition_JP_UCL2.0.pdf │ │ │ ├── 01Unity-Chan License Terms and Condition_JP_UCL2.0.pdf.meta │ │ │ ├── 02Unity-Chan License Terms and Condition_Summary_JP_UCL2.0.pdf │ │ │ ├── 02Unity-Chan License Terms and Condition_Summary_JP_UCL2.0.pdf.meta │ │ │ ├── 03Indication of License_JP_UCL2.0.pdf │ │ │ └── 03Indication of License_JP_UCL2.0.pdf.meta │ │ │ ├── License Logo.meta │ │ │ └── License Logo │ │ │ ├── LUUL_LOGO_rules02.ai │ │ │ ├── LUUL_LOGO_rules02.ai.meta │ │ │ ├── LUUL_LOGO_rules02.psd │ │ │ ├── LUUL_LOGO_rules02.psd.meta │ │ │ ├── LUUL_logo-guideline.pdf │ │ │ ├── LUUL_logo-guideline.pdf.meta │ │ │ ├── LUUL_logo-guideline_en.pdf │ │ │ ├── LUUL_logo-guideline_en.pdf.meta │ │ │ ├── Others.meta │ │ │ └── Others │ │ │ ├── jpg.meta │ │ │ ├── jpg │ │ │ ├── Dark_Silhouette.jpg │ │ │ ├── Dark_Silhouette.jpg.meta │ │ │ ├── Light_Silhouette.jpg │ │ │ └── Light_Silhouette.jpg.meta │ │ │ ├── png.meta │ │ │ ├── png │ │ │ ├── Dark_Silhouette.png │ │ │ ├── Dark_Silhouette.png.meta │ │ │ ├── Light_Frame.png │ │ │ ├── Light_Frame.png.meta │ │ │ ├── Light_Silhouette.png │ │ │ └── Light_Silhouette.png.meta │ │ │ ├── svg.meta │ │ │ └── svg │ │ │ ├── Dark_Silhouette.svg │ │ │ ├── Dark_Silhouette.svg.meta │ │ │ ├── Light_Frame.svg │ │ │ ├── Light_Frame.svg.meta │ │ │ ├── Light_Silhouette.svg │ │ │ └── Light_Silhouette.svg.meta │ ├── SD_unitychan.meta │ ├── SD_unitychan │ │ ├── Animations.meta │ │ ├── Animations │ │ │ ├── SD_unitychan_motion_humanoid.controller │ │ │ ├── SD_unitychan_motion_humanoid.controller.meta │ │ │ ├── SD_unitychan_motion_humanoid.fbx │ │ │ └── SD_unitychan_motion_humanoid.fbx.meta │ │ ├── FaceAnimations.meta │ │ ├── FaceAnimations │ │ │ ├── Humanoid.meta │ │ │ ├── Humanoid │ │ │ │ ├── angry@sd_hmd.anim │ │ │ │ ├── angry@sd_hmd.anim.meta │ │ │ │ ├── confuse@sd_hmd.anim │ │ │ │ ├── confuse@sd_hmd.anim.meta │ │ │ │ ├── damaged@sd_hmd.anim │ │ │ │ ├── damaged@sd_hmd.anim.meta │ │ │ │ ├── default@sd_hmd.anim │ │ │ │ ├── default@sd_hmd.anim.meta │ │ │ │ ├── eye_close@sd_hmd.anim │ │ │ │ ├── eye_close@sd_hmd.anim.meta │ │ │ │ ├── mth_L@sd_hmd.anim │ │ │ │ ├── mth_L@sd_hmd.anim.meta │ │ │ │ ├── mth_R@sd_hmd.anim │ │ │ │ ├── mth_R@sd_hmd.anim.meta │ │ │ │ ├── mth_a@sd_hmd.anim │ │ │ │ ├── mth_a@sd_hmd.anim.meta │ │ │ │ ├── mth_e@sd_hmd.anim │ │ │ │ ├── mth_e@sd_hmd.anim.meta │ │ │ │ ├── mth_i@sd_hmd.anim │ │ │ │ ├── mth_i@sd_hmd.anim.meta │ │ │ │ ├── mth_o@sd_hmd.anim │ │ │ │ ├── mth_o@sd_hmd.anim.meta │ │ │ │ ├── mth_u@sd_hmd.anim │ │ │ │ ├── mth_u@sd_hmd.anim.meta │ │ │ │ ├── relux@sd_hmd.anim │ │ │ │ ├── relux@sd_hmd.anim.meta │ │ │ │ ├── sad@sd_hmd.anim │ │ │ │ ├── sad@sd_hmd.anim.meta │ │ │ │ ├── scold@sd_hmd.anim │ │ │ │ ├── scold@sd_hmd.anim.meta │ │ │ │ ├── smile2@sd_hmd.anim │ │ │ │ ├── smile2@sd_hmd.anim.meta │ │ │ │ ├── smile@sd_hmd.anim │ │ │ │ ├── smile@sd_hmd.anim.meta │ │ │ │ ├── strain@sd_hmd.anim │ │ │ │ ├── strain@sd_hmd.anim.meta │ │ │ │ ├── surprise@sd_hmd.anim │ │ │ │ └── surprise@sd_hmd.anim.meta │ │ │ ├── _faceOnly.mask │ │ │ └── _faceOnly.mask.meta │ │ ├── Models.meta │ │ ├── Models │ │ │ ├── Materials.meta │ │ │ ├── Materials │ │ │ │ ├── def_mat.mat │ │ │ │ └── def_mat.mat.meta │ │ │ ├── SD_unitychan_humanoid.fbx │ │ │ └── SD_unitychan_humanoid.fbx.meta │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ │ ├── ToonShader_SD_unitychan_humanoid.prefab │ │ │ └── ToonShader_SD_unitychan_humanoid.prefab.meta │ │ ├── ProcedualSky.mat │ │ ├── ProcedualSky.mat.meta │ │ ├── unitychan_tile3.mat │ │ ├── unitychan_tile3.mat.meta │ │ ├── unitychan_tile3.png │ │ └── unitychan_tile3.png.meta │ ├── Scripts.meta │ └── Scripts │ │ ├── AutoBlink.cs │ │ ├── AutoBlink.cs.meta │ │ ├── AutoBlinkforSD.cs │ │ ├── AutoBlinkforSD.cs.meta │ │ ├── CameraController.cs │ │ ├── CameraController.cs.meta │ │ ├── FaceUpdate.cs │ │ ├── FaceUpdate.cs.meta │ │ ├── IKCtrlRightHand.cs │ │ ├── IKCtrlRightHand.cs.meta │ │ ├── IdleChanger.cs │ │ ├── IdleChanger.cs.meta │ │ ├── PlayerEye.cs │ │ ├── PlayerEye.cs.meta │ │ ├── RandomWind.cs │ │ ├── RandomWind.cs.meta │ │ ├── RefleshProbe.cs │ │ ├── RefleshProbe.cs.meta │ │ ├── SpringBone.cs │ │ ├── SpringBone.cs.meta │ │ ├── SpringCollider.cs │ │ ├── SpringCollider.cs.meta │ │ ├── SpringManager.cs │ │ ├── SpringManager.cs.meta │ │ ├── ThirdPersonCamera.cs │ │ ├── ThirdPersonCamera.cs.meta │ │ ├── UnityChanControlScriptWithRgidBody.cs │ │ ├── UnityChanControlScriptWithRgidBody.cs.meta │ │ ├── UnityChanState.cs │ │ └── UnityChanState.cs.meta ├── UnityParticlePainter.unity ├── UnityParticlePainter.unity.meta ├── checker_large UV.gif └── checker_large UV.gif.meta ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | /[Ll]ibrary/ 2 | /[Tt]emp/ 3 | /[Oo]bj/ 4 | /[Bb]uild/ 5 | /[Bb]uilds/ 6 | /Assets/AssetStoreTools* 7 | 8 | # Autogenerated VS/MD solution and project files 9 | ExportedObj/ 10 | *.csproj 11 | *.unityproj 12 | *.sln 13 | *.suo 14 | *.tmp 15 | *.user 16 | *.userprefs 17 | *.pidb 18 | *.booproj 19 | *.svd 20 | 21 | # Unity3D generated meta files 22 | *.pidb.meta 23 | 24 | # Unity3D Generated File On Crash Reports 25 | sysinfo.txt 26 | 27 | # Builds 28 | *.apk 29 | *.unitypackage -------------------------------------------------------------------------------- /Assets/HSVPicker.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42ca15f1893ea4df79823e4a752e0032 3 | folderAsset: yes 4 | timeCreated: 1494022978 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a9e9df3c14e9034eb587348635c8f09 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Editor/BoxSliderEditor.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | 5 | namespace UnityEditor.UI 6 | { 7 | [CustomEditor(typeof(BoxSlider), true)] 8 | [CanEditMultipleObjects] 9 | public class BoxSliderEditor : SelectableEditor 10 | { 11 | 12 | SerializedProperty m_HandleRect; 13 | SerializedProperty m_MinValue; 14 | SerializedProperty m_MaxValue; 15 | SerializedProperty m_WholeNumbers; 16 | SerializedProperty m_Value; 17 | SerializedProperty m_ValueY; 18 | SerializedProperty m_OnValueChanged; 19 | 20 | protected override void OnEnable() 21 | { 22 | base.OnEnable(); 23 | m_HandleRect = serializedObject.FindProperty("m_HandleRect"); 24 | 25 | m_MinValue = serializedObject.FindProperty("m_MinValue"); 26 | m_MaxValue = serializedObject.FindProperty("m_MaxValue"); 27 | m_WholeNumbers = serializedObject.FindProperty("m_WholeNumbers"); 28 | m_Value = serializedObject.FindProperty("m_Value"); 29 | m_ValueY = serializedObject.FindProperty("m_ValueY"); 30 | m_OnValueChanged = serializedObject.FindProperty("m_OnValueChanged"); 31 | } 32 | 33 | public override void OnInspectorGUI() 34 | { 35 | base.OnInspectorGUI(); 36 | EditorGUILayout.Space(); 37 | 38 | serializedObject.Update(); 39 | 40 | EditorGUILayout.PropertyField(m_HandleRect); 41 | 42 | if (m_HandleRect.objectReferenceValue != null) 43 | { 44 | EditorGUI.BeginChangeCheck(); 45 | 46 | 47 | EditorGUILayout.PropertyField(m_MinValue); 48 | EditorGUILayout.PropertyField(m_MaxValue); 49 | EditorGUILayout.PropertyField(m_WholeNumbers); 50 | EditorGUILayout.Slider(m_Value, m_MinValue.floatValue, m_MaxValue.floatValue); 51 | EditorGUILayout.Slider(m_ValueY, m_MinValue.floatValue, m_MaxValue.floatValue); 52 | 53 | // Draw the event notification options 54 | EditorGUILayout.Space(); 55 | EditorGUILayout.PropertyField(m_OnValueChanged); 56 | } 57 | else 58 | { 59 | EditorGUILayout.HelpBox("Specify a RectTransform for the slider fill or the slider handle or both. Each must have a parent RectTransform that it can slide within.", MessageType.Info); 60 | } 61 | 62 | serializedObject.ApplyModifiedProperties(); 63 | } 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Editor/BoxSliderEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8701e045b26e51f4eb345f2ccb3c13f5 3 | timeCreated: 1426804458 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Enums.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d3904d3d18ddd544820bd8518990fee 3 | folderAsset: yes 4 | timeCreated: 1442586617 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Enums/ColorValues.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public enum ColorValues 4 | { 5 | R, 6 | G, 7 | B, 8 | A, 9 | 10 | Hue, 11 | Saturation, 12 | Value 13 | } 14 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Enums/ColorValues.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 859a1720e083e504cb68917f781e87c7 3 | timeCreated: 1442586608 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Events.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bb0d49c64210014e9a24ed9345928c2 3 | folderAsset: yes 4 | timeCreated: 1442747310 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Events/ColorChangedEvent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System; 3 | using UnityEngine.Events; 4 | 5 | [Serializable] 6 | public class ColorChangedEvent : UnityEvent 7 | { 8 | 9 | } -------------------------------------------------------------------------------- /Assets/HSVPicker/Events/ColorChangedEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff46fbecea7739f4690e4285c88f53c5 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Events/HSVChangedEvent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.Events; 3 | 4 | public class HSVChangedEvent : UnityEvent 5 | { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Events/HSVChangedEvent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d95ce8fba3dbbf4eb14411412169b88 3 | timeCreated: 1442747317 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Other.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 304681ea793fc054aa8ed2beab28d0b1 3 | folderAsset: yes 4 | timeCreated: 1442751317 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Other/ColorPickerTester.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class ColorPickerTester : MonoBehaviour 5 | { 6 | 7 | public new Renderer renderer; 8 | public ColorPicker picker; 9 | 10 | // Use this for initialization 11 | void Start () 12 | { 13 | picker.onValueChanged.AddListener(color => 14 | { 15 | renderer.material.color = color; 16 | }); 17 | renderer.material.color = picker.CurrentColor; 18 | } 19 | 20 | // Update is called once per frame 21 | void Update () { 22 | 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Other/ColorPickerTester.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 06851a815227e5044b0e3c1bf9b3a282 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Other/TiltWindow.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class TiltWindow : MonoBehaviour 4 | { 5 | public Vector2 range = new Vector2(5f, 3f); 6 | 7 | Transform mTrans; 8 | Quaternion mStart; 9 | Vector2 mRot = Vector2.zero; 10 | 11 | void Start () 12 | { 13 | mTrans = transform; 14 | mStart = mTrans.localRotation; 15 | } 16 | 17 | void Update () 18 | { 19 | Vector3 pos = Input.mousePosition; 20 | 21 | float halfWidth = Screen.width * 0.5f; 22 | float halfHeight = Screen.height * 0.5f; 23 | float x = Mathf.Clamp((pos.x - halfWidth) / halfWidth, -1f, 1f); 24 | float y = Mathf.Clamp((pos.y - halfHeight) / halfHeight, -1f, 1f); 25 | mRot = Vector2.Lerp(mRot, new Vector2(x, y), Time.deltaTime * 5f); 26 | 27 | mTrans.localRotation = mStart * Quaternion.Euler(-mRot.y * range.y, mRot.x * range.x, 0f); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Other/TiltWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2aa04a3e088320429a06194a3483daa 3 | timeCreated: 1426051352 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/Picker 2.0.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 916ee089a0d7b63419075f91e1c657ec 3 | timeCreated: 1442747914 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/HSVPicker/PickerTest.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce46c07f0028e314ab7767577ab5e7a6 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b5fe4e314cbd9944bcaa93e814e9bd5 3 | folderAsset: yes 4 | timeCreated: 1442586536 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorImage.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System.Collections; 4 | 5 | [RequireComponent(typeof(Image))] 6 | public class ColorImage : MonoBehaviour 7 | { 8 | public ColorPicker picker; 9 | 10 | private Image image; 11 | 12 | private void Awake() 13 | { 14 | image = GetComponent(); 15 | picker.onValueChanged.AddListener(ColorChanged); 16 | } 17 | 18 | private void OnDestroy() 19 | { 20 | picker.onValueChanged.RemoveListener(ColorChanged); 21 | } 22 | 23 | private void ColorChanged(Color newColor) 24 | { 25 | image.color = newColor; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bca58eb07ad66b498a2f158bcb13225 3 | timeCreated: 1442675622 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorLabel.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | using System; 4 | 5 | [RequireComponent(typeof(Text))] 6 | public class ColorLabel : MonoBehaviour 7 | { 8 | public ColorPicker picker; 9 | 10 | public ColorValues type; 11 | 12 | public string prefix = "R: "; 13 | public float minValue = 0; 14 | public float maxValue = 255; 15 | 16 | public int precision = 0; 17 | 18 | private Text label; 19 | 20 | private void Awake() 21 | { 22 | label = GetComponent(); 23 | 24 | } 25 | 26 | private void OnEnable() 27 | { 28 | if (Application.isPlaying && picker != null) 29 | { 30 | picker.onValueChanged.AddListener(ColorChanged); 31 | picker.onHSVChanged.AddListener(HSVChanged); 32 | } 33 | } 34 | 35 | private void OnDestroy() 36 | { 37 | if (picker != null) 38 | { 39 | picker.onValueChanged.RemoveListener(ColorChanged); 40 | picker.onHSVChanged.RemoveListener(HSVChanged); 41 | } 42 | } 43 | 44 | #if UNITY_EDITOR 45 | private void OnValidate() 46 | { 47 | label = GetComponent(); 48 | UpdateValue(); 49 | } 50 | #endif 51 | 52 | private void ColorChanged(Color color) 53 | { 54 | UpdateValue(); 55 | } 56 | 57 | private void HSVChanged(float hue, float sateration, float value) 58 | { 59 | UpdateValue(); 60 | } 61 | 62 | private void UpdateValue() 63 | { 64 | if (picker == null) 65 | { 66 | label.text = prefix + "-"; 67 | } 68 | else 69 | { 70 | float value = minValue + (picker.GetValue(type) * (maxValue - minValue)); 71 | 72 | label.text = prefix + ConvertToDisplayString(value); 73 | } 74 | } 75 | 76 | private string ConvertToDisplayString(float value) 77 | { 78 | if (precision > 0) 79 | return value.ToString("f " + precision); 80 | else 81 | return Mathf.FloorToInt(value).ToString(); 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorLabel.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b10e832a32d2d14facd8a3f489ee8d6 3 | timeCreated: 1442587803 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorPicker.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8262e4a8322117f4da079921eaa72834 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorPresets.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | public class ColorPresets : MonoBehaviour 5 | { 6 | public ColorPicker picker; 7 | public GameObject[] presets; 8 | public Image createPresetImage; 9 | 10 | void Awake() 11 | { 12 | // picker.onHSVChanged.AddListener(HSVChanged); 13 | picker.onValueChanged.AddListener(ColorChanged); 14 | } 15 | 16 | public void CreatePresetButton() 17 | { 18 | for (var i = 0; i < presets.Length; i++) 19 | { 20 | if (!presets[i].activeSelf) 21 | { 22 | presets[i].SetActive(true); 23 | presets[i].GetComponent().color = picker.CurrentColor; 24 | break; 25 | } 26 | } 27 | } 28 | 29 | public void PresetSelect(Image sender) 30 | { 31 | picker.CurrentColor = sender.color; 32 | } 33 | 34 | // Not working, it seems ConvertHsvToRgb() is broken. It doesn't work when fed 35 | // input h, s, v as shown below. 36 | // private void HSVChanged(float h, float s, float v) 37 | // { 38 | // createPresetImage.color = HSVUtil.ConvertHsvToRgb(h, s, v, 1); 39 | // } 40 | private void ColorChanged(Color color) 41 | { 42 | createPresetImage.color = color; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorPresets.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0923373e76e77402c9c53a2f1250ad3e 3 | timeCreated: 1456875791 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorSlider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c600592efa0cf25479655321bf4fb08a 3 | timeCreated: 1442586558 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/ColorSliderImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7ca76dd9ad6eb204c9b0481aece34497 3 | timeCreated: 1442682013 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/HexColorField.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d85c534b3c1560544b09d0996dfeba84 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UI/SVBoxSlider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e4240873631f724496efec97d7151b3 3 | timeCreated: 1442650713 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UtilityScripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b33138f525222146865861432dbe845 3 | folderAsset: yes 4 | timeCreated: 1426051345 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UtilityScripts/BoxSlider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37c44bc94a9a7f241b5b552f3ff89458 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/HSVPicker/UtilityScripts/HSVUtil.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f3189246d7fc204faba7a1e9c08e0af 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Head Look Controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: daec91e87521c4b08b0a8be06b8a84f7 3 | folderAsset: yes 4 | timeCreated: 1496911913 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Head Look Test.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Head Look Test.unity -------------------------------------------------------------------------------- /Assets/Head Look Controller/Head Look Test.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 797ab58603eb74527ac5009e25fd6c54 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17e9734628039478e92eb37899b9f91e 3 | folderAsset: yes 4 | timeCreated: 1496911913 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Hero.fbx -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38fdccca7a6994af69f12f0815470927 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 4300000: Hero 7 | materials: 8 | importMaterials: 1 9 | materialName: 3 10 | materialSearch: 1 11 | animations: 12 | legacyGenerateAnimations: 4 13 | bakeSimulation: 0 14 | resampleCurves: 1 15 | optimizeGameObjects: 0 16 | motionNodeName: 17 | rigImportErrors: 18 | rigImportWarnings: 19 | animationImportErrors: 20 | animationImportWarnings: 21 | animationRetargetingWarnings: 22 | animationDoRetargetingWarnings: 0 23 | animationCompression: 1 24 | animationRotationError: 0.5 25 | animationPositionError: 0.5 26 | animationScaleError: 0.5 27 | animationWrapMode: 0 28 | extraExposedTransformPaths: [] 29 | clipAnimations: [] 30 | isReadable: 1 31 | meshes: 32 | lODScreenPercentages: [] 33 | globalScale: 0.01 34 | meshCompression: 0 35 | addColliders: 0 36 | importBlendShapes: 1 37 | swapUVChannels: 0 38 | generateSecondaryUV: 0 39 | useFileUnits: 1 40 | optimizeMeshForGPU: 1 41 | keepQuads: 0 42 | weldVertices: 1 43 | secondaryUVAngleDistortion: 8 44 | secondaryUVAreaDistortion: 15.000001 45 | secondaryUVHardAngle: 88 46 | secondaryUVPackMargin: 4 47 | useFileScale: 0 48 | tangentSpace: 49 | normalSmoothAngle: 60 50 | normalImportMode: 0 51 | tangentImportMode: 1 52 | importAnimation: 1 53 | copyAvatar: 0 54 | humanDescription: 55 | serializedVersion: 2 56 | human: [] 57 | skeleton: [] 58 | armTwist: 0.5 59 | foreArmTwist: 0.5 60 | upperLegTwist: 0.5 61 | legTwist: 0.5 62 | armStretch: 0.05 63 | legStretch: 0.05 64 | feetSpacing: 0 65 | rootMotionBoneName: 66 | rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} 67 | hasTranslationDoF: 0 68 | hasExtraRoot: 0 69 | skeletonHasParents: 1 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 1 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@Idle.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Hero@Idle.fbx -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@Idle.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9053448d1081a4d4c80191eb5132d448 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 4300000: Hero 7 | materials: 8 | importMaterials: 1 9 | materialName: 3 10 | materialSearch: 1 11 | animations: 12 | legacyGenerateAnimations: 4 13 | bakeSimulation: 0 14 | resampleCurves: 1 15 | optimizeGameObjects: 0 16 | motionNodeName: 17 | rigImportErrors: 18 | rigImportWarnings: 19 | animationImportErrors: 20 | animationImportWarnings: 21 | animationRetargetingWarnings: 22 | animationDoRetargetingWarnings: 0 23 | animationCompression: 1 24 | animationRotationError: 0.5 25 | animationPositionError: 0.5 26 | animationScaleError: 0.5 27 | animationWrapMode: 0 28 | extraExposedTransformPaths: [] 29 | clipAnimations: [] 30 | isReadable: 1 31 | meshes: 32 | lODScreenPercentages: [] 33 | globalScale: 0.01 34 | meshCompression: 0 35 | addColliders: 0 36 | importBlendShapes: 1 37 | swapUVChannels: 0 38 | generateSecondaryUV: 0 39 | useFileUnits: 1 40 | optimizeMeshForGPU: 1 41 | keepQuads: 0 42 | weldVertices: 1 43 | secondaryUVAngleDistortion: 8 44 | secondaryUVAreaDistortion: 15.000001 45 | secondaryUVHardAngle: 88 46 | secondaryUVPackMargin: 4 47 | useFileScale: 0 48 | tangentSpace: 49 | normalSmoothAngle: 60 50 | normalImportMode: 0 51 | tangentImportMode: 1 52 | importAnimation: 1 53 | copyAvatar: 0 54 | humanDescription: 55 | serializedVersion: 2 56 | human: [] 57 | skeleton: [] 58 | armTwist: 0.5 59 | foreArmTwist: 0.5 60 | upperLegTwist: 0.5 61 | legTwist: 0.5 62 | armStretch: 0.05 63 | legStretch: 0.05 64 | feetSpacing: 0 65 | rootMotionBoneName: 66 | rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} 67 | hasTranslationDoF: 0 68 | hasExtraRoot: 0 69 | skeletonHasParents: 1 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 1 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@Idle1.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Hero@Idle1.fbx -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@Idle1.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1a49aecc7b7bc4e518145080c346d051 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 4300000: Hero 7 | materials: 8 | importMaterials: 1 9 | materialName: 3 10 | materialSearch: 1 11 | animations: 12 | legacyGenerateAnimations: 4 13 | bakeSimulation: 0 14 | resampleCurves: 1 15 | optimizeGameObjects: 0 16 | motionNodeName: 17 | rigImportErrors: 18 | rigImportWarnings: 19 | animationImportErrors: 20 | animationImportWarnings: 21 | animationRetargetingWarnings: 22 | animationDoRetargetingWarnings: 0 23 | animationCompression: 1 24 | animationRotationError: 0.5 25 | animationPositionError: 0.5 26 | animationScaleError: 0.5 27 | animationWrapMode: 0 28 | extraExposedTransformPaths: [] 29 | clipAnimations: [] 30 | isReadable: 1 31 | meshes: 32 | lODScreenPercentages: [] 33 | globalScale: 0.01 34 | meshCompression: 0 35 | addColliders: 0 36 | importBlendShapes: 1 37 | swapUVChannels: 0 38 | generateSecondaryUV: 0 39 | useFileUnits: 1 40 | optimizeMeshForGPU: 1 41 | keepQuads: 0 42 | weldVertices: 1 43 | secondaryUVAngleDistortion: 8 44 | secondaryUVAreaDistortion: 15.000001 45 | secondaryUVHardAngle: 88 46 | secondaryUVPackMargin: 4 47 | useFileScale: 0 48 | tangentSpace: 49 | normalSmoothAngle: 60 50 | normalImportMode: 0 51 | tangentImportMode: 1 52 | importAnimation: 1 53 | copyAvatar: 0 54 | humanDescription: 55 | serializedVersion: 2 56 | human: [] 57 | skeleton: [] 58 | armTwist: 0.5 59 | foreArmTwist: 0.5 60 | upperLegTwist: 0.5 61 | legTwist: 0.5 62 | armStretch: 0.05 63 | legStretch: 0.05 64 | feetSpacing: 0 65 | rootMotionBoneName: 66 | rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} 67 | hasTranslationDoF: 0 68 | hasExtraRoot: 0 69 | skeletonHasParents: 1 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 1 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@Idle2.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Hero@Idle2.fbx -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@Idle2.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41610c219e3ab4d9cb76d1c3ff041508 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 4300000: Hero 7 | materials: 8 | importMaterials: 1 9 | materialName: 3 10 | materialSearch: 1 11 | animations: 12 | legacyGenerateAnimations: 4 13 | bakeSimulation: 0 14 | resampleCurves: 1 15 | optimizeGameObjects: 0 16 | motionNodeName: 17 | rigImportErrors: 18 | rigImportWarnings: 19 | animationImportErrors: 20 | animationImportWarnings: 21 | animationRetargetingWarnings: 22 | animationDoRetargetingWarnings: 0 23 | animationCompression: 1 24 | animationRotationError: 0.5 25 | animationPositionError: 0.5 26 | animationScaleError: 0.5 27 | animationWrapMode: 0 28 | extraExposedTransformPaths: [] 29 | clipAnimations: [] 30 | isReadable: 1 31 | meshes: 32 | lODScreenPercentages: [] 33 | globalScale: 0.01 34 | meshCompression: 0 35 | addColliders: 0 36 | importBlendShapes: 1 37 | swapUVChannels: 0 38 | generateSecondaryUV: 0 39 | useFileUnits: 1 40 | optimizeMeshForGPU: 1 41 | keepQuads: 0 42 | weldVertices: 1 43 | secondaryUVAngleDistortion: 8 44 | secondaryUVAreaDistortion: 15.000001 45 | secondaryUVHardAngle: 88 46 | secondaryUVPackMargin: 4 47 | useFileScale: 0 48 | tangentSpace: 49 | normalSmoothAngle: 60 50 | normalImportMode: 0 51 | tangentImportMode: 1 52 | importAnimation: 1 53 | copyAvatar: 0 54 | humanDescription: 55 | serializedVersion: 2 56 | human: [] 57 | skeleton: [] 58 | armTwist: 0.5 59 | foreArmTwist: 0.5 60 | upperLegTwist: 0.5 61 | legTwist: 0.5 62 | armStretch: 0.05 63 | legStretch: 0.05 64 | feetSpacing: 0 65 | rootMotionBoneName: 66 | rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} 67 | hasTranslationDoF: 0 68 | hasExtraRoot: 0 69 | skeletonHasParents: 1 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 1 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@RunForward.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Hero@RunForward.fbx -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@RunForward.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3e4e6ba694a149fb8c7be5c6bfc5fae 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 4300000: Hero 7 | materials: 8 | importMaterials: 1 9 | materialName: 3 10 | materialSearch: 1 11 | animations: 12 | legacyGenerateAnimations: 4 13 | bakeSimulation: 0 14 | resampleCurves: 1 15 | optimizeGameObjects: 0 16 | motionNodeName: 17 | rigImportErrors: 18 | rigImportWarnings: 19 | animationImportErrors: 20 | animationImportWarnings: 21 | animationRetargetingWarnings: 22 | animationDoRetargetingWarnings: 0 23 | animationCompression: 1 24 | animationRotationError: 0.5 25 | animationPositionError: 0.5 26 | animationScaleError: 0.5 27 | animationWrapMode: 0 28 | extraExposedTransformPaths: [] 29 | clipAnimations: [] 30 | isReadable: 1 31 | meshes: 32 | lODScreenPercentages: [] 33 | globalScale: 0.01 34 | meshCompression: 0 35 | addColliders: 0 36 | importBlendShapes: 1 37 | swapUVChannels: 0 38 | generateSecondaryUV: 0 39 | useFileUnits: 1 40 | optimizeMeshForGPU: 1 41 | keepQuads: 0 42 | weldVertices: 1 43 | secondaryUVAngleDistortion: 8 44 | secondaryUVAreaDistortion: 15.000001 45 | secondaryUVHardAngle: 88 46 | secondaryUVPackMargin: 4 47 | useFileScale: 0 48 | tangentSpace: 49 | normalSmoothAngle: 60 50 | normalImportMode: 0 51 | tangentImportMode: 1 52 | importAnimation: 1 53 | copyAvatar: 0 54 | humanDescription: 55 | serializedVersion: 2 56 | human: [] 57 | skeleton: [] 58 | armTwist: 0.5 59 | foreArmTwist: 0.5 60 | upperLegTwist: 0.5 61 | legTwist: 0.5 62 | armStretch: 0.05 63 | legStretch: 0.05 64 | feetSpacing: 0 65 | rootMotionBoneName: 66 | rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} 67 | hasTranslationDoF: 0 68 | hasExtraRoot: 0 69 | skeletonHasParents: 1 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 1 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@WalkForward.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Hero@WalkForward.fbx -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Hero@WalkForward.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 083c7b3f7c3544b1d94188c355014299 3 | ModelImporter: 4 | serializedVersion: 19 5 | fileIDToRecycleName: 6 | 4300000: Hero 7 | materials: 8 | importMaterials: 1 9 | materialName: 3 10 | materialSearch: 1 11 | animations: 12 | legacyGenerateAnimations: 4 13 | bakeSimulation: 0 14 | resampleCurves: 1 15 | optimizeGameObjects: 0 16 | motionNodeName: 17 | rigImportErrors: 18 | rigImportWarnings: 19 | animationImportErrors: 20 | animationImportWarnings: 21 | animationRetargetingWarnings: 22 | animationDoRetargetingWarnings: 0 23 | animationCompression: 1 24 | animationRotationError: 0.5 25 | animationPositionError: 0.5 26 | animationScaleError: 0.5 27 | animationWrapMode: 0 28 | extraExposedTransformPaths: [] 29 | clipAnimations: [] 30 | isReadable: 1 31 | meshes: 32 | lODScreenPercentages: [] 33 | globalScale: 0.01 34 | meshCompression: 0 35 | addColliders: 0 36 | importBlendShapes: 1 37 | swapUVChannels: 0 38 | generateSecondaryUV: 0 39 | useFileUnits: 1 40 | optimizeMeshForGPU: 1 41 | keepQuads: 0 42 | weldVertices: 1 43 | secondaryUVAngleDistortion: 8 44 | secondaryUVAreaDistortion: 15.000001 45 | secondaryUVHardAngle: 88 46 | secondaryUVPackMargin: 4 47 | useFileScale: 0 48 | tangentSpace: 49 | normalSmoothAngle: 60 50 | normalImportMode: 0 51 | tangentImportMode: 1 52 | importAnimation: 1 53 | copyAvatar: 0 54 | humanDescription: 55 | serializedVersion: 2 56 | human: [] 57 | skeleton: [] 58 | armTwist: 0.5 59 | foreArmTwist: 0.5 60 | upperLegTwist: 0.5 61 | legTwist: 0.5 62 | armStretch: 0.05 63 | legStretch: 0.05 64 | feetSpacing: 0 65 | rootMotionBoneName: 66 | rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1} 67 | hasTranslationDoF: 0 68 | hasExtraRoot: 0 69 | skeletonHasParents: 1 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 1 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb3d6d9ff2129434baf8c35602d5400c 3 | folderAsset: yes 4 | timeCreated: 1496911913 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Materials/diffuse_1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Materials/diffuse_1.mat -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Materials/diffuse_1.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2fbc7c70b457f425695256fa490bcf50 3 | NativeFormatImporter: 4 | mainObjectFileID: -1 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Materials/diffuse_2.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Materials/diffuse_2.mat -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Materials/diffuse_2.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a571b638e15546f09e0fa746a884b3e 3 | NativeFormatImporter: 4 | mainObjectFileID: -1 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Materials/hair512.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Materials/hair512.mat -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Materials/hair512.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e557c64373f84f9aaa8015a6f9c4a4a 3 | NativeFormatImporter: 4 | mainObjectFileID: -1 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42b4dad08860b406a8fc6935d3e6c275 3 | folderAsset: yes 4 | timeCreated: 1496911913 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/diffuse_1.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Textures/diffuse_1.tga -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/diffuse_1.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0588dd87edc5244de8a2c55ae2120486 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 4 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | sRGBTexture: 1 10 | linearTexture: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 6 23 | cubemapConvolution: 0 24 | seamlessCubemap: 0 25 | textureFormat: -1 26 | maxTextureSize: 1024 27 | textureSettings: 28 | filterMode: 1 29 | aniso: 1 30 | mipBias: 0 31 | wrapMode: 0 32 | nPOTScale: 0 33 | lightmap: 0 34 | compressionQuality: 50 35 | spriteMode: 0 36 | spriteExtrude: 1 37 | spriteMeshType: 1 38 | alignment: 0 39 | spritePivot: {x: 0.5, y: 0.5} 40 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 41 | spritePixelsToUnits: 100 42 | alphaUsage: 1 43 | alphaIsTransparency: 0 44 | spriteTessellationDetail: -1 45 | textureType: 0 46 | textureShape: 1 47 | maxTextureSizeSet: 0 48 | compressionQualitySet: 0 49 | textureFormatSet: 0 50 | platformSettings: 51 | - buildTarget: DefaultTexturePlatform 52 | maxTextureSize: 1024 53 | textureFormat: -1 54 | textureCompression: 1 55 | compressionQuality: 50 56 | crunchedCompression: 0 57 | allowsAlphaSplitting: 0 58 | overridden: 0 59 | spriteSheet: 60 | serializedVersion: 2 61 | sprites: [] 62 | outline: [] 63 | spritePackingTag: 64 | userData: 65 | assetBundleName: 66 | assetBundleVariant: 67 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/diffuse_2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Textures/diffuse_2.tga -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/diffuse_2.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76df8dffb27be49928f0bb9966993af7 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 4 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | sRGBTexture: 1 10 | linearTexture: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 6 23 | cubemapConvolution: 0 24 | seamlessCubemap: 0 25 | textureFormat: -1 26 | maxTextureSize: 1024 27 | textureSettings: 28 | filterMode: 1 29 | aniso: 1 30 | mipBias: 0 31 | wrapMode: 0 32 | nPOTScale: 0 33 | lightmap: 0 34 | compressionQuality: 50 35 | spriteMode: 0 36 | spriteExtrude: 1 37 | spriteMeshType: 1 38 | alignment: 0 39 | spritePivot: {x: 0.5, y: 0.5} 40 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 41 | spritePixelsToUnits: 100 42 | alphaUsage: 1 43 | alphaIsTransparency: 0 44 | spriteTessellationDetail: -1 45 | textureType: 0 46 | textureShape: 1 47 | maxTextureSizeSet: 0 48 | compressionQualitySet: 0 49 | textureFormatSet: 0 50 | platformSettings: 51 | - buildTarget: DefaultTexturePlatform 52 | maxTextureSize: 1024 53 | textureFormat: -1 54 | textureCompression: 1 55 | compressionQuality: 50 56 | crunchedCompression: 0 57 | allowsAlphaSplitting: 0 58 | overridden: 0 59 | spriteSheet: 60 | serializedVersion: 2 61 | sprites: [] 62 | outline: [] 63 | spritePackingTag: 64 | userData: 65 | assetBundleName: 66 | assetBundleVariant: 67 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/hair512.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Textures/hair512.tga -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/hair512.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b81d358510154e4ba01151682a495c3 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 4 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | sRGBTexture: 1 10 | linearTexture: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 6 23 | cubemapConvolution: 0 24 | seamlessCubemap: 0 25 | textureFormat: -1 26 | maxTextureSize: 1024 27 | textureSettings: 28 | filterMode: 1 29 | aniso: 1 30 | mipBias: 0 31 | wrapMode: 1 32 | nPOTScale: 0 33 | lightmap: 0 34 | compressionQuality: 50 35 | spriteMode: 0 36 | spriteExtrude: 1 37 | spriteMeshType: 1 38 | alignment: 0 39 | spritePivot: {x: 0.5, y: 0.5} 40 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 41 | spritePixelsToUnits: 100 42 | alphaUsage: 1 43 | alphaIsTransparency: 0 44 | spriteTessellationDetail: -1 45 | textureType: 0 46 | textureShape: 1 47 | maxTextureSizeSet: 0 48 | compressionQualitySet: 0 49 | textureFormatSet: 0 50 | platformSettings: 51 | - buildTarget: DefaultTexturePlatform 52 | maxTextureSize: 1024 53 | textureFormat: -1 54 | textureCompression: 1 55 | compressionQuality: 50 56 | crunchedCompression: 0 57 | allowsAlphaSplitting: 0 58 | overridden: 0 59 | spriteSheet: 60 | serializedVersion: 2 61 | sprites: [] 62 | outline: [] 63 | spritePackingTag: 64 | userData: 65 | assetBundleName: 66 | assetBundleVariant: 67 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/normalmap_1.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Textures/normalmap_1.tga -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/normalmap_1.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef4db02d9fee84cce8136e61609dd720 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 4 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | sRGBTexture: 1 10 | linearTexture: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 1 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 6 23 | cubemapConvolution: 0 24 | seamlessCubemap: 0 25 | textureFormat: -1 26 | maxTextureSize: 1024 27 | textureSettings: 28 | filterMode: 1 29 | aniso: 1 30 | mipBias: 0 31 | wrapMode: 0 32 | nPOTScale: 0 33 | lightmap: 0 34 | compressionQuality: 50 35 | spriteMode: 0 36 | spriteExtrude: 1 37 | spriteMeshType: 1 38 | alignment: 0 39 | spritePivot: {x: 0.5, y: 0.5} 40 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 41 | spritePixelsToUnits: 100 42 | alphaUsage: 1 43 | alphaIsTransparency: 0 44 | spriteTessellationDetail: -1 45 | textureType: 1 46 | textureShape: 1 47 | maxTextureSizeSet: 0 48 | compressionQualitySet: 0 49 | textureFormatSet: 0 50 | platformSettings: 51 | - buildTarget: DefaultTexturePlatform 52 | maxTextureSize: 1024 53 | textureFormat: -1 54 | textureCompression: 1 55 | compressionQuality: 50 56 | crunchedCompression: 0 57 | allowsAlphaSplitting: 0 58 | overridden: 0 59 | spriteSheet: 60 | serializedVersion: 2 61 | sprites: [] 62 | outline: [] 63 | spritePackingTag: 64 | userData: 65 | assetBundleName: 66 | assetBundleVariant: 67 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/normalmap_2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Hero Artwork/Textures/normalmap_2.tga -------------------------------------------------------------------------------- /Assets/Head Look Controller/Hero Artwork/Textures/normalmap_2.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02f24cb702a05403b8348d608877e2ee 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 4 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | sRGBTexture: 1 10 | linearTexture: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 1 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 6 23 | cubemapConvolution: 0 24 | seamlessCubemap: 0 25 | textureFormat: -1 26 | maxTextureSize: 1024 27 | textureSettings: 28 | filterMode: 1 29 | aniso: 1 30 | mipBias: 0 31 | wrapMode: 0 32 | nPOTScale: 0 33 | lightmap: 0 34 | compressionQuality: 50 35 | spriteMode: 0 36 | spriteExtrude: 1 37 | spriteMeshType: 1 38 | alignment: 0 39 | spritePivot: {x: 0.5, y: 0.5} 40 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 41 | spritePixelsToUnits: 100 42 | alphaUsage: 1 43 | alphaIsTransparency: 0 44 | spriteTessellationDetail: -1 45 | textureType: 1 46 | textureShape: 1 47 | maxTextureSizeSet: 0 48 | compressionQualitySet: 0 49 | textureFormatSet: 0 50 | platformSettings: 51 | - buildTarget: DefaultTexturePlatform 52 | maxTextureSize: 1024 53 | textureFormat: -1 54 | textureCompression: 1 55 | compressionQuality: 50 56 | crunchedCompression: 0 57 | allowsAlphaSplitting: 0 58 | overridden: 0 59 | spriteSheet: 60 | serializedVersion: 2 61 | sprites: [] 62 | outline: [] 63 | spritePackingTag: 64 | userData: 65 | assetBundleName: 66 | assetBundleVariant: 67 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eecd1b5381dbf4524a6a9af699429efb 3 | folderAsset: yes 4 | timeCreated: 1496911913 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Materials/Ground Material.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Materials/Ground Material.mat -------------------------------------------------------------------------------- /Assets/Head Look Controller/Materials/Ground Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e5cd9f8e8949641ff80db93401077563 3 | NativeFormatImporter: 4 | mainObjectFileID: -1 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Materials/Target Material.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/Materials/Target Material.mat -------------------------------------------------------------------------------- /Assets/Head Look Controller/Materials/Target Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6977c9898edb048eb8c3b4ef7236f8ae 3 | NativeFormatImporter: 4 | mainObjectFileID: -1 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1157822af0ae74939bdbf950d1564547 3 | folderAsset: yes 4 | timeCreated: 1496911913 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Scripts/CursorHit.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class CursorHit : MonoBehaviour { 5 | 6 | public HeadLookController headLook; 7 | private float offset = 1.5f; 8 | 9 | // Update is called once per frame 10 | void LateUpdate () { 11 | if (Input.GetKey(KeyCode.UpArrow)) 12 | offset += Time.deltaTime; 13 | if (Input.GetKey(KeyCode.DownArrow)) 14 | offset -= Time.deltaTime; 15 | 16 | Ray cursorRay = Camera.main.ScreenPointToRay(Input.mousePosition); 17 | RaycastHit hit; 18 | if (Physics.Raycast(cursorRay, out hit)) { 19 | transform.position = hit.point + offset * Vector3.up; 20 | } 21 | 22 | headLook.target = transform.position; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Scripts/CursorHit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 301b6abf19dd84c80a99995430a39dcf 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Scripts/HeadLookController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb4fa562d67034868a9aafbe4b663012 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Scripts/HelpText.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class HelpText : MonoBehaviour { 5 | void OnGUI () { 6 | GUILayout.Label("Move mouse to move look-at point"); 7 | GUILayout.Label("Use up and down arrows to change height"); 8 | GUILayout.Label("Left-drag to orbit camera"); 9 | GUILayout.Label("Right-drag to zoom camera"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Scripts/HelpText.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 963cf8a3216994cf9932ca3021f0d63d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Scripts/OrbitCamera.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class OrbitCamera : MonoBehaviour { 5 | 6 | public Transform target; 7 | public Transform cam; 8 | public Vector3 offset = Vector3.zero; 9 | private float cameraRotSide; 10 | private float cameraRotUp; 11 | private float cameraRotSideCur; 12 | private float cameraRotUpCur; 13 | private float distance; 14 | 15 | void Start () { 16 | cameraRotSide = transform.eulerAngles.y; 17 | cameraRotSideCur = transform.eulerAngles.y; 18 | cameraRotUp = transform.eulerAngles.x; 19 | cameraRotUpCur = transform.eulerAngles.x; 20 | distance = -cam.localPosition.z; 21 | } 22 | 23 | // Update is called once per frame 24 | void Update () { 25 | if (Input.GetMouseButton(0)) { 26 | cameraRotSide += Input.GetAxis("Mouse X")*5; 27 | cameraRotUp -= Input.GetAxis("Mouse Y")*5; 28 | } 29 | cameraRotSideCur = Mathf.LerpAngle(cameraRotSideCur, cameraRotSide, Time.deltaTime*5); 30 | cameraRotUpCur = Mathf.Lerp(cameraRotUpCur, cameraRotUp, Time.deltaTime*5); 31 | 32 | if (Input.GetMouseButton(1)) { 33 | distance *= (1-0.1f*Input.GetAxis("Mouse Y")); 34 | } 35 | distance *= (1-1*Input.GetAxis("Mouse ScrollWheel")); 36 | 37 | Vector3 targetPoint = target.position; 38 | transform.position = Vector3.Lerp(transform.position, targetPoint + offset, Time.deltaTime); 39 | transform.rotation = Quaternion.Euler(cameraRotUpCur, cameraRotSideCur, 0); 40 | 41 | float dist = Mathf.Lerp(-cam.transform.localPosition.z, distance, Time.deltaTime*5); 42 | cam.localPosition = -Vector3.forward * dist; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/Scripts/OrbitCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9203f4d32b463452eb6ae812d681eca7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Head Look Controller/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Head Look Controller/icon.png -------------------------------------------------------------------------------- /Assets/Head Look Controller/icon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfcb7651aaaff45c38027985d981522e 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 4 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | sRGBTexture: 1 10 | linearTexture: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: 0.25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 6 23 | cubemapConvolution: 0 24 | seamlessCubemap: 0 25 | textureFormat: -1 26 | maxTextureSize: 1024 27 | textureSettings: 28 | filterMode: -1 29 | aniso: -1 30 | mipBias: -1 31 | wrapMode: -1 32 | nPOTScale: 1 33 | lightmap: 0 34 | compressionQuality: 50 35 | spriteMode: 0 36 | spriteExtrude: 1 37 | spriteMeshType: 1 38 | alignment: 0 39 | spritePivot: {x: 0.5, y: 0.5} 40 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 41 | spritePixelsToUnits: 100 42 | alphaUsage: 1 43 | alphaIsTransparency: 0 44 | spriteTessellationDetail: -1 45 | textureType: 0 46 | textureShape: 1 47 | maxTextureSizeSet: 0 48 | compressionQualitySet: 0 49 | textureFormatSet: 0 50 | platformSettings: 51 | - buildTarget: DefaultTexturePlatform 52 | maxTextureSize: 1024 53 | textureFormat: -1 54 | textureCompression: 1 55 | compressionQuality: 50 56 | crunchedCompression: 0 57 | allowsAlphaSplitting: 0 58 | overridden: 0 59 | spriteSheet: 60 | serializedVersion: 2 61 | sprites: [] 62 | outline: [] 63 | spritePackingTag: 64 | userData: 65 | assetBundleName: 66 | assetBundleVariant: 67 | -------------------------------------------------------------------------------- /Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f97a11a66bf894d0ea9d78ecae1fb271 3 | folderAsset: yes 4 | timeCreated: 1492534937 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Materials/2000px-Checkerboard_pattern.svg.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48f9ec19142bd7e4c9f2441ab5799cca 3 | timeCreated: 1489779706 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Materials/2000px-Checkerboard_patternUV.svg.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66fbc43c67b564bb4a4c2c2dcd6c1970 3 | timeCreated: 1489779706 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/New Scene.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/New Scene.unity -------------------------------------------------------------------------------- /Assets/New Scene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cebc64a31c6fc4957843f4d2054be298 3 | timeCreated: 1496904718 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ParticlePainter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3a20b380ef854b22b8541736614c00e 3 | timeCreated: 1494016368 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05a89afb32ff4cd48a0278f931aa903b 3 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20ca1a77fe0cf4e049dac6d2a8afd62e 3 | folderAsset: yes 4 | timeCreated: 1492036260 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8fd2eea89786441a84b5c25c1d48982 3 | folderAsset: yes 4 | timeCreated: 1492103332 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/AR3DOFCameraManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ff614c6973544218b2c1e3036b8de0a 3 | timeCreated: 1494626284 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/ARPlaneAnchorGameObject.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public class ARPlaneAnchorGameObject 6 | { 7 | public GameObject gameObject; 8 | public ARPlaneAnchor planeAnchor; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/ARPlaneAnchorGameObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6a07258b16ace4bf1a395aa0a80f2135 3 | timeCreated: 1493059957 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/DontDestroyOnLoad.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class DontDestroyOnLoad : MonoBehaviour { 6 | 7 | // Use this for initialization 8 | void Start () { 9 | DontDestroyOnLoad (gameObject); 10 | } 11 | 12 | // Update is called once per frame 13 | void Update () { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/DontDestroyOnLoad.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 562a9fe49bfc2418099790a804f22711 3 | timeCreated: 1493408595 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 085eeda524261654b88f97ea61b33090 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | using UnityEditor.Callbacks; 4 | using System.IO; 5 | 6 | public class UnityARBuildPostprocessor 7 | { 8 | // Build postprocessor. Currently only needed on: 9 | // - iOS: no dynamic libraries, so plugin source files have to be copied into Xcode project 10 | [PostProcessBuild] 11 | public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) 12 | { 13 | if (target == BuildTarget.iOS) 14 | OnPostprocessBuildIOS(pathToBuiltProject); 15 | } 16 | 17 | private static void OnPostprocessBuildIOS(string pathToBuiltProject) 18 | { 19 | // We use UnityEditor.iOS.Xcode API which only exists in iOS editor module 20 | #if UNITY_IOS 21 | 22 | string projPath = pathToBuiltProject + "/Unity-iPhone.xcodeproj/project.pbxproj"; 23 | 24 | UnityEditor.iOS.Xcode.PBXProject proj = new UnityEditor.iOS.Xcode.PBXProject(); 25 | proj.ReadFromString(File.ReadAllText(projPath)); 26 | proj.AddFrameworkToProject(proj.TargetGuidByName("Unity-iPhone"), "ARKit.framework", false); 27 | string target = proj.TargetGuidByName("Unity-iPhone"); 28 | proj.SetBuildProperty(target, "DEVELOPMENT_TEAM", "Z6SFPV59E3"); 29 | Directory.CreateDirectory(Path.Combine(pathToBuiltProject, "Libraries/Unity")); 30 | 31 | string[] filesToCopy = new string[] 32 | { 33 | 34 | }; 35 | 36 | for(int i = 0 ; i < filesToCopy.Length ; ++i) 37 | { 38 | var srcPath = Path.Combine("../PluginSource/source", filesToCopy[i]); 39 | var dstLocalPath = "Libraries/" + filesToCopy[i]; 40 | var dstPath = Path.Combine(pathToBuiltProject, dstLocalPath); 41 | File.Copy(srcPath, dstPath, true); 42 | proj.AddFileToBuild(target, proj.AddFile(dstLocalPath, dstLocalPath)); 43 | } 44 | 45 | File.WriteAllText(projPath, proj.WriteToString()); 46 | #endif // #if UNITY_IOS 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Editor/UnityARBuildPostprocessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a56f8b807c15f4cf3a44275a5e5f89f3 3 | timeCreated: 1492795428 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b97b0ebd5e0d84160a0b477bf246c1e1 3 | folderAsset: yes 4 | timeCreated: 1492792741 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/PointCloudMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a044f7471feb4bd4be40dcec09eae05 3 | timeCreated: 1493918099 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/PointCloudParticleMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7cffc03fadd142ea81401e16399833e 3 | timeCreated: 1493918099 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/XColor.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: XColor 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 0} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _DetailAlbedoMap: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _DetailMask: 29 | m_Texture: {fileID: 0} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | - _DetailNormalMap: 33 | m_Texture: {fileID: 0} 34 | m_Scale: {x: 1, y: 1} 35 | m_Offset: {x: 0, y: 0} 36 | - _EmissionMap: 37 | m_Texture: {fileID: 0} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - _MainTex: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - _MetallicGlossMap: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - _OcclusionMap: 49 | m_Texture: {fileID: 0} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _ParallaxMap: 53 | m_Texture: {fileID: 0} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | m_Floats: 57 | - _BumpScale: 1 58 | - _Cutoff: 0.5 59 | - _DetailNormalMapScale: 1 60 | - _DstBlend: 0 61 | - _GlossMapScale: 1 62 | - _Glossiness: 0.5 63 | - _GlossyReflections: 1 64 | - _Metallic: 0 65 | - _Mode: 0 66 | - _OcclusionStrength: 1 67 | - _Parallax: 0.02 68 | - _SmoothnessTextureChannel: 0 69 | - _SpecularHighlights: 1 70 | - _SrcBlend: 1 71 | - _UVSec: 0 72 | - _ZWrite: 1 73 | m_Colors: 74 | - _Color: {r: 1, g: 0, b: 0.06206894, a: 1} 75 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 76 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/XColor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aaae8be92ba59487a9946818d7a2017f 3 | timeCreated: 1493855225 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/YColor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fa2e9e7c08844dd4a8d581610839228 3 | timeCreated: 1493855225 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/YUVMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1d9352050a75486f878ab19fa578f16 3 | timeCreated: 1492641356 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/ZColor.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: ZColor 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_CustomRenderQueue: -1 15 | stringTagMap: {} 16 | disabledShaderPasses: [] 17 | m_SavedProperties: 18 | serializedVersion: 3 19 | m_TexEnvs: 20 | - _BumpMap: 21 | m_Texture: {fileID: 0} 22 | m_Scale: {x: 1, y: 1} 23 | m_Offset: {x: 0, y: 0} 24 | - _DetailAlbedoMap: 25 | m_Texture: {fileID: 0} 26 | m_Scale: {x: 1, y: 1} 27 | m_Offset: {x: 0, y: 0} 28 | - _DetailMask: 29 | m_Texture: {fileID: 0} 30 | m_Scale: {x: 1, y: 1} 31 | m_Offset: {x: 0, y: 0} 32 | - _DetailNormalMap: 33 | m_Texture: {fileID: 0} 34 | m_Scale: {x: 1, y: 1} 35 | m_Offset: {x: 0, y: 0} 36 | - _EmissionMap: 37 | m_Texture: {fileID: 0} 38 | m_Scale: {x: 1, y: 1} 39 | m_Offset: {x: 0, y: 0} 40 | - _MainTex: 41 | m_Texture: {fileID: 0} 42 | m_Scale: {x: 1, y: 1} 43 | m_Offset: {x: 0, y: 0} 44 | - _MetallicGlossMap: 45 | m_Texture: {fileID: 0} 46 | m_Scale: {x: 1, y: 1} 47 | m_Offset: {x: 0, y: 0} 48 | - _OcclusionMap: 49 | m_Texture: {fileID: 0} 50 | m_Scale: {x: 1, y: 1} 51 | m_Offset: {x: 0, y: 0} 52 | - _ParallaxMap: 53 | m_Texture: {fileID: 0} 54 | m_Scale: {x: 1, y: 1} 55 | m_Offset: {x: 0, y: 0} 56 | m_Floats: 57 | - _BumpScale: 1 58 | - _Cutoff: 0.5 59 | - _DetailNormalMapScale: 1 60 | - _DstBlend: 0 61 | - _GlossMapScale: 1 62 | - _Glossiness: 0.5 63 | - _GlossyReflections: 1 64 | - _Metallic: 0 65 | - _Mode: 0 66 | - _OcclusionStrength: 1 67 | - _Parallax: 0.02 68 | - _SmoothnessTextureChannel: 0 69 | - _SpecularHighlights: 1 70 | - _SrcBlend: 1 71 | - _UVSec: 0 72 | - _ZWrite: 1 73 | m_Colors: 74 | - _Color: {r: 0, g: 0.13103437, b: 1, a: 1} 75 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 76 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/ZColor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d55ccb0db00e54a1696c1e96094d706d 3 | timeCreated: 1493855225 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Materials/debugPlaneMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b36939cf153274ec29fbf2f10d0a49d7 3 | timeCreated: 1492715747 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6930a53974b964a77bb66c8a01551eaa 3 | folderAsset: yes 4 | timeCreated: 1492795798 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARAnchor 6 | { 7 | public string identifier; 8 | 9 | /** 10 | The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. 11 | */ 12 | public Matrix4x4 transform; 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79ff8feee38c24e158252a971d93a42a 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace UnityEngine.XR.iOS 6 | { 7 | public struct ARCamera 8 | { 9 | /** 10 | The transformation matrix that defines the camera's rotation and translation in world coordinates. 11 | */ 12 | 13 | public Matrix4x4 worldTransform; 14 | 15 | /** 16 | The camera's orientation defined as Euler angles. 17 | 18 | @dicussion The order of components in this vector matches the axes of rotation: 19 | 1. Pitch (the x component) is the rotation about the node's x-axis (in radians) 20 | 2. Yaw (the y component) is the rotation about the node's y-axis (in radians) 21 | 3. Roll (the z component) is the rotation about the node's z-axis (in radians) 22 | ARKit applies these rotations in the reverse order of the components: 23 | 1. first roll 24 | 2. then yaw 25 | 3. then pitch 26 | */ 27 | 28 | public Vector3 eulerAngles; 29 | 30 | public ARTrackingQuality trackingQuality; 31 | 32 | /** 33 | The camera intrinsics. 34 | @discussion The matrix has the following contents: 35 | fx 0 px 36 | 0 fy py 37 | 0 0 1 38 | fx and fy are the focal length in pixels. 39 | px and py are the coordinates of the principal point in pixels. 40 | The origin is at the center of the upper-left pixel. 41 | */ 42 | 43 | public Vector3 intrinsics_row1; 44 | public Vector3 intrinsics_row2; 45 | public Vector3 intrinsics_row3; 46 | 47 | public ARSize imageResolution; 48 | 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7914788e42e54a09ac79ed2629dfb48 3 | timeCreated: 1492103364 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARErrorCode : long 6 | { 7 | /** Unsupported session configuration. */ 8 | ARErrorCodeUnsupportedConfiguration = 100, 9 | 10 | /** A sensor required to run the session is not available. */ 11 | ARErrorCodeSensorUnavailable = 101, 12 | 13 | /** A sensor failed to provide the required input. */ 14 | ARErrorCodeSensorFailed = 102, 15 | 16 | /** World tracking has encountered a fatal error. */ 17 | ARErrorCodeWorldTrackingFailed = 200, 18 | 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARErrorCode.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 094318df5b9084291abdf9a768914ab7 3 | timeCreated: 1492118622 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARFrame 6 | { 7 | /** 8 | A timestamp identifying the frame. 9 | */ 10 | public double timestamp; 11 | 12 | /** 13 | The frame's captured image. 14 | */ 15 | public IntPtr capturedImage; 16 | 17 | /** 18 | The camera used to capture the frame's image. 19 | @discussion The camera provides the device's position and orientation as well as camera parameters. 20 | */ 21 | public ARCamera camera; 22 | 23 | /** 24 | A list of anchors in the scene. 25 | */ 26 | //List anchors; 27 | 28 | /** 29 | A light estimate representing the light in the scene. 30 | @discussion Returns nil if there is no light estimation. 31 | */ 32 | ARLightEstimate lightEstimate; 33 | 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARFrame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8b915b5e16c84740b940efc7a7e2821 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARHitTestResult 6 | { 7 | /** 8 | The type of the hit-test result. 9 | */ 10 | public ARHitTestResultType type; 11 | 12 | /** 13 | The distance from the camera to the intersection in meters. 14 | */ 15 | public double distance; 16 | 17 | /** 18 | The transformation matrix that defines the intersection's rotation, translation and scale 19 | relative to the anchor or nearest feature point. 20 | */ 21 | public Matrix4x4 localTransform; 22 | 23 | /** 24 | The transformation matrix that defines the intersection's rotation, translation and scale 25 | relative to the world. 26 | */ 27 | public Matrix4x4 worldTransform; 28 | 29 | /** 30 | The anchor that the hit-test intersected. 31 | */ 32 | public string anchorIdentifier; 33 | 34 | /** 35 | True if the test represents a valid hit test. Data is undefined otherwise. 36 | */ 37 | public bool isValid; 38 | } 39 | } 40 | 41 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 048b3fa7b70bb49689905314375cd7c3 3 | timeCreated: 1492121726 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | [Flags] 6 | public enum ARHitTestResultType : long 7 | { 8 | /** Result type from intersecting the nearest feature point. */ 9 | ARHitTestResultTypeFeaturePoint = (1 << 0), 10 | 11 | /** Result type from detecting and intersecting a new horizontal plane. */ 12 | ARHitTestResultTypeHorizontalPlane = (1 << 1), 13 | 14 | /** Result type from detecting and intersecting a new vertical plane. */ 15 | ARHitTestResultTypeVerticalPlane = (1 << 2), 16 | 17 | /** Result type from intersecting with an existing plane anchor. */ 18 | ARHitTestResultTypeExistingPlane = (1 << 3), 19 | 20 | /** Result type from intersecting with an existing plane anchor, taking into account the plane's extent. */ 21 | ARHitTestResultTypeExistingPlaneUsingExtent = ( 1 << 4) 22 | 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARHitTestResultType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d70fc085339c436b848c46340250a29 3 | timeCreated: 1492121726 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARLightEstimate 6 | { 7 | public double ambientIntensity; 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARLightEstimate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1f2e6c89195544de943f77cd419d81d 3 | timeCreated: 1492118050 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARPlaneAnchor 6 | { 7 | 8 | public string identifier; 9 | 10 | /** 11 | The transformation matrix that defines the anchor's rotation, translation and scale in world coordinates. 12 | */ 13 | public Matrix4x4 transform; 14 | 15 | /** 16 | The alignment of the plane. 17 | */ 18 | 19 | public ARPlaneAnchorAlignment alignment; 20 | 21 | /** 22 | The center of the plane in the anchor’s coordinate space. 23 | */ 24 | 25 | public Vector3 center; 26 | 27 | /** 28 | The extent of the plane in the anchor’s coordinate space. 29 | */ 30 | public Vector3 extent; 31 | 32 | 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a7917e69c7bc43ad8879cc6d58266fc 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARPlaneAnchorAlignment : long 6 | { 7 | /** A plane that is horizontal with respect to gravity. */ 8 | ARPlaneAnchorAlignmentHorizontal 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARPlaneAnchorAlignment.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8d5557085c2d4e3e8ac43f5694ea8c8 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARPoint 6 | { 7 | public double x; 8 | public double y; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARPoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 91d28e0ba93314b2298e88a73bf448d3 3 | timeCreated: 1492119200 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARRect 6 | { 7 | public ARPoint origin; 8 | public ARSize size; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARRect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b78ac1873b934b6497aa4404b460655 3 | timeCreated: 1492120116 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARSessionNative.mm.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ecd21425b31a46ef9abc90a0516e9a1 3 | timeCreated: 1492108287 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 2 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | data: 13 | first: 14 | Any: 15 | second: 16 | enabled: 0 17 | settings: {} 18 | data: 19 | first: 20 | Editor: Editor 21 | second: 22 | enabled: 0 23 | settings: 24 | DefaultValueInitialized: true 25 | data: 26 | first: 27 | iPhone: iOS 28 | second: 29 | enabled: 1 30 | settings: {} 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARSize 6 | { 7 | public double width; 8 | public double height; 9 | } 10 | } 11 | 12 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARSize.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c72e6d3d39c0b495ba3d40c3cbd3a8ca 3 | timeCreated: 1492114222 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public struct ARTextureHandles 6 | { 7 | // Native (Metal) texture handles for the device camera buffer 8 | public IntPtr textureY; 9 | public IntPtr textureCbCr; 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARTextureHandles.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 223ca11cf486046fe9c3740ee69b7a27 3 | timeCreated: 1493064086 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingQuality : long 6 | { 7 | /** The tracking quality is not available. */ 8 | ARTrackingQualityNotAvailable, 9 | 10 | /** The tracking quality is limited, relying only on the device's motion. */ 11 | ARTrackingQualityLimited, 12 | 13 | /** The tracking quality is poor. */ 14 | ARTrackingQualityPoor, 15 | 16 | /** The tracking quality is good. */ 17 | ARTrackingQualityGood 18 | 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingQuality.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70419166c9be04782bc37a66aa7ead0a 3 | timeCreated: 1492114222 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingState 6 | { 7 | /** Tracking is not available. */ 8 | ARTrackingStateNotAvailable, 9 | 10 | /** Tracking is limited. See tracking reason for details. */ 11 | ARTrackingStateLimited, 12 | 13 | /** Tracking is Normal. */ 14 | ARTrackingStateNormal, 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c8e21e94c4944a7eb5202db41d4bce0 3 | timeCreated: 1493767524 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public enum ARTrackingStateReason 6 | { 7 | /** Tracking is not limited. */ 8 | ARTrackingStateReasonNone, 9 | 10 | /** Tracking is limited due to a excessive motion of the camera. */ 11 | ARTrackingStateReasonExcessiveMotion, 12 | 13 | /** Tracking is limited due to a lack of features visible to the camera. */ 14 | ARTrackingStateReasonInsufficientFeatures, 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/ARTrackingStateReason.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b76c532f89f25411ca5c1d82cd7a5367 3 | timeCreated: 1493767524 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/NativeInterface/UnityARSessionNativeInterface.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43900ad1460304627a359bed956a451d 3 | timeCreated: 1492795428 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/PointCloudParticleExample.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.XR.iOS; 5 | 6 | public class PointCloudParticleExample : MonoBehaviour { 7 | public ParticleSystem pointCloudParticlePrefab; 8 | public int maxPointsToShow; 9 | public float particleSize = 1.0f; 10 | private Vector3[] m_PointCloudData; 11 | private bool frameUpdated = false; 12 | private ParticleSystem currentPS; 13 | private ParticleSystem.Particle [] particles; 14 | 15 | // Use this for initialization 16 | void Start () { 17 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated; 18 | currentPS = Instantiate (pointCloudParticlePrefab); 19 | frameUpdated = false; 20 | } 21 | 22 | public void ARFrameUpdated(UnityARCamera camera) 23 | { 24 | m_PointCloudData = camera.pointCloudData; 25 | frameUpdated = true; 26 | } 27 | 28 | // Update is called once per frame 29 | void Update () { 30 | if (frameUpdated) { 31 | if (m_PointCloudData != null && m_PointCloudData.Length > 0) { 32 | int numParticles = Mathf.Min (m_PointCloudData.Length, maxPointsToShow); 33 | ParticleSystem.Particle[] particles = new ParticleSystem.Particle[numParticles]; 34 | int index = 0; 35 | foreach (Vector3 currentPoint in m_PointCloudData) { 36 | particles [index].position = currentPoint; 37 | particles [index].startColor = new Color (1.0f, 1.0f, 1.0f); 38 | particles [index].startSize = particleSize; 39 | index++; 40 | } 41 | currentPS.SetParticles (particles, numParticles); 42 | } else { 43 | ParticleSystem.Particle[] particles = new ParticleSystem.Particle[1]; 44 | particles [0].startSize = 0.0f; 45 | currentPS.SetParticles (particles, 1); 46 | } 47 | frameUpdated = false; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/PointCloudParticleExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec20d460fbb7e4f92b4d84a10da98cd9 3 | timeCreated: 1494006942 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 89956a1e1c98d49de8bf53800b483902 3 | folderAsset: yes 4 | timeCreated: 1492715679 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Prefabs/ParticlePainterPrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 200646a121c9c46f69245ca2c1b789ee 3 | timeCreated: 1494016471 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Prefabs/ParticlePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87db9decf4b3e4cb8bf3eea22ccd37f5 3 | timeCreated: 1494009634 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Prefabs/PointCloudPrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02d2a544d8d594d30b790e76398d0873 3 | timeCreated: 1493917937 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Prefabs/collisionPlanePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 813dd14a7826b4795823dd39ac4cc050 3 | timeCreated: 1492718811 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Prefabs/debugPlanePrefab.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f879aaf3eeb0c467eb22cbaf08dc97a4 3 | timeCreated: 1492718811 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 100100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9e3cccf742844401a584fdd294d0607 3 | folderAsset: yes 4 | timeCreated: 1492634328 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/ARCameraShader" 2 | { 3 | Properties 4 | { 5 | _textureY ("TextureY", 2D) = "white" {} 6 | _textureCbCr ("TextureCbCr", 2D) = "black" {} 7 | _texCoordScale ("Texture Coordinate Scale", float) = 1.0 8 | _isPortrait ("Device Orientation", Int) = 0 9 | } 10 | SubShader 11 | { 12 | Tags { "RenderType"="Opaque" } 13 | LOD 100 14 | 15 | Pass 16 | { 17 | ZWrite Off 18 | CGPROGRAM 19 | #pragma vertex vert 20 | #pragma fragment frag 21 | 22 | #include "UnityCG.cginc" 23 | 24 | uniform float _texCoordScale; 25 | uniform int _isPortrait; 26 | float4x4 _TextureRotation; 27 | 28 | struct Vertex 29 | { 30 | float4 position : POSITION; 31 | float2 texcoord : TEXCOORD0; 32 | }; 33 | 34 | struct TexCoordInOut 35 | { 36 | float4 position : SV_POSITION; 37 | float2 texcoord : TEXCOORD0; 38 | }; 39 | 40 | TexCoordInOut vert (Vertex vertex) 41 | { 42 | TexCoordInOut o; 43 | o.position = UnityObjectToClipPos(vertex.position); 44 | if (_isPortrait == 1) 45 | { 46 | o.texcoord = float2(vertex.texcoord.x, -(vertex.texcoord.y - 0.5f) * _texCoordScale + 0.5f); 47 | } 48 | else 49 | { 50 | o.texcoord = float2((vertex.texcoord.x - 0.5f) * _texCoordScale + 0.5f, -vertex.texcoord.y); 51 | } 52 | o.texcoord = mul(_TextureRotation, float4(o.texcoord,0,1)).xy; 53 | 54 | return o; 55 | } 56 | 57 | // samplers 58 | sampler2D _textureY; 59 | sampler2D _textureCbCr; 60 | 61 | fixed4 frag (TexCoordInOut i) : SV_Target 62 | { 63 | // sample the texture 64 | float2 texcoord = i.texcoord; 65 | float y = tex2D(_textureY, texcoord).r; 66 | float4 ycbcr = float4(y, tex2D(_textureCbCr, texcoord).rg, 1.0); 67 | 68 | const float4x4 ycbcrToRGBTransform = float4x4( 69 | float4(1.0, +0.0000, +1.4020, -0.7010), 70 | float4(1.0, -0.3441, -0.7141, +0.5291), 71 | float4(1.0, +1.7720, +0.0000, -0.8860), 72 | float4(0.0, +0.0000, +0.0000, +1.0000) 73 | ); 74 | 75 | return mul(ycbcrToRGBTransform, ycbcr); 76 | } 77 | ENDCG 78 | } 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Shaders/YUVShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef7b8eec959eb4f1e9fa97bc86273848 3 | timeCreated: 1492634375 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e91ae238bfa1f46bb888a95633863510 3 | folderAsset: yes 4 | timeCreated: 1492718667 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Textures/debugPlaneTile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Plugins/iOS/UnityARKit/Textures/debugPlaneTile.png -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Textures/debugPlaneTile.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5db0892a9f35841a1aafa4d2f617eaf3 3 | timeCreated: 1492718703 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 1 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapsPreserveCoverage: 0 16 | alphaTestReferenceValue: 0.5 17 | mipMapFadeDistanceStart: 1 18 | mipMapFadeDistanceEnd: 3 19 | bumpmap: 20 | convertToNormalMap: 0 21 | externalNormalMap: 0 22 | heightScale: 0.25 23 | normalMapFilter: 0 24 | isReadable: 0 25 | grayScaleToAlpha: 0 26 | generateCubemap: 6 27 | cubemapConvolution: 0 28 | seamlessCubemap: 0 29 | textureFormat: 1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | serializedVersion: 2 33 | filterMode: -1 34 | aniso: -1 35 | mipBias: -1 36 | wrapU: -1 37 | wrapV: -1 38 | wrapW: -1 39 | nPOTScale: 1 40 | lightmap: 0 41 | compressionQuality: 50 42 | spriteMode: 0 43 | spriteExtrude: 1 44 | spriteMeshType: 1 45 | alignment: 0 46 | spritePivot: {x: 0.5, y: 0.5} 47 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 48 | spritePixelsToUnits: 100 49 | alphaUsage: 1 50 | alphaIsTransparency: 0 51 | spriteTessellationDetail: -1 52 | textureType: 0 53 | textureShape: 1 54 | maxTextureSizeSet: 0 55 | compressionQualitySet: 0 56 | textureFormatSet: 0 57 | platformSettings: 58 | - buildTarget: DefaultTexturePlatform 59 | maxTextureSize: 2048 60 | textureFormat: -1 61 | textureCompression: 1 62 | compressionQuality: 50 63 | crunchedCompression: 0 64 | allowsAlphaSplitting: 0 65 | overridden: 0 66 | spriteSheet: 67 | serializedVersion: 2 68 | sprites: [] 69 | outline: [] 70 | physicsShape: [] 71 | spritePackingTag: 72 | userData: 73 | assetBundleName: 74 | assetBundleVariant: 75 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/UnityARCameraManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 462d46d2423bb4f738d2497a397b1590 3 | timeCreated: 1493058653 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/UnityARGeneratePlane.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace UnityEngine.XR.iOS 5 | { 6 | public class UnityARGeneratePlane : MonoBehaviour 7 | { 8 | public GameObject planePrefab; 9 | private UnityARAnchorManager unityARAnchorManager; 10 | 11 | // Use this for initialization 12 | void Start () { 13 | unityARAnchorManager = new UnityARAnchorManager(); 14 | UnityARUtility.InitializePlanePrefab (planePrefab); 15 | } 16 | 17 | void OnDestroy() 18 | { 19 | unityARAnchorManager.Destroy (); 20 | } 21 | 22 | void OnGUI() 23 | { 24 | List arpags = unityARAnchorManager.GetCurrentPlaneAnchors (); 25 | if (arpags.Count >= 1) { 26 | //ARPlaneAnchor ap = arpags [0].planeAnchor; 27 | //GUI.Box (new Rect (100, 100, 800, 60), string.Format ("Center: x:{0}, y:{1}, z:{2}", ap.center.x, ap.center.y, ap.center.z)); 28 | //GUI.Box(new Rect(100, 200, 800, 60), string.Format ("Extent: x:{0}, y:{1}, z:{2}", ap.extent.x, ap.extent.y, ap.extent.z)); 29 | } 30 | } 31 | } 32 | } 33 | 34 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/UnityARGeneratePlane.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 31cac8edf84834043ac167deaeba16a9 3 | timeCreated: 1493058396 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/UnityARHitTestExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6941ec02ead994c9b848d640887441f1 3 | timeCreated: 1492806244 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/UnityARKitControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4977b930c0f8843c8b8a101ba5bf3c8f 3 | timeCreated: 1493240142 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/UnityARVideo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b58ecea7a196242dd879c814ac05084c 3 | timeCreated: 1492796577 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/UnityPointCloudExample.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.XR.iOS; 4 | using System.Collections; 5 | using System.Collections.Generic; 6 | using System.Runtime.InteropServices; 7 | 8 | public class UnityPointCloudExample : MonoBehaviour 9 | { 10 | public uint numPointsToShow = 100; 11 | public GameObject PointCloudPrefab = null; 12 | private List pointCloudObjects; 13 | private Vector3[] m_PointCloudData; 14 | 15 | public void Start() 16 | { 17 | UnityARSessionNativeInterface.ARFrameUpdatedEvent += ARFrameUpdated; 18 | if (PointCloudPrefab != null) 19 | { 20 | pointCloudObjects = new List (); 21 | for (int i =0; i < numPointsToShow; i++) 22 | { 23 | pointCloudObjects.Add (Instantiate (PointCloudPrefab)); 24 | } 25 | } 26 | } 27 | 28 | public void ARFrameUpdated(UnityARCamera camera) 29 | { 30 | m_PointCloudData = camera.pointCloudData; 31 | } 32 | 33 | public void Update() 34 | { 35 | if (PointCloudPrefab != null && m_PointCloudData != null) 36 | { 37 | for (int count = 0; count < Math.Min (m_PointCloudData.Length, numPointsToShow); count++) 38 | { 39 | Vector4 vert = m_PointCloudData [count]; 40 | GameObject point = pointCloudObjects [count]; 41 | point.transform.position = new Vector3(vert.x, vert.y, vert.z); 42 | } 43 | } 44 | } 45 | } -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/UnityPointCloudExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5ab0fdfbf2334e8dbbcdda6ceada7e3 3 | timeCreated: 1493835634 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Utility.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d3c230228c3e4ba4b8de56da4f82e2e 3 | folderAsset: yes 4 | timeCreated: 1492534108 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Utility/UnityARAnchorManager.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | namespace UnityEngine.XR.iOS 6 | { 7 | public class UnityARAnchorManager 8 | { 9 | 10 | 11 | private Dictionary planeAnchorMap; 12 | 13 | 14 | public UnityARAnchorManager () 15 | { 16 | planeAnchorMap = new Dictionary (); 17 | UnityARSessionNativeInterface.ARAnchorAddedEvent += AddAnchor; 18 | UnityARSessionNativeInterface.ARAnchorUpdatedEvent += UpdateAnchor; 19 | UnityARSessionNativeInterface.ARAnchorRemovedEvent += RemoveAnchor; 20 | 21 | } 22 | 23 | 24 | public void AddAnchor(ARPlaneAnchor arPlaneAnchor) 25 | { 26 | GameObject go = UnityARUtility.CreatePlaneInScene (arPlaneAnchor); 27 | go.AddComponent (); //this is so these GOs persist across scene loads 28 | ARPlaneAnchorGameObject arpag = new ARPlaneAnchorGameObject (); 29 | arpag.planeAnchor = arPlaneAnchor; 30 | arpag.gameObject = go; 31 | planeAnchorMap.Add (arPlaneAnchor.identifier, arpag); 32 | } 33 | 34 | public void RemoveAnchor(ARPlaneAnchor arPlaneAnchor) 35 | { 36 | if (planeAnchorMap.ContainsKey (arPlaneAnchor.identifier)) { 37 | ARPlaneAnchorGameObject arpag = planeAnchorMap [arPlaneAnchor.identifier]; 38 | GameObject.Destroy (arpag.gameObject); 39 | planeAnchorMap.Remove (arPlaneAnchor.identifier); 40 | } 41 | } 42 | 43 | public void UpdateAnchor(ARPlaneAnchor arPlaneAnchor) 44 | { 45 | if (planeAnchorMap.ContainsKey (arPlaneAnchor.identifier)) { 46 | ARPlaneAnchorGameObject arpag = planeAnchorMap [arPlaneAnchor.identifier]; 47 | UnityARUtility.UpdatePlaneWithAnchorTransform (arpag.gameObject, arPlaneAnchor); 48 | arpag.planeAnchor = arPlaneAnchor; 49 | planeAnchorMap [arPlaneAnchor.identifier] = arpag; 50 | } 51 | } 52 | 53 | public void Destroy() 54 | { 55 | foreach (ARPlaneAnchorGameObject arpag in GetCurrentPlaneAnchors()) { 56 | GameObject.Destroy (arpag.gameObject); 57 | } 58 | 59 | planeAnchorMap.Clear (); 60 | } 61 | 62 | public List GetCurrentPlaneAnchors() 63 | { 64 | return planeAnchorMap.Values.ToList (); 65 | } 66 | } 67 | } 68 | 69 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Utility/UnityARAnchorManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00b197bb73412448e9a5e14be146aaeb 3 | timeCreated: 1492557010 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Utility/UnityARMatrixOps.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace UnityEngine.XR.iOS 4 | { 5 | public class UnityARMatrixOps 6 | { 7 | 8 | public static Vector3 GetPosition(Matrix4x4 matrix) 9 | { 10 | // Convert from ARKit's right-handed coordinate 11 | // system to Unity's left-handed 12 | Vector3 position = matrix.GetColumn(3); 13 | position.z = -position.z; 14 | 15 | return position; 16 | } 17 | 18 | public static Quaternion GetRotation(Matrix4x4 matrix) 19 | { 20 | // Convert from ARKit's right-handed coordinate 21 | // system to Unity's left-handed 22 | Quaternion rotation = QuaternionFromMatrix(matrix); 23 | rotation.z = -rotation.z; 24 | rotation.w = -rotation.w; 25 | 26 | return rotation; 27 | } 28 | 29 | 30 | static Quaternion QuaternionFromMatrix(Matrix4x4 m) { 31 | // Adapted from: http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm 32 | Quaternion q = new Quaternion(); 33 | q.w = Mathf.Sqrt( Mathf.Max( 0, 1 + m[0,0] + m[1,1] + m[2,2] ) ) / 2; 34 | q.x = Mathf.Sqrt( Mathf.Max( 0, 1 + m[0,0] - m[1,1] - m[2,2] ) ) / 2; 35 | q.y = Mathf.Sqrt( Mathf.Max( 0, 1 - m[0,0] + m[1,1] - m[2,2] ) ) / 2; 36 | q.z = Mathf.Sqrt( Mathf.Max( 0, 1 - m[0,0] - m[1,1] + m[2,2] ) ) / 2; 37 | q.x *= Mathf.Sign( q.x * ( m[2,1] - m[1,2] ) ); 38 | q.y *= Mathf.Sign( q.y * ( m[0,2] - m[2,0] ) ); 39 | q.z *= Mathf.Sign( q.z * ( m[1,0] - m[0,1] ) ); 40 | return q; 41 | } 42 | 43 | } 44 | } 45 | 46 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Utility/UnityARMatrixOps.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37808a86538754725a15d36128fd2afc 3 | timeCreated: 1492800582 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Utility/UnityARUtility.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Runtime.InteropServices; 3 | 4 | namespace UnityEngine.XR.iOS 5 | { 6 | public class UnityARUtility 7 | { 8 | private MeshCollider meshCollider; //declared to avoid code stripping of class 9 | private MeshFilter meshFilter; //declared to avoid code stripping of class 10 | private static GameObject planePrefab = null; 11 | 12 | public static void InitializePlanePrefab(GameObject go) 13 | { 14 | planePrefab = go; 15 | } 16 | 17 | public static GameObject CreatePlaneInScene(ARPlaneAnchor arPlaneAnchor) 18 | { 19 | GameObject plane; 20 | if (planePrefab != null) { 21 | plane = GameObject.Instantiate(planePrefab); 22 | } else { 23 | plane = new GameObject (); //put in a blank gameObject to get at least a transform to manipulate 24 | } 25 | 26 | plane.name = arPlaneAnchor.identifier; 27 | 28 | return UpdatePlaneWithAnchorTransform(plane, arPlaneAnchor); 29 | 30 | } 31 | 32 | public static GameObject UpdatePlaneWithAnchorTransform(GameObject plane, ARPlaneAnchor arPlaneAnchor) 33 | { 34 | 35 | //do coordinate conversion from ARKit to Unity 36 | plane.transform.position = UnityARMatrixOps.GetPosition (arPlaneAnchor.transform); 37 | plane.transform.rotation = UnityARMatrixOps.GetRotation (arPlaneAnchor.transform); 38 | 39 | MeshFilter mf = plane.GetComponentInChildren (); 40 | 41 | if (mf != null) { 42 | //since our plane mesh is actually 10mx10m in the world, we scale it here by 0.1f 43 | mf.gameObject.transform.localScale = new Vector3(arPlaneAnchor.extent.x * 0.1f ,arPlaneAnchor.extent.y * 0.1f ,arPlaneAnchor.extent.z * 0.1f ); 44 | 45 | //convert our center position to unity coords 46 | mf.gameObject.transform.localPosition = new Vector3(arPlaneAnchor.center.x,arPlaneAnchor.center.y, -arPlaneAnchor.center.z); 47 | } 48 | 49 | return plane; 50 | } 51 | 52 | 53 | 54 | } 55 | } 56 | 57 | -------------------------------------------------------------------------------- /Assets/Plugins/iOS/UnityARKit/Utility/UnityARUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9736aad5d8518481ab7e8d1d0b0e6e36 3 | timeCreated: 1492800582 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Sample.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d152d6205a37934b84579035902e8af 3 | folderAsset: yes 4 | timeCreated: 1468338011 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sample/Black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/Black.png -------------------------------------------------------------------------------- /Assets/Sample/Black.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86eb78e253c37c54fbbbd079f6284f0f 3 | timeCreated: 1468339412 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Kage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/Kage.png -------------------------------------------------------------------------------- /Assets/Sample/Kage.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a64204a2978a6c041a7bc1dca0419c90 3 | timeCreated: 1468341883 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/MainColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/MainColor.png -------------------------------------------------------------------------------- /Assets/Sample/MainColor.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9706ca66823971b438adea1c05338b15 3 | timeCreated: 1468338294 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 0 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f4a7795974cb8e40b6e3f0f0edb6e85 3 | folderAsset: yes 4 | timeCreated: 1468357763 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Sample/Materials/lambert1.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/Materials/lambert1.mat -------------------------------------------------------------------------------- /Assets/Sample/Materials/lambert1.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d9c030d6a699d74ab10211f9b8c1e47 3 | timeCreated: 1468357763 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Sample.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/Sample.unity -------------------------------------------------------------------------------- /Assets/Sample/Sample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cac6f8b4e48503a478e7e455cbb39a02 3 | timeCreated: 1468340764 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/Sampler2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/Sampler2.png -------------------------------------------------------------------------------- /Assets/Sample/Sampler2.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8aa78bb932bd671479e77ea9577cf6ec 3 | timeCreated: 1468342188 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/ShadeColor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/ShadeColor.png -------------------------------------------------------------------------------- /Assets/Sample/ShadeColor.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 788ef82375b45214aad8498f59d9079e 3 | timeCreated: 1468338297 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Sample/Sphere.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/Sphere.fbx -------------------------------------------------------------------------------- /Assets/Sample/Sphere.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b13035c888fb743429c197f3f3a250cc 3 | timeCreated: 1468357764 4 | licenseType: Pro 5 | ModelImporter: 6 | serializedVersion: 19 7 | fileIDToRecycleName: 8 | 100000: //RootNode 9 | 400000: //RootNode 10 | 2300000: //RootNode 11 | 3300000: //RootNode 12 | 4300000: pSphere1 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | resampleRotations: 1 21 | optimizeGameObjects: 0 22 | motionNodeName: 23 | animationImportErrors: 24 | animationImportWarnings: 25 | animationRetargetingWarnings: 26 | animationDoRetargetingWarnings: 0 27 | animationCompression: 1 28 | animationRotationError: 0.5 29 | animationPositionError: 0.5 30 | animationScaleError: 0.5 31 | animationWrapMode: 0 32 | extraExposedTransformPaths: [] 33 | clipAnimations: [] 34 | isReadable: 1 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 10 38 | meshCompression: 0 39 | addColliders: 0 40 | importBlendShapes: 1 41 | swapUVChannels: 0 42 | generateSecondaryUV: 0 43 | useFileUnits: 1 44 | optimizeMeshForGPU: 1 45 | keepQuads: 0 46 | weldVertices: 1 47 | secondaryUVAngleDistortion: 8 48 | secondaryUVAreaDistortion: 15.000001 49 | secondaryUVHardAngle: 88 50 | secondaryUVPackMargin: 4 51 | useFileScale: 1 52 | tangentSpace: 53 | normalSmoothAngle: 60 54 | normalImportMode: 0 55 | tangentImportMode: 3 56 | importAnimation: 1 57 | copyAvatar: 0 58 | humanDescription: 59 | human: [] 60 | skeleton: [] 61 | armTwist: 0.5 62 | foreArmTwist: 0.5 63 | upperLegTwist: 0.5 64 | legTwist: 0.5 65 | armStretch: 0.05 66 | legStretch: 0.05 67 | feetSpacing: 0 68 | rootMotionBoneName: 69 | hasTranslationDoF: 0 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 0 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/Sample/ToonSample.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/ToonSample.mat -------------------------------------------------------------------------------- /Assets/Sample/ToonSample.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b25b5a1b4f25c9441928d5ef97f9861d 3 | timeCreated: 1468338117 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Sample/White.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Sample/White.png -------------------------------------------------------------------------------- /Assets/Sample/White.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4313953fb4322b40956cc7a184ad2b5 3 | timeCreated: 1468339021 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Toon.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce8245d6be36b38479d3c27401d351c2 3 | folderAsset: yes 4 | timeCreated: 1466240599 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Toon/Black.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/Black.mat -------------------------------------------------------------------------------- /Assets/Toon/Black.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e3b4f7b351acf646961a1784cccaed9 3 | timeCreated: 1473155442 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Toon/HiLight_Matcap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/HiLight_Matcap.png -------------------------------------------------------------------------------- /Assets/Toon/HiLight_Matcap.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e08e6fdb10bba954f95c0eccee984354 3 | timeCreated: 1470171926 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/Toon/SD_Unitychan_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/SD_Unitychan_normal.png -------------------------------------------------------------------------------- /Assets/Toon/SD_Unitychan_normal.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0acd5974827369042b71efa22a9a1947 3 | timeCreated: 1473153212 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 1 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/Toon/ToonShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43a31888156b4734a8d78a34e09b9d50 3 | timeCreated: 1473155569 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Toon/ToonShader_Face.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/ToonShader_Face.mat -------------------------------------------------------------------------------- /Assets/Toon/ToonShader_Face.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74cdcbc544573354cbb8046be7f6d625 3 | timeCreated: 1466270372 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Toon/ToonShader_Hair.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/ToonShader_Hair.mat -------------------------------------------------------------------------------- /Assets/Toon/ToonShader_Hair.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a4e97dd22c70034cb877d1527d4af22 3 | timeCreated: 1466270351 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Toon/ToonShader_Main.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/ToonShader_Main.mat -------------------------------------------------------------------------------- /Assets/Toon/ToonShader_Main.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc973ab4b5c2d0f489351b4b9b2ad1b5 3 | timeCreated: 1466240613 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Toon/ToonShader_rim.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd4350aa827aac941aaf6c875ecbc28c 3 | timeCreated: 1473155593 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Toon/ToonShader_rim_matcap.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 56d0d0ace46e33c4b88ef3826bd3950e 3 | timeCreated: 1473155614 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/utc_all2_dark.png -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_dark.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e22da664ebab32d4ca5bea4d43b0ff43 3 | timeCreated: 1473153162 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/utc_all2_light.png -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_light.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38b0fd74fd3c31140bf78e39b7db1534 3 | timeCreated: 1473153161 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_offsetdark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/utc_all2_offsetdark.png -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_offsetdark.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 867befb73db438442a9ba0e5e6ef7474 3 | timeCreated: 1473153161 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_outlinesmpler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/utc_all2_outlinesmpler.png -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_outlinesmpler.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 134966e3fbedc674ea419707cf30151f 3 | timeCreated: 1473153160 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_setkage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/Toon/utc_all2_setkage.png -------------------------------------------------------------------------------- /Assets/Toon/utc_all2_setkage.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 183c0658d5d271744855ca64d29a7515 3 | timeCreated: 1473153160 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/ToonShader.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/ToonShader.unity -------------------------------------------------------------------------------- /Assets/ToonShader.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b28a50622435bf444aceba04e5377d62 3 | timeCreated: 1466242731 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityARAmbient.cs: -------------------------------------------------------------------------------- 1 | using System.Runtime.InteropServices; 2 | using UnityEngine.XR.iOS; 3 | 4 | namespace UnityEngine.XR.iOS 5 | { 6 | public class UnityARAmbient : MonoBehaviour 7 | { 8 | 9 | private Light l; 10 | private UnityARSessionNativeInterface m_Session; 11 | 12 | public void Start() 13 | { 14 | #if !UNITY_EDITOR 15 | l = GetComponent(); 16 | m_Session = UnityARSessionNativeInterface.GetARSessionNativeInterface (); 17 | #endif 18 | } 19 | #if !UNITY_EDITOR 20 | public void Update() 21 | { 22 | // Convert ARKit intensity to Unity intensity 23 | // ARKit ambient intensity ranges 0-2000 24 | // Unity ambient intensity ranges 0-8 (for over-bright lights) 25 | float newai = m_Session.GetARAmbientIntensity(); 26 | l.intensity = newai / 1000.0f; 27 | } 28 | #endif 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/UnityARAmbient.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5587c957048494a2f96db36e0995449e 3 | timeCreated: 1492805300 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityARKitScene.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityARKitScene.unity -------------------------------------------------------------------------------- /Assets/UnityARKitScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c159f2591a9b5c843b0a0442451f78f8 3 | -------------------------------------------------------------------------------- /Assets/UnityChan.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39455958faeb04f49a066be147379d5e 3 | folderAsset: yes 4 | timeCreated: 1422440432 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b99276c80d69bdb44a70b22925a34355 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0802c7708ccdafd419d7b4eb48e7631e 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/English.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb07dc8d2136a3241a37dd9caf6ea775 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/English/01Unity-Chan License Terms and Condition_EN_UCL2.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/English/01Unity-Chan License Terms and Condition_EN_UCL2.0.pdf -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/English/01Unity-Chan License Terms and Condition_EN_UCL2.0.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43ff9f5303a67b7418a51d7cb61d6670 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/English/02Unity-Chan License Terms and Condition_Summary_EN_UCL2.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/English/02Unity-Chan License Terms and Condition_Summary_EN_UCL2.0.pdf -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/English/02Unity-Chan License Terms and Condition_Summary_EN_UCL2.0.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f4c75fd2ed1ed542967c2baee4e7756 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/English/03Indication of License_EN_UCL2.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/English/03Indication of License_EN_UCL2.0.pdf -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/English/03Indication of License_EN_UCL2.0.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da29a76aa437b8449b4a59636ff5138d 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/Japanese.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b47c965a3978c4648bdee977d6fedf5c 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/Japanese/01Unity-Chan License Terms and Condition_JP_UCL2.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/Japanese/01Unity-Chan License Terms and Condition_JP_UCL2.0.pdf -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/Japanese/01Unity-Chan License Terms and Condition_JP_UCL2.0.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a20fb4dc3e64eea4f81cfce4e715453c 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/Japanese/02Unity-Chan License Terms and Condition_Summary_JP_UCL2.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/Japanese/02Unity-Chan License Terms and Condition_Summary_JP_UCL2.0.pdf -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/Japanese/02Unity-Chan License Terms and Condition_Summary_JP_UCL2.0.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 25a01d419273770489a98965591d0fc0 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/Japanese/03Indication of License_JP_UCL2.0.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/Japanese/03Indication of License_JP_UCL2.0.pdf -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/Japanese/03Indication of License_JP_UCL2.0.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e50aa303c5850d64ea924be7c433985d 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e14f61dd5f4f0ab4e85b136c1ca2f687 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/LUUL_LOGO_rules02.ai: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/LUUL_LOGO_rules02.ai -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/LUUL_LOGO_rules02.ai.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe86f679d2e936145ab61a4d668773f2 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/LUUL_LOGO_rules02.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/LUUL_LOGO_rules02.psd -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/LUUL_LOGO_rules02.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66f7190b0e1206c4aa56485a434e5263 3 | timeCreated: 1472624688 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/LUUL_logo-guideline.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/LUUL_logo-guideline.pdf -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/LUUL_logo-guideline.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c286b31b7350594b97ae6c1c8dd7583 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/LUUL_logo-guideline_en.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/LUUL_logo-guideline_en.pdf -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/LUUL_logo-guideline_en.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d920dae914adc24aaa19621e2f92966 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a68367a4fbd25e54fbb22e3d32eddef4 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 19868ecb4c7433d44bf720eb6df5ab9d 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/jpg/Dark_Silhouette.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/Others/jpg/Dark_Silhouette.jpg -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/jpg/Dark_Silhouette.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05fec96af00a5a1489bfbc9a48c3af47 3 | timeCreated: 1472624687 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/jpg/Light_Silhouette.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/Others/jpg/Light_Silhouette.jpg -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/jpg/Light_Silhouette.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e269f76a191b36b48b3f7531443a4bfb 3 | timeCreated: 1472624688 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 625c768095f711146b2263e5d3eb3d7c 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Dark_Silhouette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Dark_Silhouette.png -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Dark_Silhouette.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7aa10f25636365540b103e8e8c0c36c6 3 | timeCreated: 1472624688 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Light_Frame.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Light_Frame.png -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Light_Frame.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 077b84be6d052c34d933c79ef500be13 3 | timeCreated: 1472624687 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Light_Silhouette.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Light_Silhouette.png -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/png/Light_Silhouette.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6847e1d9abeb7ff46abdcaceefe7b1a9 3 | timeCreated: 1472624688 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/svg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f85f6215e5e12c4bb813e640af29139 3 | folderAsset: yes 4 | timeCreated: 1472624682 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/svg/Dark_Silhouette.svg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e5033d35b69295743b2f6a2a4bd870d0 3 | timeCreated: 1472624683 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/svg/Light_Frame.svg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1359c27f8b040948bf67a22a908b396 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/License/UCL2.0/License Logo/Others/svg/Light_Silhouette.svg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8efe7a6cccf961745a07f83cf315f5a8 3 | timeCreated: 1472624682 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 700bc05bc3431044193a348b6838b4a7 3 | folderAsset: yes 4 | timeCreated: 1422440432 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Animations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04f73a2b09f11ef4ca887c338814f973 3 | folderAsset: yes 4 | timeCreated: 1422440432 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Animations/SD_unitychan_motion_humanoid.controller: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/SD_unitychan/Animations/SD_unitychan_motion_humanoid.controller -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Animations/SD_unitychan_motion_humanoid.controller.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0702f03fac0faa4d983e423203b2fb4 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Animations/SD_unitychan_motion_humanoid.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/SD_unitychan/Animations/SD_unitychan_motion_humanoid.fbx -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b1c87a3b91d3414ca85dca100de04ed 3 | folderAsset: yes 4 | timeCreated: 1422440432 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c57263c8486a4f4c804707428e0cfba 3 | folderAsset: yes 4 | timeCreated: 1422440433 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/angry@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d022baae72960439ca9bc35168cde644 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/confuse@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fb84b7bbc6fe402a8a888ea10646789 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/damaged@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 052052524e8fd4e47b75db0131b4b118 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/default@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ba07efc7490d48959dfb3879f8be04a 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/eye_close@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c6ef5f43979d4ac396faf724a6a4dd0 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/mth_L@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0ccfe86ed1121478bbeacb8e227ec19c 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/mth_R@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 508261753cbbd4493b10da3a43602a39 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/mth_a@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ac255bd0dd6047e9b2df5ac70b1c45d 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/mth_e@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7c86dc2bf7f54f6caa8076d5b450437 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/mth_i@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a13d16a8fe186444f9bd2b411d43351c 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/mth_o@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24f6fd9f7d6e14b429858f4d017e7195 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/mth_u@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73be46601457e417584986e26fcaf567 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/relux@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0c7ae9e4974854c81a425f98211bc25f 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/sad@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccf2553d159754da6b08936ec9999869 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/scold@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4b9611887a9f43c0ae3fc39870a7b5f 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/smile2@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9388e606933645cdbb57d61ab9cc186 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/smile@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cec97cfaae8c7454f9e3fb92ebf3b337 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/strain@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e996ba46f070c4ec9b73996777f95a10 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/Humanoid/surprise@sd_hmd.anim.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b7c62bb2e05c47c5afd5486e2eceaf6 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/FaceAnimations/_faceOnly.mask.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d4e0e0d2eda147be851af6d686de166 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce5dbc604fdbae54ca9eff44dfbc9992 3 | folderAsset: yes 4 | timeCreated: 1422440432 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Models/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 03b6ac52d779f9248bad4b14e2b05f94 3 | folderAsset: yes 4 | timeCreated: 1468244955 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Models/Materials/def_mat.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/SD_unitychan/Models/Materials/def_mat.mat -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Models/Materials/def_mat.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3a4311485e827346b370081432ddfe0 3 | timeCreated: 1468244955 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Models/SD_unitychan_humanoid.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/SD_unitychan/Models/SD_unitychan_humanoid.fbx -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90775f57ce581c94995f66790f9b428f 3 | folderAsset: yes 4 | timeCreated: 1422440432 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Prefabs/ToonShader_SD_unitychan_humanoid.prefab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/SD_unitychan/Prefabs/ToonShader_SD_unitychan_humanoid.prefab -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/Prefabs/ToonShader_SD_unitychan_humanoid.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c353389ce56ddc54eafaf9b12ab56de1 3 | timeCreated: 1468241810 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/ProcedualSky.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/SD_unitychan/ProcedualSky.mat -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/ProcedualSky.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5373af5ea8737347a115dea12ca4c3b 3 | timeCreated: 1468260610 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/unitychan_tile3.mat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/SD_unitychan/unitychan_tile3.mat -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/unitychan_tile3.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5398f8adc0eecc429b3a547131eb18f 3 | timeCreated: 1468260393 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/unitychan_tile3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/UnityChan/SD_unitychan/unitychan_tile3.png -------------------------------------------------------------------------------- /Assets/UnityChan/SD_unitychan/unitychan_tile3.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e03d9cf24087ffd428f67d9a1fe5dda2 3 | timeCreated: 1468260382 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: -1 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73622dc781ca9284db0e3bb8114ff5f5 3 | folderAsset: yes 4 | timeCreated: 1422440432 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/AutoBlink.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a6149a22cf8a47a192a60b00b3becb3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/AutoBlinkforSD.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b450e0eeaa67f4e4f83448b61a571d3b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/CameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd026706e81db0440add962177d87b23 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/FaceUpdate.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | namespace UnityChan 5 | { 6 | public class FaceUpdate : MonoBehaviour 7 | { 8 | public AnimationClip[] animations; 9 | Animator anim; 10 | public float delayWeight; 11 | public bool isKeepFace = false; 12 | 13 | void Start () 14 | { 15 | anim = GetComponent (); 16 | } 17 | 18 | void OnGUI () 19 | { 20 | // GUILayout.Box ("Face Update", GUILayout.Width (170), GUILayout.Height (25 * (animations.Length + 2))); 21 | // Rect screenRect = new Rect (10, 25, 150, 25 * (animations.Length + 1)); 22 | // GUILayout.BeginArea (screenRect); 23 | // foreach (var animation in animations) { 24 | // if (GUILayout.RepeatButton (animation.name)) { 25 | // anim.CrossFade (animation.name, 0); 26 | // } 27 | // } 28 | // isKeepFace = GUILayout.Toggle (isKeepFace, " Keep Face"); 29 | // GUILayout.EndArea (); 30 | } 31 | 32 | float current = 0; 33 | 34 | void Update () 35 | { 36 | 37 | // if (Input.GetMouseButton (0)) { 38 | // current = 1; 39 | // } else if (!isKeepFace) { 40 | // current = Mathf.Lerp (current, 0, delayWeight); 41 | // } 42 | // anim.SetLayerWeight (1, current); 43 | } 44 | 45 | 46 | //アニメーションEvents側につける表情切り替え用イベントコール 47 | public void OnCallChangeFace (string str) 48 | { 49 | // int ichecked = 0; 50 | // foreach (var animation in animations) { 51 | // if (str == animation.name) { 52 | // ChangeFace (str); 53 | // break; 54 | // } else if (ichecked <= animations.Length) { 55 | // ichecked++; 56 | // } else { 57 | // //str指定が間違っている時にはデフォルトで 58 | // str = "default@unitychan"; 59 | // ChangeFace (str); 60 | // } 61 | // } 62 | } 63 | 64 | void ChangeFace (string str) 65 | { 66 | // isKeepFace = true; 67 | // current = 1; 68 | // anim.CrossFade (str, 0); 69 | } 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/FaceUpdate.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5e658bfc1e524494b9e54a1c92d8c1e0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/IKCtrlRightHand.cs: -------------------------------------------------------------------------------- 1 | // 2 | //IKCtrlRightHand.cs 3 | // 4 | //Sample script for IK Control of Unity-Chan's right hand. 5 | // 6 | //2014/06/20 N.Kobayashi 7 | // 8 | using UnityEngine; 9 | using System.Collections; 10 | 11 | namespace UnityChan 12 | { 13 | [RequireComponent(typeof(Animator))] 14 | public class IKCtrlRightHand : MonoBehaviour 15 | { 16 | 17 | private Animator anim; 18 | public Transform targetObj = null; 19 | public bool isIkActive = false; 20 | public float mixWeight = 1.0f; 21 | 22 | void Awake () 23 | { 24 | anim = GetComponent (); 25 | } 26 | 27 | void Update () 28 | { 29 | //Kobayashi 30 | if (mixWeight >= 1.0f) 31 | mixWeight = 1.0f; 32 | else if (mixWeight <= 0.0f) 33 | mixWeight = 0.0f; 34 | } 35 | 36 | void OnAnimatorIK (int layerIndex) 37 | { 38 | if (isIkActive) { 39 | anim.SetIKPositionWeight (AvatarIKGoal.RightHand, mixWeight); 40 | anim.SetIKRotationWeight (AvatarIKGoal.RightHand, mixWeight); 41 | anim.SetIKPosition (AvatarIKGoal.RightHand, targetObj.position); 42 | anim.SetIKRotation (AvatarIKGoal.RightHand, targetObj.rotation); 43 | } 44 | } 45 | 46 | void OnGUI () 47 | { 48 | Rect rect1 = new Rect (10, Screen.height - 20, 400, 30); 49 | isIkActive = GUI.Toggle (rect1, isIkActive, "IK Active"); 50 | } 51 | 52 | } 53 | } -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/IKCtrlRightHand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16931e3bbabb00f478bbbe4759af8343 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/IdleChanger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 058a2736f2afd564eae55007a87eed87 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/PlayerEye.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class PlayerEye : MonoBehaviour 6 | { 7 | private UnityChanState m_UnityChanState; 8 | private float m_NotEyesMeetElapsedTime; 9 | const float CAN_SMILE_THRESHOLD = 3.0f; 10 | 11 | void Start() 12 | { 13 | m_UnityChanState = GameObject.Find("ToonShader_SD_unitychan_humanoid").GetComponent(); 14 | } 15 | 16 | void Update () 17 | { 18 | Ray ray; 19 | float radius = 0.057f; 20 | int maxDistance = 10; 21 | ray = new Ray(transform.position, transform.forward); 22 | RaycastHit hitInfo; 23 | 24 | // アニメーションで視線がはずれるのでこちらCanSmile判定をしない 25 | if (Physics.SphereCast(ray, radius, out hitInfo, maxDistance)) 26 | { 27 | m_NotEyesMeetElapsedTime = 0.0f; 28 | m_UnityChanState.Smile(); 29 | Debug.DrawLine(ray.origin, hitInfo.point, Color.green); 30 | } 31 | else 32 | { 33 | // 時間経過 34 | if (m_NotEyesMeetElapsedTime <= CAN_SMILE_THRESHOLD) 35 | { 36 | m_NotEyesMeetElapsedTime += Time.deltaTime; 37 | } 38 | 39 | if (CAN_SMILE_THRESHOLD < m_NotEyesMeetElapsedTime) 40 | { 41 | m_UnityChanState.CanSmile = true; 42 | } 43 | 44 | Debug.DrawLine(ray.origin, ray.origin + new Vector3(0, 0, 10.0f), Color.red); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/PlayerEye.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad391b6332dee453da1bab5b33052193 3 | timeCreated: 1496915722 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/RandomWind.cs: -------------------------------------------------------------------------------- 1 | // 2 | //RandomWind.cs for unity-chan! 3 | // 4 | //Original Script is here: 5 | //ricopin / RandomWind.cs 6 | //Rocket Jump : http://rocketjump.skr.jp/unity3d/109/ 7 | //https://twitter.com/ricopin416 8 | // 9 | //修正2014/12/20 10 | //風の方向変化/重力影響を追加. 11 | // 12 | 13 | using UnityEngine; 14 | using System.Collections; 15 | 16 | namespace UnityChan 17 | { 18 | public class RandomWind : MonoBehaviour 19 | { 20 | private SpringBone[] springBones; 21 | public bool isWindActive = false; 22 | 23 | private bool isMinus = false; //風方向反転用. 24 | public float threshold = 0.5f; // ランダム判定の閾値. 25 | public float interval = 5.0f; // ランダム判定のインターバル. 26 | public float windPower = 1.0f; //風の強さ. 27 | public float gravity = 0.98f; //重力の強さ. 28 | 29 | 30 | // Use this for initialization 31 | void Start () 32 | { 33 | springBones = GetComponent ().springBones; 34 | StartCoroutine ("RandomChange"); 35 | } 36 | 37 | 38 | 39 | 40 | 41 | // Update is called once per frame 42 | void Update () 43 | { 44 | 45 | Vector3 force = Vector3.zero; 46 | if (isWindActive) { 47 | if(isMinus){ 48 | force = new Vector3 (Mathf.PerlinNoise (Time.time, 0.0f) * windPower * -0.001f , gravity * -0.001f , 0); 49 | }else{ 50 | force = new Vector3 (Mathf.PerlinNoise (Time.time, 0.0f) * windPower * 0.001f, gravity * -0.001f, 0); 51 | } 52 | 53 | for (int i = 0; i < springBones.Length; i++) { 54 | springBones [i].springForce = force; 55 | } 56 | 57 | } 58 | } 59 | 60 | void OnGUI () 61 | { 62 | Rect rect1 = new Rect (10, Screen.height - 40, 400, 30); 63 | isWindActive = GUI.Toggle (rect1, isWindActive, "Random Wind"); 64 | } 65 | 66 | // ランダム判定用関数. 67 | IEnumerator RandomChange () 68 | { 69 | // 無限ループ開始. 70 | while (true) { 71 | //ランダム判定用シード発生. 72 | float _seed = Random.Range (0.0f, 1.0f); 73 | 74 | if (_seed > threshold) { 75 | //_seedがthreshold以上の時、符号を反転する. 76 | isMinus = true; 77 | }else{ 78 | isMinus = false; 79 | } 80 | 81 | // 次の判定までインターバルを置く. 82 | yield return new WaitForSeconds (interval); 83 | } 84 | } 85 | 86 | 87 | } 88 | } -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/RandomWind.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a38e39ada51aaba4db6d352ce218849e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/RefleshProbe.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class RefleshProbe : MonoBehaviour { 5 | 6 | bool isReflesh = false; 7 | bool isButtonActive = true; 8 | public ReflectionProbe probeComponent; 9 | private int renderID; 10 | 11 | 12 | 13 | 14 | // Update is called once per frame 15 | void Update () 16 | { 17 | if (isReflesh){ 18 | renderID = probeComponent.RenderProbe(); 19 | //isButtonActive = false; 20 | isReflesh = false; 21 | } 22 | if (probeComponent.IsFinishedRendering(renderID)){ 23 | isButtonActive = true; 24 | } 25 | } 26 | 27 | 28 | void OnGUI () 29 | { 30 | GUI.Box (new Rect (Screen.width - 110, Screen.height - 65, 100, 50), "ReflectionProbe"); 31 | if(isButtonActive){ 32 | if (GUI.Button (new Rect (Screen.width - 100, Screen.height - 40, 80, 20), "Reflesh")){ 33 | isReflesh = true; 34 | isButtonActive = false; 35 | } 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/RefleshProbe.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0210ea759b9e624a9a8d06f3996c262 3 | timeCreated: 1424782605 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/SpringBone.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37b7c58dc2d739b4c90fe59f6875debf 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/SpringCollider.cs: -------------------------------------------------------------------------------- 1 | // 2 | //SpringCollider for unity-chan! 3 | // 4 | //Original Script is here: 5 | //ricopin / SpringCollider.cs 6 | //Rocket Jump : http://rocketjump.skr.jp/unity3d/109/ 7 | //https://twitter.com/ricopin416 8 | // 9 | using UnityEngine; 10 | using System.Collections; 11 | 12 | namespace UnityChan 13 | { 14 | public class SpringCollider : MonoBehaviour 15 | { 16 | //半径 17 | public float radius = 0.5f; 18 | 19 | private void OnDrawGizmosSelected () 20 | { 21 | Gizmos.color = Color.green; 22 | Gizmos.DrawWireSphere (transform.position, radius); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/SpringCollider.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcb73b690c023734fb267911061a15c6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/SpringManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6514ba86f976d724ab63844a6015b2aa 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/ThirdPersonCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd9604897707c4879978b864a8be4d39 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/UnityChanControlScriptWithRgidBody.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9001bcbd91e76437cb0f52f12764f2f0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/UnityChanState.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class UnityChanState : MonoBehaviour 6 | { 7 | private Animator anim; 8 | private float ElapsedTime; 9 | const float SAD_THRESHOLD = 10.0f; 10 | const float NORMAL_THRESHOLD = 5.0f; 11 | 12 | public bool CanSmile { get; set; } 13 | private bool SmileState; 14 | 15 | private void Start () 16 | { 17 | anim = GetComponent (); 18 | anim.SetLayerWeight (1, 1); 19 | } 20 | 21 | private void InitState() 22 | { 23 | anim.SetBool ("Sad", false); 24 | anim.SetBool ("Smile", false); 25 | } 26 | 27 | public void Smile() 28 | { 29 | if (!CanSmile) return; 30 | 31 | ElapsedTime = 0.0f; 32 | CanSmile = false; 33 | SmileState = true; 34 | 35 | InitState(); 36 | anim.SetBool ("Smile", true); 37 | anim.CrossFade ("smile2@sd_hmd", 0.5f); 38 | 39 | // Delay init 40 | StartCoroutine(SmileResetCoroutine()); 41 | } 42 | 43 | private void Update () 44 | { 45 | // Sad face 46 | if (CanSmile && SAD_THRESHOLD < ElapsedTime) 47 | { 48 | InitState(); 49 | anim.SetBool ("Sad", true); 50 | anim.CrossFade ("sad@sd_hmd", 0.5f); 51 | } 52 | // Normal face 53 | else if (SmileState && NORMAL_THRESHOLD < ElapsedTime) 54 | { 55 | InitState(); 56 | SmileState = false; 57 | anim.CrossFade ("default@sd_hmd", 0.5f); 58 | } 59 | 60 | // 時間経過 61 | if (ElapsedTime <= SAD_THRESHOLD) 62 | { 63 | ElapsedTime += Time.deltaTime; 64 | } 65 | } 66 | 67 | private IEnumerator SmileResetCoroutine() 68 | { 69 | yield return new WaitForSeconds(1.0f); 70 | InitState(); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /Assets/UnityChan/Scripts/UnityChanState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58b4f6186dbba498a87c14acb8cf985b 3 | timeCreated: 1496971163 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/UnityParticlePainter.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0327f0aa0142146c291df8203b848257 3 | timeCreated: 1494021616 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/checker_large UV.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/Assets/checker_large UV.gif -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.6.1p2 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sacchy/Unity-Arkit/baee62fb2d8e096a0fc9fb901daaf191da2ea140/ProjectSettings/UnityConnectSettings.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Unity-ARKit 2 | ==== 3 | 4 | UnityARKitSceneを開いてください。 5 | 6 | 7 | 下記を参考にしてください。 8 | Unityで「ARKit」を使ってみよう 9 | ~~https://tech.sge.cyberagent.co.jp/gameengine/unity/arkit/~~ 10 | https://creator.game.cyberagent.co.jp/?p=4158 11 | 12 | --- 13 | 14 | Please open UnityARKitScene. 15 | 16 | 17 | Please see below. 18 | Unityで「ARKit」を使ってみよう 19 | ~~https://tech.sge.cyberagent.co.jp/gameengine/unity/arkit/~~ 20 | https://creator.game.cyberagent.co.jp/?p=4158 21 | --------------------------------------------------------------------------------