Skip to content

Commit

Permalink
add development conditional to debugmenufactory
Browse files Browse the repository at this point in the history
  • Loading branch information
ameliajmoser committed May 6, 2024
1 parent ebe380a commit f174a22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Assets/FieldDay/Data/ConfigVar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ static private void InvokeChangedCallback(FieldInfo field, string category) {
#endregion // Helpers

#region Debug Menu

#if DEVELOPMENT
[DebugMenuFactory]
static private DMInfo DebugMenuFactory() {
// config vars
Expand Down Expand Up @@ -215,6 +215,7 @@ static private DMInfo DebugMenuFactory() {

return configVarMenu;
}
#endif // DEVELOPMENT

/// <summary>
/// Creates a debug menu for the given config variable.
Expand Down
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ PlayerSettings:
blurSplashScreenBackground: 1
spritePackerPolicy:
webGLMemorySize: 16
webGLExceptionSupport: 3
webGLExceptionSupport: 1
webGLNameFilesAsHashes: 0
webGLDataCaching: 1
webGLDebugSymbols: 2
Expand Down

0 comments on commit f174a22

Please sign in to comment.