Skip to content

Commit 85bd51b

Browse files
author
David Kline (ANALOG)
committed
add namespace for !il2cpp and replace var with type
1 parent 76f291a commit 85bd51b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Assets/MixedRealityToolkit/Attributes/MixedRealityControllerAttribute.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
using System;
77
using System.Linq;
88

9+
#if WINDOWS_UWP && !ENABLE_IL2CPP
10+
using Microsoft.MixedReality.Toolkit.Core.Extensions;
11+
#endif // WINDOWS_UWP && !ENABLE_IL2CPP
12+
913
namespace Microsoft.MixedReality.Toolkit.Core.Attributes
1014
{
1115
/// <summary>

Assets/MixedRealityToolkit/Definitions/Devices/MixedRealityControllerMappingProfile.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ private static void CollectControllerTypes()
3737
{
3838
if (controllerMappingTypes == null)
3939
{
40-
var tmp = new List<Type>();
41-
// todo: not supported on uwp/.net
40+
List<Type> tmp = new List<Type>();
4241
foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
4342
{
4443
try

0 commit comments

Comments
 (0)