@@ -78,6 +78,19 @@ public class MixedRealityToolkitConfigurationProfileInspector : BaseMixedReality
78
78
"Editor" ,
79
79
} ;
80
80
81
+ private static readonly string [ ] ProfileTabTooltips = {
82
+ "Settings that are global to the entire application. This includes desired room scale and coordinate offset." ,
83
+ "Settings for choosing the camera provider, clipping, default background color and other camera specific behaviors." ,
84
+ "Settings for input providers, including pointers, input actions, controllers, gestures and speech." ,
85
+ "Settings for the visualization of the boundary floor, ceiling, walls, play area and tracked area." ,
86
+ "Settings for the teleportation system." ,
87
+ "Settings for the spatial mesh observer, including refresh rate, level of detail, material and physics related to the mesh." ,
88
+ "Settings for the diagnostics heads up display." ,
89
+ "Settings for the Scene System." ,
90
+ "Settings for extensions, including the registry for adding new service providers." ,
91
+ "Settings that affect the editor experience but do not impact application at run-time."
92
+ } ;
93
+
81
94
private static int SelectedProfileTab = 0 ;
82
95
private const string SelectedTabPreferenceKey = "SelectedProfileTab" ;
83
96
@@ -490,8 +503,16 @@ public override void OnInspectorGUI()
490
503
EditorGUILayout . BeginVertical ( EditorStyles . helpBox , GUILayout . Width ( 100 ) ) ;
491
504
GUI . enabled = true ; // Force enable so we can view profile defaults
492
505
506
+ GUIContent [ ] profileTitles = new GUIContent [ ProfileTabTitles . Length ] ;
507
+ for ( int profileIndex = 0 ; profileIndex < ProfileTabTitles . Length ; profileIndex ++ )
508
+ {
509
+ profileTitles [ profileIndex ] = new GUIContent ( ) ;
510
+ profileTitles [ profileIndex ] . text = ProfileTabTitles [ profileIndex ] ;
511
+ profileTitles [ profileIndex ] . tooltip = ProfileTabTooltips [ profileIndex ] ;
512
+ }
513
+
493
514
int prefsSelectedTab = SessionState . GetInt ( SelectedTabPreferenceKey , 0 ) ;
494
- SelectedProfileTab = GUILayout . SelectionGrid ( prefsSelectedTab , ProfileTabTitles , 1 , GUILayout . MaxWidth ( 125 ) ) ;
515
+ SelectedProfileTab = GUILayout . SelectionGrid ( prefsSelectedTab , profileTitles , 1 , GUILayout . MaxWidth ( 125 ) ) ;
495
516
if ( SelectedProfileTab != prefsSelectedTab )
496
517
{
497
518
SessionState . SetInt ( SelectedTabPreferenceKey , SelectedProfileTab ) ;
0 commit comments