diff --git a/Assets/HoloToolkit/Boundary/Scripts/BoundaryManager.cs b/Assets/HoloToolkit/Boundary/Scripts/BoundaryManager.cs index 5f28ad415b4..522ec6a3299 100644 --- a/Assets/HoloToolkit/Boundary/Scripts/BoundaryManager.cs +++ b/Assets/HoloToolkit/Boundary/Scripts/BoundaryManager.cs @@ -33,10 +33,11 @@ public class BoundaryManager : Singleton // This puts the origin (0, 0, 0) on the floor if a floor has been established during setup via MixedRealityPortal. private TrackingSpaceType opaqueTrackingSpaceType = TrackingSpaceType.RoomScale; - [SerializeField] + //[SerializeField] + // Removed for now, until the HoloLens tracking space type story is more clear. // Defaulting coordinate system to Stationary for transparent headsets, like HoloLens. // This puts the origin (0, 0, 0) at the first place where the user started the application. - private TrackingSpaceType transparentTrackingSpaceType = TrackingSpaceType.Stationary; + //private TrackingSpaceType transparentTrackingSpaceType = TrackingSpaceType.Stationary; #endif // Testing in the editor found that this moved the floor out of the way enough, and it is only diff --git a/Assets/HoloToolkit/Input/Scripts/Utilities/MotionControllerInfo.cs b/Assets/HoloToolkit/Input/Scripts/Utilities/MotionControllerInfo.cs index e700e4a7a72..11819796a87 100644 --- a/Assets/HoloToolkit/Input/Scripts/Utilities/MotionControllerInfo.cs +++ b/Assets/HoloToolkit/Input/Scripts/Utilities/MotionControllerInfo.cs @@ -2,11 +2,14 @@ // Licensed under the MIT License. See LICENSE in the project root for license information. using UnityEngine; + +#if UNITY_WSA #if UNITY_2017_2_OR_NEWER using UnityEngine.XR.WSA.Input; #else using UnityEngine.VR.WSA.Input; #endif +#endif namespace HoloToolkit.Unity.InputModule { @@ -18,7 +21,7 @@ public class MotionControllerInfo { public readonly GameObject ControllerParent; -#if UNITY_2017_2_OR_NEWER +#if UNITY_WSA && UNITY_2017_2_OR_NEWER public readonly InteractionSourceHandedness Handedness; #endif @@ -67,13 +70,13 @@ public class MotionControllerInfo private double lastSelectPressedAmount; public MotionControllerInfo(GameObject controllerParent -#if UNITY_2017_2_OR_NEWER +#if UNITY_WSA && UNITY_2017_2_OR_NEWER , InteractionSourceHandedness handedness #endif ) { ControllerParent = controllerParent; -#if UNITY_2017_2_OR_NEWER +#if UNITY_WSA && UNITY_2017_2_OR_NEWER Handedness = handedness; #endif } diff --git a/External/Unitypackages/HoloToolkit-Unity-2017.2.1.0.unitypackage b/External/Unitypackages/HoloToolkit-Unity-2017.2.1.0.unitypackage new file mode 100644 index 00000000000..667524a9df5 Binary files /dev/null and b/External/Unitypackages/HoloToolkit-Unity-2017.2.1.0.unitypackage differ diff --git a/External/Unitypackages/HoloToolkit-Unity-Examples-2017.2.1.0.unitypackage b/External/Unitypackages/HoloToolkit-Unity-Examples-2017.2.1.0.unitypackage new file mode 100644 index 00000000000..933766d6f77 Binary files /dev/null and b/External/Unitypackages/HoloToolkit-Unity-Examples-2017.2.1.0.unitypackage differ