Skip to content

Commit 7637caa

Browse files
author
David Kline (ANALOG)
committed
updated to latest dev branch changes
1 parent 2c09226 commit 7637caa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Assets/MixedRealityToolkit.SDK/Features/UX/Interactable/Scripts/Interactable.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public void RemoveHandler(IInteractableHandler handler)
159159
#region InspectorHelpers
160160
public static bool TryGetInputActions(out string[] descriptionsArray)
161161
{
162-
if (!MixedRealityToolkit.IsInitialized || !MixedRealityToolkit.HasActiveProfile)
162+
if (!MixedRealityToolkit.IsInitialized || !MixedRealityToolkit.Instance.HasActiveProfile)
163163
{
164164
descriptionsArray = null;
165165
return false;

Assets/MixedRealityToolkit/Services/MixedRealityToolkit.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ public static IMixedRealitySpatialAwarenessSystem SpatialAwarenessSystem
12961296
/// <summary>
12971297
/// Returns true if the MixedRealityToolkit exists and has an active profile that has Teleport system enabled.
12981298
/// </summary>
1299-
public static bool IsTeleportSystemEnabled => IsInitialized && HasActiveProfile && Instance.ActiveProfile.IsTeleportSystemEnabled;
1299+
public static bool IsTeleportSystemEnabled => IsInitialized && Instance.HasActiveProfile && Instance.ActiveProfile.IsTeleportSystemEnabled;
13001300

13011301
/// <summary>
13021302
/// The current Teleport System registered with the Mixed Reality Toolkit.

0 commit comments

Comments
 (0)