We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315837c commit 4664c7cCopy full SHA for 4664c7c
org.mixedrealitytoolkit.input/Subsystems/Hands/UnityHandsSubsystem.cs
@@ -48,7 +48,7 @@ private static void Register()
48
/// </summary>
49
public UnityHandsSubsystem()
50
{
51
-#if UNITY_ANDROID
+#if UNITY_ANDROID && !UNITY_EDITOR
52
if (!Permission.HasUserAuthorizedPermission(HandTrackingPermission))
53
54
PermissionCallbacks callbacks = new();
@@ -84,7 +84,7 @@ void OnPermissionGranted(string permission)
84
85
Debug.Log($"{HandTrackingPermission} newly granted for MRTK.");
86
}
87
-#endif // UNITY_ANDROID
+#endif // UNITY_ANDROID && !UNITY_EDITOR
88
89
90
private class UnityHandContainer : HandDataContainer
0 commit comments