Back color configurable, added fps counter checkbox

This commit is contained in:
2026-03-28 13:31:41 +01:00
parent 5e862f8c0b
commit eff03e0e1a
4 changed files with 32 additions and 15 deletions

View File

@@ -594,6 +594,10 @@ namespace SplashEdit.EditorCode
new GUIContent("Memory Overlay", "Show heap/RAM usage bar at top-right during gameplay"),
SplashSettings.MemoryOverlay);
SplashSettings.FpsOverlay = EditorGUILayout.Toggle(
new GUIContent("FPS Overlay", "Show an FPS counter at top-left during gameplay"),
SplashSettings.FpsOverlay);
// Serial port (only for Real Hardware)
if (SplashSettings.Target == BuildTarget.RealHardware)
{
@@ -1187,6 +1191,9 @@ namespace SplashEdit.EditorCode
if (SplashSettings.MemoryOverlay)
buildArg += " MEMOVERLAY=1";
if (SplashSettings.FpsOverlay)
buildArg += " FPSOVERLAY=1";
int jobCount = Math.Max(1, SystemInfo.processorCount - 1);
string cleanPrefix = SplashSettings.CleanBuild ? "make clean && " : "";