You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -11,8 +12,8 @@ internal static class MixedRealityPreferences
11
12
{
12
13
#region Lock Profile Preferences
13
14
14
-
privatestaticreadonlyGUIContentLockContent=newGUIContent("Lock SDK Profiles","Locks the SDK profiles from being edited.\n\nThis setting only applies to the currently running project.");
15
-
privateconststringLockKey="_LockProfiles";
15
+
privatestaticreadonlyGUIContentLockContent=newGUIContent("Lock SDK profiles","Locks the SDK profiles from being edited.\n\nThis setting only applies to the currently running project.");
16
+
privateconststringLOCK_KEY="LockProfiles";
16
17
privatestaticboollockPrefLoaded;
17
18
privatestaticboollockProfiles;
18
19
@@ -25,24 +26,21 @@ public static bool LockProfiles
privatestaticreadonlyGUIContentIgnoreContent=newGUIContent("Ignore Settings Prompt on Startup","Prevents settings dialog pop-up from showing on startup.\n\nThis setting applies to all projects using MRTK.");
privatestaticreadonlyGUIContentIgnoreContent=newGUIContent("Ignore settings prompt on startup","Prevents settings dialog popup from showing on startup.\n\nThis setting applies to all projects using MRTK.");
privatestaticreadonlyGUIContentCanvasUtilityContent=newGUIContent("Canvas World Space utility dialogs","Enable or disable the dialog pop-ups for the world space canvas settings.\n\nThis setting only applies to the currently running project.");
privatestaticreadonlyGUIContentCanvasUtilityContent=newGUIContent("Canvas world space utility dialogs","Enable or disable the dialog popups for the world space canvas settings.\n\nThis setting only applies to the currently running project.");
EditorGUILayout.HelpBox("This is only to be used to update the default SDK profiles. If any edits are made, and not checked into the MRTK's GitHub, the changes may be lost next time you update your local copy.",MessageType.Warning);
EditorGUILayout.HelpBox("Be aware that if a Canvas needs to receive input events it is required to have the CanvasUtility attached or the Focus Provider's UIRaycast Camera assigned to the canvas' camera reference.",MessageType.Warning);
120
+
if(!LockProfiles)
121
+
{
122
+
EditorGUILayout.HelpBox("This is only to be used to update the default SDK profiles. If any edits are made, and not checked into the MRTK's Github, the changes may be lost next time you update your local copy.",MessageType.Warning);
EditorGUILayout.HelpBox("Be aware that if a Canvas needs to receive input events it is required to have the CanvasUtility attached or the Focus Provider's UIRaycast Camera assigned to the canvas' camera reference.",MessageType.Warning);
0 commit comments