Skip to content

Commit c8c7047

Browse files
committed
Update MixedRealityToolkitInspector.cs
1 parent 6a3b50e commit c8c7047

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Assets/MixedRealityToolkit/Inspectors/MixedRealityToolkitInspector.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ public override void OnInspectorGUI()
8787
{
8888
MixedRealityToolkit.Instance.ResetConfiguration((MixedRealityToolkitConfigurationProfile)activeProfile.objectReferenceValue);
8989
}
90+
91+
if (activeProfile != null)
92+
{
93+
Editor activeProfileEditor = Editor.CreateEditor(activeProfile.objectReferenceValue);
94+
activeProfileEditor.OnInspectorGUI();
95+
}
9096
}
9197

9298
[MenuItem("Mixed Reality Toolkit/Configure...")]

0 commit comments

Comments
 (0)