diff --git a/Nreal/Assets/NRSDK/Models/Hands/HandJoint/SphereJoint.prefab b/Nreal/Assets/NRSDK/Models/Hands/HandJoint/SphereJoint.prefab index c2609cbd..299a2841 100644 --- a/Nreal/Assets/NRSDK/Models/Hands/HandJoint/SphereJoint.prefab +++ b/Nreal/Assets/NRSDK/Models/Hands/HandJoint/SphereJoint.prefab @@ -1,21 +1,11 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1001 &100100000 -Prefab: - m_ObjectHideFlags: 1 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: [] - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 0} - m_RootGameObject: {fileID: 1292187076706152} - m_IsPrefabAsset: 1 --- !u!1 &1292187076706152 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - component: {fileID: 4590301643461410} @@ -29,28 +19,12 @@ GameObject: m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!1 &1943492813550636 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - serializedVersion: 6 - m_Component: - - component: {fileID: 4610044817108114} - - component: {fileID: 33924752770114610} - - component: {fileID: 23420751684691154} - m_Layer: 0 - m_Name: Axis - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 --- !u!4 &4590301643461410 Transform: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1292187076706152} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} @@ -60,35 +34,34 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!4 &4610044817108114 -Transform: - m_ObjectHideFlags: 1 +--- !u!33 &33618516296970838 +MeshFilter: + m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1943492813550636} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 0.12, y: 0.12, z: 0.12} - m_Children: [] - m_Father: {fileID: 4590301643461410} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!23 &23420751684691154 + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1292187076706152} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!23 &23594847399696500 MeshRenderer: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1943492813550636} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1292187076706152} m_Enabled: 1 - m_CastShadows: 1 - m_ReceiveShadows: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 83533d396a6e3a042a637f7a7c198d6f, type: 2} + - {fileID: 2100000, guid: 80c308f79a5ad3c489687e70fcff316b, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -96,6 +69,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 @@ -108,22 +82,80 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!23 &23594847399696500 -MeshRenderer: - m_ObjectHideFlags: 1 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!135 &135550654450833540 +SphereCollider: + m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1292187076706152} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 0 + serializedVersion: 2 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!1 &1943492813550636 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 4610044817108114} + - component: {fileID: 33924752770114610} + - component: {fileID: 23420751684691154} + m_Layer: 0 + m_Name: Axis + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &4610044817108114 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1943492813550636} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.12, y: 0.12, z: 0.12} + m_Children: [] + m_Father: {fileID: 4590301643461410} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!33 &33924752770114610 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1943492813550636} + m_Mesh: {fileID: 4300000, guid: 3c735a14671f45b438734f07c7774f29, type: 3} +--- !u!23 &23420751684691154 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1943492813550636} m_Enabled: 1 - m_CastShadows: 0 - m_ReceiveShadows: 0 + m_CastShadows: 1 + m_ReceiveShadows: 1 m_DynamicOccludee: 1 m_MotionVectors: 1 m_LightProbeUsage: 1 m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 80c308f79a5ad3c489687e70fcff316b, type: 2} + - {fileID: 2100000, guid: 83533d396a6e3a042a637f7a7c198d6f, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -131,6 +163,7 @@ MeshRenderer: m_ProbeAnchor: {fileID: 0} m_LightProbeVolumeOverride: {fileID: 0} m_ScaleInLightmap: 1 + m_ReceiveGI: 1 m_PreserveUVs: 0 m_IgnoreNormalsForChartDetection: 0 m_ImportantGI: 0 @@ -143,29 +176,4 @@ MeshRenderer: m_SortingLayerID: 0 m_SortingLayer: 0 m_SortingOrder: 0 ---- !u!33 &33618516296970838 -MeshFilter: - m_ObjectHideFlags: 1 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1292187076706152} - m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} ---- !u!33 &33924752770114610 -MeshFilter: - m_ObjectHideFlags: 1 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1943492813550636} - m_Mesh: {fileID: 4300000, guid: 3c735a14671f45b438734f07c7774f29, type: 3} ---- !u!135 &135550654450833540 -SphereCollider: - m_ObjectHideFlags: 1 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1292187076706152} - m_Material: {fileID: 0} - m_IsTrigger: 0 - m_Enabled: 0 - serializedVersion: 2 - m_Radius: 0.5 - m_Center: {x: 0, y: 0, z: 0} + m_AdditionalVertexStreams: {fileID: 0} diff --git a/Nreal/Assets/NrealExtensions/NRExtButton.cs b/Nreal/Assets/NrealExtensions/NRExtButton.cs index 5d47dea6..04ab7f1e 100644 --- a/Nreal/Assets/NrealExtensions/NRExtButton.cs +++ b/Nreal/Assets/NrealExtensions/NRExtButton.cs @@ -4,15 +4,36 @@ using UnityEngine.UI; using NRKernal; +/// +/// Extent the button inside the "Laser-Mode" with userfeedback +/// [RequireComponent(typeof(Button))] public class NRExtButton : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerDownHandler, IPointerUpHandler { + /// + /// Text element of the button + /// Text txt; + + /// + /// Base color of button + /// Color baseColor; + + /// + /// Button gameobject + /// Button btn; + + /// + /// Delay to remove wrong events + /// bool interactableDelay; + /// + /// Start methode of unity gameobject + /// void Start() { txt = GetComponentInChildren(); @@ -21,6 +42,9 @@ void Start() interactableDelay = btn.interactable; } + /// + /// Update methode of unity gameobject + /// void Update() { if (btn.interactable != interactableDelay) @@ -37,11 +61,14 @@ void Update() interactableDelay = btn.interactable; } + /// + /// Event reciver methode which triggered if the laser cross/ enters the button + /// + /// public void OnPointerEnter(PointerEventData eventData) { if (btn.interactable) - { - NRInput.TriggerHapticVibration(); + { txt.color = baseColor * btn.colors.highlightedColor * btn.colors.colorMultiplier; } else @@ -50,10 +77,14 @@ public void OnPointerEnter(PointerEventData eventData) } } + /// + /// Event reciver methode which triggered if a button of the controller is pressed + /// public void OnPointerDown(PointerEventData eventData) { if (btn.interactable) { + NRInput.TriggerHapticVibration(); txt.color = baseColor * btn.colors.pressedColor * btn.colors.colorMultiplier; } else @@ -62,6 +93,9 @@ public void OnPointerDown(PointerEventData eventData) } } + /// + /// Event reciver methode which triggered if leaves the pressmode + /// public void OnPointerUp(PointerEventData eventData) { if (btn.interactable) @@ -74,6 +108,10 @@ public void OnPointerUp(PointerEventData eventData) } } + /// + /// Event reciver methode which triggered if the laser leaves the button + /// + /// public void OnPointerExit(PointerEventData eventData) { if (btn.interactable) diff --git a/Nreal/Assets/Scenes/Home.unity b/Nreal/Assets/Scenes/Home.unity index c4e89e14..f1133f24 100644 --- a/Nreal/Assets/Scenes/Home.unity +++ b/Nreal/Assets/Scenes/Home.unity @@ -124,6 +124,12 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} +--- !u!4 &13119398 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4853667269475096, guid: ad152f08ed7eb6e4abd93376a0203e38, + type: 3} + m_PrefabInstance: {fileID: 633987594} + m_PrefabAsset: {fileID: 0} --- !u!1 &18162503 GameObject: m_ObjectHideFlags: 0 @@ -273,12 +279,6 @@ PrefabInstance: - {fileID: 3658800093834657070, guid: d092e18be9b873f4ea809c276aa8792b, type: 3} - {fileID: 2077098541580280392, guid: d092e18be9b873f4ea809c276aa8792b, type: 3} m_SourcePrefab: {fileID: 100100000, guid: d092e18be9b873f4ea809c276aa8792b, type: 3} ---- !u!4 &27821125 stripped -Transform: - m_CorrespondingSourceObject: {fileID: 4529309942957008, guid: 665d8158924bd2648a94fb3f87691bbb, - type: 3} - m_PrefabInstance: {fileID: 1862936643} - m_PrefabAsset: {fileID: 0} --- !u!1001 &40919614 PrefabInstance: m_ObjectHideFlags: 0 @@ -1086,7 +1086,7 @@ PrefabInstance: - target: {fileID: 8288902925528648974, guid: d48ec07b4c5ca954796f489d8c49c058, type: 3} propertyPath: m_IsActive - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 8288902925528648975, guid: d48ec07b4c5ca954796f489d8c49c058, type: 3} @@ -1568,6 +1568,8 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: f6c3fdfe73bd9c64bbb6e6796c043ad1, type: 3} m_Name: m_EditorClassIdentifier: + handRight: 0 + handLeft: 1 --- !u!114 &122088589 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1796,6 +1798,56 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &165585583 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1263783392} + m_Modifications: + - target: {fileID: 1074428498397130, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_Name + value: GestureSimpleTip_R + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 114450187173714034, guid: 98cddc6b51ec7804bbbd0bb6384917f6, + type: 3} + propertyPath: hand + value: + objectReference: {fileID: 1263783393} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} --- !u!1 &170136551 GameObject: m_ObjectHideFlags: 0 @@ -2372,6 +2424,47 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 253788861} m_CullTransparentMesh: 0 +--- !u!1001 &259715463 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1840409406} + m_Modifications: + - target: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 7f0032a8f9796bb418c31cdb8c16b78e, type: 3} --- !u!1 &265312687 GameObject: m_ObjectHideFlags: 0 @@ -2447,6 +2540,52 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 265312687} m_CullTransparentMesh: 0 +--- !u!1 &269761657 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 269761658} + - component: {fileID: 269761659} + m_Layer: 0 + m_Name: NRHandSimpleVisual_L + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &269761658 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 269761657} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 618858155} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &269761659 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 269761657} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5c2de71c9a7904146a90f148c146d977, type: 3} + m_Name: + m_EditorClassIdentifier: + handEnum: 1 + jointPrefab: {fileID: 1292187076706152, guid: d18a7f316151fa047a09702804226517, + type: 3} --- !u!1 &276752635 GameObject: m_ObjectHideFlags: 0 @@ -3236,6 +3375,135 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 402576662} m_CullTransparentMesh: 0 +--- !u!1 &405467821 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 405467822} + - component: {fileID: 405467823} + m_Layer: 0 + m_Name: linePrefab + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &405467822 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 405467821} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 2} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 682569931} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!120 &405467823 +LineRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 405467821} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 0 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 5021ce2eb6dbf35438a5b9f94d31c9b4, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Positions: + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + m_Parameters: + serializedVersion: 3 + widthMultiplier: 1 + widthCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + colorGradient: + serializedVersion: 2 + key0: {r: 1, g: 1, b: 1, a: 1} + key1: {r: 1, g: 1, b: 1, a: 1} + key2: {r: 0, g: 0, b: 0, a: 0} + key3: {r: 0, g: 0, b: 0, a: 0} + key4: {r: 0, g: 0, b: 0, a: 0} + key5: {r: 0, g: 0, b: 0, a: 0} + key6: {r: 0, g: 0, b: 0, a: 0} + key7: {r: 0, g: 0, b: 0, a: 0} + ctime0: 0 + ctime1: 65535 + ctime2: 0 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 65535 + atime2: 0 + atime3: 0 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_NumColorKeys: 2 + m_NumAlphaKeys: 2 + numCornerVertices: 0 + numCapVertices: 0 + alignment: 0 + textureMode: 0 + shadowBias: 0 + generateLightingData: 0 + m_UseWorldSpace: 1 + m_Loop: 0 --- !u!1001 &407054032 PrefabInstance: m_ObjectHideFlags: 0 @@ -3702,6 +3970,7 @@ MonoBehaviour: m_EditorClassIdentifier: BuLaserInteraction: {fileID: 1337509640} BuHandInteraction: {fileID: 103108350} + Handmenu: {fileID: 1339356268} --- !u!1 &486482506 GameObject: m_ObjectHideFlags: 0 @@ -4558,6 +4827,85 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 609129617} m_CullTransparentMesh: 0 +--- !u!4 &618858155 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, + type: 3} + m_PrefabInstance: {fileID: 1577749883} + m_PrefabAsset: {fileID: 0} +--- !u!114 &618858156 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114688613808665360, guid: 9e73c86b401a7c34cb70b4dcaf94be65, + type: 3} + m_PrefabInstance: {fileID: 1577749883} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70daf2d8f37b30d4bab087bfe4481331, type: 3} + m_Name: + m_EditorClassIdentifier: +--- !u!1001 &633987594 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} + propertyPath: m_RootOrder + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114189359072911506, guid: ad152f08ed7eb6e4abd93376a0203e38, + type: 3} + propertyPath: m_InputSourceType + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114189359072911506, guid: ad152f08ed7eb6e4abd93376a0203e38, + type: 3} + propertyPath: m_OverrideCameraCenter + value: + objectReference: {fileID: 0} + - target: {fileID: 114189359072911506, guid: ad152f08ed7eb6e4abd93376a0203e38, + type: 3} + propertyPath: m_StartWithInputSource + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 114189359072911506, guid: ad152f08ed7eb6e4abd93376a0203e38, + type: 3} + propertyPath: m_EmulateVirtualDisplayInEditor + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} --- !u!1 &636956040 GameObject: m_ObjectHideFlags: 0 @@ -4855,6 +5203,55 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 670922259} m_CullTransparentMesh: 0 +--- !u!1 &682569930 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 682569931} + - component: {fileID: 682569932} + m_Layer: 0 + m_Name: LinePen + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &682569931 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 682569930} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 405467822} + - {fileID: 1956496037} + m_Father: {fileID: 1465937406} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &682569932 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 682569930} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c495068d8f80f434497b8c9aae6e4f23, type: 3} + m_Name: + m_EditorClassIdentifier: + lineRendererPrefab: {fileID: 405467821} + penPoint: {fileID: 1956496037} + lineWidth: 0.005 + lineLifeTime: 12 --- !u!1 &686220154 GameObject: m_ObjectHideFlags: 0 @@ -5822,7 +6219,7 @@ Transform: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 803008384} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 1.3} + m_LocalPosition: {x: 0, y: 0.1, z: 1.3} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - {fileID: 1234883758} @@ -6054,7 +6451,7 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 819580603} m_CullTransparentMesh: 0 ---- !u!1 &835457207 +--- !u!1 &834758338 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -6062,35 +6459,84 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 835457208} - m_Layer: 5 - m_Name: Back + - component: {fileID: 834758339} + - component: {fileID: 834758340} + m_Layer: 0 + m_Name: LinePen m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &835457208 -RectTransform: +--- !u!4 &834758339 +Transform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 835457207} + m_GameObject: {fileID: 834758338} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: - - {fileID: 1878447087} - - {fileID: 1496249674} - - {fileID: 1274774939} - - {fileID: 1241078329} - - {fileID: 1763146024} - - {fileID: 128966525} - - {fileID: 811443557} - - {fileID: 1102372207} - - {fileID: 1869653840} - m_Father: {fileID: 881676648} + - {fileID: 1429765377} + - {fileID: 1028676452} + m_Father: {fileID: 1827166804} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &834758340 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 834758338} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c495068d8f80f434497b8c9aae6e4f23, type: 3} + m_Name: + m_EditorClassIdentifier: + lineRendererPrefab: {fileID: 1429765376} + penPoint: {fileID: 1028676452} + lineWidth: 0.004 + lineLifeTime: 12 +--- !u!1 &835457207 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 835457208} + m_Layer: 5 + m_Name: Back + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &835457208 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 835457207} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1878447087} + - {fileID: 1496249674} + - {fileID: 1274774939} + - {fileID: 1241078329} + - {fileID: 1763146024} + - {fileID: 128966525} + - {fileID: 811443557} + - {fileID: 1102372207} + - {fileID: 1869653840} + m_Father: {fileID: 881676648} m_RootOrder: 5 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0.5} @@ -6927,6 +7373,36 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1018129787} m_CullTransparentMesh: 0 +--- !u!1 &1028676451 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1028676452} + m_Layer: 0 + m_Name: penPoint + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1028676452 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1028676451} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 834758339} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!4 &1059463402 stripped Transform: m_CorrespondingSourceObject: {fileID: 6364563258831008498, guid: d092e18be9b873f4ea809c276aa8792b, @@ -6939,52 +7415,6 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1198609748} m_PrefabAsset: {fileID: 0} ---- !u!1001 &1074044372 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 0} - m_Modifications: - - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4808320353365586, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 114189359072911506, guid: ad152f08ed7eb6e4abd93376a0203e38, - type: 3} - propertyPath: m_OverrideCameraCenter - value: - objectReference: {fileID: 27821125} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: ad152f08ed7eb6e4abd93376a0203e38, type: 3} --- !u!1001 &1082064283 PrefabInstance: m_ObjectHideFlags: 0 @@ -7279,6 +7709,61 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1102372206} m_CullTransparentMesh: 0 +--- !u!1001 &1114040580 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 618858155} + m_Modifications: + - target: {fileID: 1074428498397130, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_Name + value: GestureSimpleTip_L + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4353827911608580, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 114450187173714034, guid: 98cddc6b51ec7804bbbd0bb6384917f6, + type: 3} + propertyPath: hand + value: + objectReference: {fileID: 618858156} + - target: {fileID: 114450187173714034, guid: 98cddc6b51ec7804bbbd0bb6384917f6, + type: 3} + propertyPath: handEnum + value: 1 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 98cddc6b51ec7804bbbd0bb6384917f6, type: 3} --- !u!1 &1119807986 GameObject: m_ObjectHideFlags: 0 @@ -8107,7 +8592,7 @@ MonoBehaviour: m_HandleRect: {fileID: 1544469493} m_Direction: 2 m_Value: 1 - m_Size: 0.018549228 + m_Size: 0.01854923 m_NumberOfSteps: 0 m_OnValueChanged: m_PersistentCalls: @@ -8489,6 +8974,24 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1260066304} m_CullTransparentMesh: 0 +--- !u!4 &1263783392 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4405257463153130, guid: 7f0032a8f9796bb418c31cdb8c16b78e, + type: 3} + m_PrefabInstance: {fileID: 259715463} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1263783393 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 114300431516254820, guid: 7f0032a8f9796bb418c31cdb8c16b78e, + type: 3} + m_PrefabInstance: {fileID: 259715463} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 70daf2d8f37b30d4bab087bfe4481331, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &1265067473 GameObject: m_ObjectHideFlags: 0 @@ -9323,6 +9826,12 @@ GameObject: type: 3} m_PrefabInstance: {fileID: 1337509639} m_PrefabAsset: {fileID: 0} +--- !u!1 &1339356268 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 8794644098809934789, guid: d3f38da892e646b47b3ee00a4580eb7e, + type: 3} + m_PrefabInstance: {fileID: 8794644098592355563} + m_PrefabAsset: {fileID: 0} --- !u!1 &1368438425 GameObject: m_ObjectHideFlags: 0 @@ -10395,6 +10904,227 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1425735522} m_CullTransparentMesh: 0 +--- !u!1 &1429765376 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1429765377} + - component: {fileID: 1429765378} + m_Layer: 0 + m_Name: linePrefab + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &1429765377 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1429765376} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 2} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 834758339} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!120 &1429765378 +LineRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1429765376} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_MotionVectors: 0 + m_LightProbeUsage: 0 + m_ReflectionProbeUsage: 0 + m_RayTracingMode: 0 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 5021ce2eb6dbf35438a5b9f94d31c9b4, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_Positions: + - {x: 0, y: 0, z: 0} + - {x: 0, y: 0, z: 0} + m_Parameters: + serializedVersion: 3 + widthMultiplier: 1 + widthCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + colorGradient: + serializedVersion: 2 + key0: {r: 1, g: 1, b: 1, a: 1} + key1: {r: 1, g: 1, b: 1, a: 1} + key2: {r: 0, g: 0, b: 0, a: 0} + key3: {r: 0, g: 0, b: 0, a: 0} + key4: {r: 0, g: 0, b: 0, a: 0} + key5: {r: 0, g: 0, b: 0, a: 0} + key6: {r: 0, g: 0, b: 0, a: 0} + key7: {r: 0, g: 0, b: 0, a: 0} + ctime0: 0 + ctime1: 65535 + ctime2: 0 + ctime3: 0 + ctime4: 0 + ctime5: 0 + ctime6: 0 + ctime7: 0 + atime0: 0 + atime1: 65535 + atime2: 0 + atime3: 0 + atime4: 0 + atime5: 0 + atime6: 0 + atime7: 0 + m_Mode: 0 + m_NumColorKeys: 2 + m_NumAlphaKeys: 2 + numCornerVertices: 0 + numCapVertices: 0 + alignment: 0 + textureMode: 0 + shadowBias: 0 + generateLightingData: 0 + m_UseWorldSpace: 1 + m_Loop: 0 +--- !u!1 &1451145239 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1451145240} + - component: {fileID: 1451145241} + m_Layer: 0 + m_Name: NRHandSimpleVisual_R + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1451145240 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1451145239} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1263783392} + m_RootOrder: 3 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1451145241 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1451145239} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5c2de71c9a7904146a90f148c146d977, type: 3} + m_Name: + m_EditorClassIdentifier: + handEnum: 0 + jointPrefab: {fileID: 1292187076706152, guid: d18a7f316151fa047a09702804226517, + type: 3} +--- !u!1 &1465937405 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1465937406} + - component: {fileID: 1465937407} + m_Layer: 0 + m_Name: LinePenCtrl_L + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &1465937406 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1465937405} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 682569931} + m_Father: {fileID: 618858155} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1465937407 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1465937405} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a07c8ee24221fb94db8563cbc39b045f, type: 3} + m_Name: + m_EditorClassIdentifier: + handEnum: 1 + pen: {fileID: 682569932} --- !u!1 &1467447960 GameObject: m_ObjectHideFlags: 0 @@ -11011,6 +11741,47 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1088739301} m_PrefabAsset: {fileID: 0} +--- !u!1001 &1577749883 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 13119398} + m_Modifications: + - target: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 4261144047474834, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9e73c86b401a7c34cb70b4dcaf94be65, type: 3} --- !u!1 &1580080476 GameObject: m_ObjectHideFlags: 0 @@ -11161,6 +11932,134 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1584778948} m_CullTransparentMesh: 0 +--- !u!1 &1587241096 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1587241097} + - component: {fileID: 1587241102} + - component: {fileID: 1587241101} + - component: {fileID: 1587241100} + - component: {fileID: 1587241099} + - component: {fileID: 1587241098} + m_Layer: 0 + m_Name: ColliderEntity_IndexTip_L + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1587241097 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1587241096} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.015, y: 0.015, z: 0.015} + m_Children: [] + m_Father: {fileID: 618858155} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1587241098 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1587241096} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 25e5621a6acf0fc46aca9972b085b3ac, type: 3} + m_Name: + m_EditorClassIdentifier: + handEnum: 1 + handJoint: 9 + activeByHandGesture: 2 +--- !u!54 &1587241099 +Rigidbody: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1587241096} + serializedVersion: 2 + m_Mass: 1 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 0 + m_CollisionDetection: 3 +--- !u!135 &1587241100 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1587241096} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 0 + serializedVersion: 2 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1587241101 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1587241096} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 6f66e4a5f317e004585d685ee2554aad, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1587241102 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1587241096} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1589240178 GameObject: m_ObjectHideFlags: 0 @@ -12946,6 +13845,52 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1815272835} m_CullTransparentMesh: 0 +--- !u!1 &1827166803 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1827166804} + - component: {fileID: 1827166805} + m_Layer: 0 + m_Name: LinePenCtrl_R + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 0 +--- !u!4 &1827166804 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1827166803} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 834758339} + m_Father: {fileID: 1263783392} + m_RootOrder: 5 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1827166805 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1827166803} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a07c8ee24221fb94db8563cbc39b045f, type: 3} + m_Name: + m_EditorClassIdentifier: + handEnum: 0 + pen: {fileID: 834758340} --- !u!1 &1835067562 GameObject: m_ObjectHideFlags: 0 @@ -13211,6 +14156,12 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1838510767} m_CullTransparentMesh: 0 +--- !u!4 &1840409406 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4556635457664080, guid: ad152f08ed7eb6e4abd93376a0203e38, + type: 3} + m_PrefabInstance: {fileID: 633987594} + m_PrefabAsset: {fileID: 0} --- !u!1001 &1850534545 PrefabInstance: m_ObjectHideFlags: 0 @@ -13827,6 +14778,36 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1498154986} m_PrefabAsset: {fileID: 0} +--- !u!1 &1956496036 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1956496037} + m_Layer: 0 + m_Name: penPoint + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1956496037 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1956496036} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 682569931} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1960381500 GameObject: m_ObjectHideFlags: 0 @@ -13933,6 +14914,134 @@ Canvas: m_SortingLayerID: 0 m_SortingOrder: 0 m_TargetDisplay: 0 +--- !u!1 &1971981425 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1971981426} + - component: {fileID: 1971981431} + - component: {fileID: 1971981430} + - component: {fileID: 1971981429} + - component: {fileID: 1971981428} + - component: {fileID: 1971981427} + m_Layer: 0 + m_Name: ColliderEntity_IndexTip_R + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1971981426 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1971981425} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 0.015, y: 0.015, z: 0.015} + m_Children: [] + m_Father: {fileID: 1263783392} + m_RootOrder: 4 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1971981427 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1971981425} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 25e5621a6acf0fc46aca9972b085b3ac, type: 3} + m_Name: + m_EditorClassIdentifier: + handEnum: 0 + handJoint: 9 + activeByHandGesture: 2 +--- !u!54 &1971981428 +Rigidbody: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1971981425} + serializedVersion: 2 + m_Mass: 1 + m_Drag: 0 + m_AngularDrag: 0.05 + m_UseGravity: 0 + m_IsKinematic: 1 + m_Interpolate: 0 + m_Constraints: 0 + m_CollisionDetection: 3 +--- !u!135 &1971981429 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1971981425} + m_Material: {fileID: 0} + m_IsTrigger: 0 + m_Enabled: 0 + serializedVersion: 2 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1971981430 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1971981425} + m_Enabled: 1 + m_CastShadows: 0 + m_ReceiveShadows: 0 + m_DynamicOccludee: 1 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 4294967295 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 6f66e4a5f317e004585d685ee2554aad, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 0 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1971981431 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1971981425} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} --- !u!1 &1978857988 GameObject: m_ObjectHideFlags: 0 diff --git a/Nreal/Assets/Scripts/ChangeInteractionMode.cs b/Nreal/Assets/Scripts/ChangeInteractionMode.cs index 509c14cd..39d32013 100644 --- a/Nreal/Assets/Scripts/ChangeInteractionMode.cs +++ b/Nreal/Assets/Scripts/ChangeInteractionMode.cs @@ -1,3 +1,4 @@ +using NRKernal; using System.Collections; using System.Collections.Generic; using UnityEngine; @@ -7,11 +8,18 @@ public class ChangeInteractionMode : MonoBehaviour public static bool HandInteractionActive = false; public GameObject BuLaserInteraction; public GameObject BuHandInteraction; + public GameObject Handmenu; // Start is called before the first frame update void Start() { - + if (!NRInput.SetInputSource(InputSourceEnum.Hands)) + { + BuHandInteraction.SetActive(false); + BuHandInteraction.SetActive(false); + } + + NRInput.SetInputSource(InputSourceEnum.Controller); } // Update is called once per frame @@ -20,17 +28,27 @@ void Update() } + /// + /// Event reciver for on click of the laser button + /// public void OnClickLaserInteraction() - { + { HandInteractionActive = false; - this.BuHandInteraction.SetActive(false); - this.BuLaserInteraction.SetActive(true); + this.BuHandInteraction.SetActive(true); + this.BuLaserInteraction.SetActive(false); + this.Handmenu.transform.position = new Vector3(this.Handmenu.transform.position.x, this.Handmenu.transform.position.y - 0.1f, this.Handmenu.transform.position.z + 0.1f); + NRInput.SetInputSource(InputSourceEnum.Controller); } + /// + /// Event reciver for on click of the hand button + /// public void OnClickHandInteraction() - { + { HandInteractionActive = true; - this.BuLaserInteraction.SetActive(false); - this.BuHandInteraction.SetActive(true); + this.BuLaserInteraction.SetActive(true); + this.BuHandInteraction.SetActive(false); + this.Handmenu.transform.position = new Vector3(this.Handmenu.transform.position.x, this.Handmenu.transform.position.y + 0.1f, this.Handmenu.transform.position.z - 0.1f); + NRInput.SetInputSource(InputSourceEnum.Hands); } } diff --git a/Nreal/Assets/Scripts/NrealInputExt.cs b/Nreal/Assets/Scripts/NrealInputExt.cs index c93e147e..1f846a8e 100644 --- a/Nreal/Assets/Scripts/NrealInputExt.cs +++ b/Nreal/Assets/Scripts/NrealInputExt.cs @@ -41,4 +41,38 @@ public static bool GetLaserEndWorldPosition(out Vector3 point, out RaycastHit hi point = new Vector3(); return false; } + + /// + /// Tries to return the laser end postion of the hand input + /// + /// Returns the world postions + /// Indicates the success + public static bool GetLaserEndWorldPositionFromHand(out Vector3 point, HandEnum handEnum) + { + RaycastHit hitResult; + return GetLaserEndWorldPositionFromHand(out point, out hitResult, handEnum); + } + + /// + /// Tries to return the laser end postion of the hand input + /// + /// Returns the world postions + /// Returns the hit information of the raycast + /// Indicates the success + public static bool GetLaserEndWorldPositionFromHand(out Vector3 point, out RaycastHit hitInfo, HandEnum handEnum) + { + var handState = NRInput.Hands.GetHandState(handEnum); + var laserRay = new Ray(handState.pointerPose.position, handState.pointerPose.forward); + RaycastHit hitResult; + if (Physics.Raycast(laserRay, out hitResult, 10)) + { + hitInfo = hitResult; + point = Camera.main.WorldToScreenPoint(hitResult.point); + return true; + } + + hitInfo = new RaycastHit(); + point = new Vector3(); + return false; + } } diff --git a/Nreal/Assets/Scripts/PivotRotation.cs b/Nreal/Assets/Scripts/PivotRotation.cs index 84b27c70..ae289aad 100644 --- a/Nreal/Assets/Scripts/PivotRotation.cs +++ b/Nreal/Assets/Scripts/PivotRotation.cs @@ -76,11 +76,26 @@ void Update() if (dragging) { SpinSide(activeSide); - if (NRInput.GetButtonUp(ControllerButton.TRIGGER)) + + if (ChangeInteractionMode.HandInteractionActive) + { + var handState = NRInput.Hands.GetHandState(SelectFace.activeHandEnum); + + if (!handState.isPinching) + { + dragging = false; + DraggingInProgress = false; + RotatToRightAngle(); + } + } + else { - dragging = false; - DraggingInProgress = false; - RotatToRightAngle(); + if (NRInput.GetButtonUp(ControllerButton.TRIGGER)) + { + dragging = false; + DraggingInProgress = false; + RotatToRightAngle(); + } } } @@ -94,7 +109,17 @@ private void SpinSide(List side) { rotation = Vector3.zero; Vector3 laserEndPoint; - if (NrealInputExt.GetLaserEndWorldPosition(out laserEndPoint)) + bool hitSuccess = false; + if (ChangeInteractionMode.HandInteractionActive) + { + hitSuccess = NrealInputExt.GetLaserEndWorldPositionFromHand(out laserEndPoint, SelectFace.activeHandEnum); + } + else + { + hitSuccess = NrealInputExt.GetLaserEndWorldPosition(out laserEndPoint); + } + + if (hitSuccess) { Vector3 mouseOffset = laserEndPoint - mouseRef; @@ -117,7 +142,6 @@ private void SpinSide(List side) mouse_pos.y = mouse_pos.y - object_pos.y; angleRef = (Mathf.Atan2(mouse_pos.y, mouse_pos.x) * Mathf.Rad2Deg); - if (side == cubeState.up) { angle = angle * -1; @@ -184,7 +208,17 @@ public void Rotate(List side) activeSide = side; ActivateGlowing(); Vector3 laserEndPoint; - NrealInputExt.GetLaserEndWorldPosition(out laserEndPoint); + + bool hitSuccess = false; + if (ChangeInteractionMode.HandInteractionActive) + { + hitSuccess = NrealInputExt.GetLaserEndWorldPositionFromHand(out laserEndPoint, SelectFace.activeHandEnum); + } + else + { + hitSuccess = NrealInputExt.GetLaserEndWorldPosition(out laserEndPoint); + } + mouseRef = laserEndPoint; dragging = true; DraggingInProgress = true; diff --git a/Nreal/Assets/Scripts/SelectFace.cs b/Nreal/Assets/Scripts/SelectFace.cs index 73d4d394..760bb8ef 100644 --- a/Nreal/Assets/Scripts/SelectFace.cs +++ b/Nreal/Assets/Scripts/SelectFace.cs @@ -21,6 +21,10 @@ public class SelectFace : MonoBehaviour /// int layerMask = 1 << 8; + public HandEnum handRight; + public HandEnum handLeft; + public static HandEnum activeHandEnum; + // Start is called before the first frame update void Start() { @@ -30,20 +34,62 @@ void Start() // Update is called once per frame void Update() - { - // If the player doesn't click the trigger button, we are done with this update. - if (!NRInput.GetButtonDown(ControllerButton.TRIGGER) || CubeState.autoRotating) + { + Ray? laserRay = null; + if (ChangeInteractionMode.HandInteractionActive) { - return; + var handState = NRInput.Hands.GetHandState(handRight); + + bool isGrabing = false; + + if (handState.isPinching) + { + isGrabing = true; + activeHandEnum = handRight; + } + else + { + handState = NRInput.Hands.GetHandState(handLeft); + if (handState.isPinching) + { + isGrabing = true; + activeHandEnum = handLeft; + } + } + + // If the player doesn't hand not grapping button, we are done with this update. + if (!isGrabing || CubeState.autoRotating || PivotRotation.DraggingInProgress) + { + return; + } + + if (handState.isPinching) + { + laserRay = new Ray(handState.pointerPose.position, handState.pointerPose.forward); + } + } + else + { + // If the player doesn't click the trigger button, we are done with this update. + if (!NRInput.GetButtonDown(ControllerButton.TRIGGER) || CubeState.autoRotating) + { + return; + } + + if (NRInput.GetButtonDown(ControllerButton.TRIGGER)) + { + var laserAnchor = NRInput.AnchorsHelper.GetAnchor(NRInput.RaycastMode == RaycastModeEnum.Gaze ? ControllerAnchorEnum.GazePoseTrackerAnchor : ControllerAnchorEnum.RightLaserAnchor); + laserRay = new Ray(laserAnchor.transform.position, laserAnchor.transform.forward); + } } - if (NRInput.GetButtonDown(ControllerButton.TRIGGER)) + if (laserRay != null) { readCube.ReadState(); RaycastHit hit; - Transform laserAnchor = NRInput.AnchorsHelper.GetAnchor(NRInput.RaycastMode == RaycastModeEnum.Gaze ? ControllerAnchorEnum.GazePoseTrackerAnchor : ControllerAnchorEnum.RightLaserAnchor); - if (Physics.Raycast(new Ray(laserAnchor.transform.position, laserAnchor.transform.forward), out hit, 100.0f, layerMask)) + + if (Physics.Raycast(laserRay.Value, out hit, 100.0f, layerMask)) { GameObject face = hit.collider.gameObject; @@ -57,7 +103,7 @@ void Update() cubeState.back }; - foreach(List cubeSide in cubeSides) + foreach (List cubeSide in cubeSides) { if (cubeSide.Contains(face)) { diff --git a/Nreal/ProjectSettings/ProjectSettings.asset b/Nreal/ProjectSettings/ProjectSettings.asset index 7c966795..709f57c5 100644 --- a/Nreal/ProjectSettings/ProjectSettings.asset +++ b/Nreal/ProjectSettings/ProjectSettings.asset @@ -269,38 +269,6 @@ PlayerSettings: m_BuildTargetPlatformIcons: - m_BuildTarget: Android m_Icons: - - m_Textures: - - {fileID: 2800000, guid: 13576e73ff6766643bebff7bd4561cb6, type: 3} - - {fileID: 2800000, guid: bdcedb8c66098e945a005676cdc8ca66, type: 3} - m_Width: 432 - m_Height: 432 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 324 - m_Height: 324 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 216 - m_Height: 216 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 162 - m_Height: 162 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 108 - m_Height: 108 - m_Kind: 2 - m_SubKind: - - m_Textures: [] - m_Width: 81 - m_Height: 81 - m_Kind: 2 - m_SubKind: - m_Textures: - {fileID: 2800000, guid: 07772190547a7c44d81eb4d04b82654e, type: 3} m_Width: 192 @@ -373,6 +341,38 @@ PlayerSettings: m_Height: 36 m_Kind: 0 m_SubKind: + - m_Textures: + - {fileID: 2800000, guid: 13576e73ff6766643bebff7bd4561cb6, type: 3} + - {fileID: 2800000, guid: bdcedb8c66098e945a005676cdc8ca66, type: 3} + m_Width: 432 + m_Height: 432 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 324 + m_Height: 324 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 216 + m_Height: 216 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 162 + m_Height: 162 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 108 + m_Height: 108 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 81 + m_Height: 81 + m_Kind: 2 + m_SubKind: m_BuildTargetBatching: - m_BuildTarget: Standalone m_StaticBatching: 1 diff --git a/Nreal/ProjectSettings/TimelineSettings.asset b/Nreal/ProjectSettings/TimelineSettings.asset new file mode 100644 index 00000000..b4fbdb09 --- /dev/null +++ b/Nreal/ProjectSettings/TimelineSettings.asset @@ -0,0 +1,15 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 61 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: a287be6c49135cd4f9b2b8666c39d999, type: 3} + m_Name: + m_EditorClassIdentifier: + assetDefaultFramerate: 60 diff --git a/Nreal/default.txt b/Nreal/default.txt index a506dc77..238d5cda 100644 --- a/Nreal/default.txt +++ b/Nreal/default.txt @@ -1010,3 +1010,187 @@ [2021-08-10 21:08:34.415] [INFO] NRTracking STOP! [2021-08-10 21:08:34.416] [INFO] NRTracking RELEASE! [2021-08-10 21:08:34.416] [INFO] NRSDK STOP! +[2021-08-22 11:10:46.371] [INFO] NRSDK Version: 1.1.0.20190905r +[2021-08-22 11:10:46.371] [INFO] NRSDK Create! +[2021-08-22 11:10:46.373] [INFO] NRSDK Init! +[2021-08-22 11:10:46.374] [INFO] NRSDK Configure! +[2021-08-22 11:10:46.374] [INFO] NRTracking START! +[2021-08-22 11:10:46.374] [INFO] NRTracking RUN! +[2021-08-22 11:12:40.468] [INFO] NRTracking PAUSE! +[2021-08-22 11:12:40.471] [ERROR] NRHeadTracking Invalid Argument! +[2021-08-22 11:12:40.471] [INFO] NRTracking STOP! +[2021-08-22 11:12:40.471] [INFO] NRTracking RELEASE! +[2021-08-22 11:12:40.471] [INFO] NRSDK STOP! +[2021-08-28 19:31:40.089] [INFO] NRSDK Version: 1.1.0.20190905r +[2021-08-28 19:31:40.089] [INFO] NRSDK Create! +[2021-08-28 19:31:40.089] [INFO] NRSDK Init! +[2021-08-28 19:31:40.089] [INFO] NRSDK Configure! +[2021-08-28 19:31:40.089] [INFO] NRTracking START! +[2021-08-28 19:31:40.089] [INFO] NRTracking RUN! +[2021-08-28 19:31:40.257] [INFO] Controller START! +[2021-08-28 19:31:40.257] [INFO] Controller RUN! +[2021-08-28 19:33:03.428] [INFO] Controller PAUSE! +[2021-08-28 19:33:03.430] [INFO] Controller STOP! +[2021-08-28 19:33:03.430] [INFO] Controller RELEASE! +[2021-08-28 19:33:03.432] [INFO] NRTracking PAUSE! +[2021-08-28 19:33:03.434] [ERROR] NRHeadTracking Invalid Argument! +[2021-08-28 19:33:03.435] [INFO] NRTracking STOP! +[2021-08-28 19:33:03.435] [INFO] NRTracking RELEASE! +[2021-08-28 19:33:03.435] [INFO] NRSDK STOP! +[2021-09-05 09:42:51.333] [INFO] NRSDK Version: 1.1.0.20190905r +[2021-09-05 09:42:51.333] [INFO] NRSDK Create! +[2021-09-05 09:42:51.337] [INFO] NRSDK Init! +[2021-09-05 09:42:51.337] [INFO] NRSDK Configure! +[2021-09-05 09:42:51.337] [INFO] NRTracking START! +[2021-09-05 09:42:51.337] [INFO] NRTracking RUN! +[2021-09-05 09:42:51.522] [INFO] Controller START! +[2021-09-05 09:42:51.522] [INFO] Controller RUN! +[2021-09-05 09:43:56.821] [INFO] Controller PAUSE! +[2021-09-05 09:43:56.822] [INFO] Controller STOP! +[2021-09-05 09:43:56.822] [INFO] Controller RELEASE! +[2021-09-05 09:43:56.824] [INFO] NRTracking PAUSE! +[2021-09-05 09:43:56.826] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 09:43:56.826] [INFO] NRTracking STOP! +[2021-09-05 09:43:56.827] [INFO] NRTracking RELEASE! +[2021-09-05 09:43:56.827] [INFO] NRSDK STOP! +[2021-09-05 11:41:06.554] [INFO] NRSDK Version: 1.1.0.20190905r +[2021-09-05 11:41:06.554] [INFO] NRSDK Create! +[2021-09-05 11:41:06.556] [INFO] NRSDK Init! +[2021-09-05 11:41:06.556] [INFO] NRSDK Configure! +[2021-09-05 11:41:06.556] [INFO] NRTracking START! +[2021-09-05 11:41:06.556] [INFO] NRTracking RUN! +[2021-09-05 11:41:06.671] [INFO] Controller START! +[2021-09-05 11:41:06.671] [INFO] Controller RUN! +[2021-09-05 11:41:54.604] [INFO] NRTracking PAUSE! +[2021-09-05 11:41:54.605] [INFO] Controller PAUSE! +[2021-09-05 11:42:02.937] [INFO] NRTracking START! +[2021-09-05 11:42:02.937] [INFO] NRTracking RUN! +[2021-09-05 11:42:03.028] [INFO] Controller START! +[2021-09-05 11:42:03.028] [INFO] Controller RUN! +[2021-09-05 11:42:06.480] [INFO] Controller PAUSE! +[2021-09-05 11:42:06.482] [INFO] Controller STOP! +[2021-09-05 11:42:06.482] [INFO] Controller RELEASE! +[2021-09-05 11:42:06.484] [INFO] NRTracking PAUSE! +[2021-09-05 11:42:06.486] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 11:42:06.487] [INFO] NRTracking STOP! +[2021-09-05 11:42:06.487] [INFO] NRTracking RELEASE! +[2021-09-05 11:42:09.970] [INFO] NRTracking START! +[2021-09-05 11:42:09.970] [INFO] NRTracking RUN! +[2021-09-05 11:42:10.067] [INFO] Controller START! +[2021-09-05 11:42:10.067] [INFO] Controller RUN! +[2021-09-05 11:42:50.257] [INFO] Controller PAUSE! +[2021-09-05 11:43:37.921] [INFO] NRTracking PAUSE! +[2021-09-05 11:43:37.925] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 11:43:37.926] [INFO] NRTracking STOP! +[2021-09-05 11:43:37.926] [INFO] NRTracking RELEASE! +[2021-09-05 11:55:08.672] [INFO] NRTracking START! +[2021-09-05 11:55:08.672] [INFO] NRTracking RUN! +[2021-09-05 11:55:08.762] [INFO] Controller START! +[2021-09-05 11:55:08.762] [INFO] Controller RUN! +[2021-09-05 11:55:20.830] [INFO] Controller PAUSE! +[2021-09-05 11:57:25.643] [INFO] NRTracking PAUSE! +[2021-09-05 11:57:25.645] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 11:57:25.645] [INFO] NRTracking STOP! +[2021-09-05 11:57:25.645] [INFO] NRTracking RELEASE! +[2021-09-05 12:04:21.951] [INFO] NRTracking START! +[2021-09-05 12:04:21.951] [INFO] NRTracking RUN! +[2021-09-05 12:04:22.028] [INFO] Controller START! +[2021-09-05 12:04:22.028] [INFO] Controller RUN! +[2021-09-05 12:04:29.545] [INFO] Controller PAUSE! +[2021-09-05 12:07:25.725] [INFO] NRTracking PAUSE! +[2021-09-05 12:07:36.372] [INFO] NRTracking START! +[2021-09-05 12:07:36.372] [INFO] NRTracking RUN! +[2021-09-05 12:07:36.477] [INFO] Controller START! +[2021-09-05 12:07:36.477] [INFO] Controller RUN! +[2021-09-05 12:07:37.364] [INFO] NRTracking PAUSE! +[2021-09-05 12:07:37.367] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 12:07:37.368] [INFO] NRTracking STOP! +[2021-09-05 12:07:37.368] [INFO] NRTracking RELEASE! +[2021-09-05 12:07:37.369] [INFO] Controller STOP! +[2021-09-05 12:07:37.369] [INFO] Controller RELEASE! +[2021-09-05 12:07:46.788] [INFO] NRTracking START! +[2021-09-05 12:07:46.788] [INFO] NRTracking RUN! +[2021-09-05 12:07:46.879] [INFO] Controller START! +[2021-09-05 12:07:46.879] [INFO] Controller RUN! +[2021-09-05 12:07:54.327] [INFO] Controller PAUSE! +[2021-09-05 12:10:18.911] [INFO] NRTracking PAUSE! +[2021-09-05 12:10:27.145] [INFO] NRTracking START! +[2021-09-05 12:10:27.145] [INFO] NRTracking RUN! +[2021-09-05 12:10:27.227] [INFO] Controller START! +[2021-09-05 12:10:27.227] [INFO] Controller RUN! +[2021-09-05 12:10:39.343] [INFO] Controller PAUSE! +[2021-09-05 12:12:18.827] [INFO] NRTracking PAUSE! +[2021-09-05 12:12:27.655] [INFO] NRTracking START! +[2021-09-05 12:12:27.655] [INFO] NRTracking RUN! +[2021-09-05 12:12:27.753] [INFO] Controller START! +[2021-09-05 12:12:27.753] [INFO] Controller RUN! +[2021-09-05 12:12:41.484] [INFO] NRTracking PAUSE! +[2021-09-05 12:12:41.487] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 12:12:41.488] [INFO] NRTracking STOP! +[2021-09-05 12:12:41.488] [INFO] NRTracking RELEASE! +[2021-09-05 12:12:41.489] [INFO] Controller STOP! +[2021-09-05 12:12:41.489] [INFO] Controller RELEASE! +[2021-09-05 12:12:45.281] [INFO] NRTracking START! +[2021-09-05 12:12:45.281] [INFO] NRTracking RUN! +[2021-09-05 12:12:45.379] [INFO] Controller START! +[2021-09-05 12:12:45.379] [INFO] Controller RUN! +[2021-09-05 12:12:55.176] [INFO] Controller PAUSE! +[2021-09-05 12:14:37.506] [INFO] NRTracking PAUSE! +[2021-09-05 12:14:37.509] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 12:14:37.509] [INFO] NRTracking STOP! +[2021-09-05 12:14:37.509] [INFO] NRTracking RELEASE! +[2021-09-05 12:16:46.426] [INFO] NRTracking START! +[2021-09-05 12:16:46.426] [INFO] NRTracking RUN! +[2021-09-05 12:16:46.506] [INFO] Controller START! +[2021-09-05 12:16:46.506] [INFO] Controller RUN! +[2021-09-05 12:16:52.942] [INFO] Controller PAUSE! +[2021-09-05 12:17:02.336] [INFO] NRTracking PAUSE! +[2021-09-05 12:17:02.337] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 12:17:02.338] [INFO] NRTracking STOP! +[2021-09-05 12:17:02.338] [INFO] NRTracking RELEASE! +[2021-09-05 12:17:05.866] [INFO] NRTracking START! +[2021-09-05 12:17:05.866] [INFO] NRTracking RUN! +[2021-09-05 12:17:05.947] [INFO] Controller START! +[2021-09-05 12:17:05.947] [INFO] Controller RUN! +[2021-09-05 12:17:12.121] [INFO] Controller PAUSE! +[2021-09-05 12:17:25.381] [INFO] NRTracking PAUSE! +[2021-09-05 12:17:25.382] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 12:17:25.383] [INFO] NRTracking STOP! +[2021-09-05 12:17:25.383] [INFO] NRTracking RELEASE! +[2021-09-05 16:32:50.319] [INFO] NRSDK Version: 1.1.0.20190905r +[2021-09-05 16:32:50.319] [INFO] NRSDK Create! +[2021-09-05 16:32:50.320] [INFO] NRSDK Init! +[2021-09-05 16:32:50.320] [INFO] NRSDK Configure! +[2021-09-05 16:32:50.320] [INFO] NRTracking START! +[2021-09-05 16:32:50.320] [INFO] NRTracking RUN! +[2021-09-05 16:32:50.404] [INFO] Controller START! +[2021-09-05 16:32:50.405] [INFO] Controller RUN! +[2021-09-05 16:32:57.417] [INFO] Controller PAUSE! +[2021-09-05 16:34:23.689] [INFO] NRTracking PAUSE! +[2021-09-05 16:34:23.691] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 16:34:23.692] [INFO] NRTracking STOP! +[2021-09-05 16:34:23.692] [INFO] NRTracking RELEASE! +[2021-09-05 16:34:52.653] [INFO] NRTracking START! +[2021-09-05 16:34:52.653] [INFO] NRTracking RUN! +[2021-09-05 16:34:52.727] [INFO] Controller START! +[2021-09-05 16:34:52.727] [INFO] Controller RUN! +[2021-09-05 16:35:35.022] [INFO] Controller PAUSE! +[2021-09-05 16:36:27.637] [INFO] NRTracking PAUSE! +[2021-09-05 16:36:27.640] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 16:36:27.640] [INFO] NRTracking STOP! +[2021-09-05 16:36:27.640] [INFO] NRTracking RELEASE! +[2021-09-05 16:38:04.394] [INFO] NRTracking START! +[2021-09-05 16:38:04.394] [INFO] NRTracking RUN! +[2021-09-05 16:38:04.495] [INFO] Controller START! +[2021-09-05 16:38:04.495] [INFO] Controller RUN! +[2021-09-05 16:38:33.949] [INFO] Controller PAUSE! +[2021-09-05 16:40:08.210] [INFO] NRTracking PAUSE! +[2021-09-05 16:40:17.368] [INFO] NRTracking START! +[2021-09-05 16:40:17.368] [INFO] NRTracking RUN! +[2021-09-05 16:40:17.474] [INFO] Controller START! +[2021-09-05 16:40:17.474] [INFO] Controller RUN! +[2021-09-05 16:40:25.598] [INFO] Controller PAUSE! +[2021-09-05 16:40:52.849] [INFO] NRTracking PAUSE! +[2021-09-05 16:40:52.852] [ERROR] NRHeadTracking Invalid Argument! +[2021-09-05 16:40:52.852] [INFO] NRTracking STOP! +[2021-09-05 16:40:52.852] [INFO] NRTracking RELEASE!