@@ -30,15 +30,15 @@ public override void OnInspectorGUI()
3030 EditorGUILayout . PropertyField ( activeProfile ) ;
3131 bool changed = EditorGUI . EndChangeCheck ( ) ;
3232 string commandName = Event . current . commandName ;
33- var allConfigProfiles = ScriptableObjectExtensions . GetAllInstances < MixedRealityConfigurationProfile > ( ) ;
33+ var allConfigProfiles = ScriptableObjectExtensions . GetAllInstances < MixedRealityToolkitConfigurationProfile > ( ) ;
3434
3535 if ( activeProfile . objectReferenceValue == null && currentPickerWindow == - 1 && checkChange )
3636 {
3737 if ( allConfigProfiles . Length > 1 )
3838 {
3939 EditorUtility . DisplayDialog ( "Attention!" , "You must choose a profile for the Mixed Reality Toolkit." , "OK" ) ;
4040 currentPickerWindow = GUIUtility . GetControlID ( FocusType . Passive ) ;
41- EditorGUIUtility . ShowObjectPicker < MixedRealityConfigurationProfile > ( null , false , string . Empty , currentPickerWindow ) ;
41+ EditorGUIUtility . ShowObjectPicker < MixedRealityToolkitConfigurationProfile > ( null , false , string . Empty , currentPickerWindow ) ;
4242 }
4343 else if ( allConfigProfiles . Length == 1 )
4444 {
@@ -52,7 +52,7 @@ public override void OnInspectorGUI()
5252 if ( EditorUtility . DisplayDialog ( "Attention!" , "No profiles were found for the Mixed Reality Toolkit.\n \n " +
5353 "Would you like to create one now?" , "OK" , "Later" ) )
5454 {
55- ScriptableObject profile = CreateInstance ( nameof ( MixedRealityConfigurationProfile ) ) ;
55+ ScriptableObject profile = CreateInstance ( nameof ( MixedRealityToolkitConfigurationProfile ) ) ;
5656 profile . CreateAsset ( ) ;
5757 activeProfile . objectReferenceValue = profile ;
5858 Selection . activeObject = profile ;
@@ -85,7 +85,7 @@ public override void OnInspectorGUI()
8585
8686 if ( changed )
8787 {
88- MixedRealityToolkit . Instance . ResetConfiguration ( ( MixedRealityConfigurationProfile ) activeProfile . objectReferenceValue ) ;
88+ MixedRealityToolkit . Instance . ResetConfiguration ( ( MixedRealityToolkitConfigurationProfile ) activeProfile . objectReferenceValue ) ;
8989 }
9090 }
9191
0 commit comments