Skip to content

Commit fdaa6e7

Browse files
committed
Fix extensions when using dotnet adapter
1 parent 22ab0be commit fdaa6e7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Assets/MixedRealityToolkit.Providers/WindowsMixedReality/Shared/Extensions/WindowsExtensions.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33

44
#if (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP
55
using Microsoft.MixedReality.Toolkit.Utilities;
6+
#if WINDOWS_UWP
67
using Windows.UI.Input.Spatial;
8+
#elif DOTNETWINRT_PRESENT
9+
using Microsoft.Windows.UI.Input.Spatial;
10+
#endif
711
#endif // (UNITY_WSA && DOTNETWINRT_PRESENT) || WINDOWS_UWP
812

913
namespace Microsoft.MixedReality.Toolkit.WindowsMixedReality

0 commit comments

Comments
 (0)