Skip to content

Commit 6547cbc

Browse files
committed
Fix the InteractableThemeBase reflection based instantiation.
1 parent 99ec5a1 commit 6547cbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ public static InteractableTypesContainer GetThemeTypes()
5454
public static InteractableThemeBase GetTheme(InteractableThemePropertySettings settings, GameObject host)
5555
{
5656
Type themeType = Type.GetType(settings.AssemblyQualifiedName);
57-
InteractableThemeBase theme = (InteractableThemeBase)Activator.CreateInstance(themeType, host);
58-
theme.Init(host ,settings);
57+
InteractableThemeBase theme = (InteractableThemeBase)Activator.CreateInstance(themeType);
58+
theme.Init(host, settings);
5959
return theme;
6060
}
6161
}

0 commit comments

Comments
 (0)