Skip to content

Commit e689320

Browse files
authored
Merge pull request #114 from immersivecognition/personal/jack/2022-improvements
Fix for #107 - Values in [UXF_Rig] don't seem to stick
2 parents b614f4f + b4efa4c commit e689320

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

Assets/UXF/Scripts/Etc/Editor/UXFWizard.cs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,22 @@ public void OnGUI()
152152
}
153153
}
154154

155+
#if UNITY_2019_3_OR_NEWER
156+
if (!EditorSettings.enterPlayModeOptionsEnabled || EditorSettings.enterPlayModeOptions != EnterPlayModeOptions.None)
157+
{
158+
EditorGUILayout.HelpBox("You currently must enable Reload Domain and Reload Scene in the Editor Settings to use UXF. Please enable these options.", MessageType.Error);
159+
if (GUILayout.Button("Fix"))
160+
{
161+
EditorSettings.enterPlayModeOptionsEnabled = true;
162+
EditorSettings.enterPlayModeOptions = EnterPlayModeOptions.None;
163+
}
164+
}
165+
else
166+
{
167+
EditorGUILayout.HelpBox("Reload Domain and Reload Scene Editor Settings are correctly enabled.", MessageType.Info);
168+
}
169+
#endif
170+
155171
EditorGUILayout.Separator();
156172

157173
GUILayout.Label("WebGL", EditorStyles.boldLabel);

Assets/UXF/VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.1
1+
2.4.2

0 commit comments

Comments
 (0)