Skip to content

Commit 39e901d

Browse files
committed
Update ifdefs
1 parent b79cb54 commit 39e901d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/MRTK/Examples/Demos/HandTracking/Scripts/LeapMotionOrientationDisplay.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using UnityEngine;
55
using Microsoft.MixedReality.Toolkit.Input;
66
using TMPro;
7-
#if LEAPMOTIONCORE_PRESENT && UNITY_STANDALONE
7+
#if (LEAPMOTIONCORE_PRESENT && UNITY_STANDALONE) || (LEAPMOTIONCORE_PRESENT && UNITY_WSA && UNITY_EDITOR)
88
using Microsoft.MixedReality.Toolkit.LeapMotion.Input;
99
#endif
1010

@@ -15,7 +15,7 @@ namespace Microsoft.MixedReality.Toolkit.Examples
1515
/// </summary>
1616
public class LeapMotionOrientationDisplay : MonoBehaviour
1717
{
18-
#if LEAPMOTIONCORE_PRESENT && UNITY_STANDALONE
18+
#if (LEAPMOTIONCORE_PRESENT && UNITY_STANDALONE) || (LEAPMOTIONCORE_PRESENT && UNITY_WSA && UNITY_EDITOR)
1919
[SerializeField]
2020
private TextMeshProUGUI orientationText;
2121
private LeapMotionDeviceManagerProfile managerProfile;

0 commit comments

Comments
 (0)