Static helper that gates developer-only navigation behind the socer_developer ConVar. Navigation is only shown when the ConVar is set and the game is running in the editor.
using Sandbox;
namespace Socer;
public static class SocerDeveloper
{
// Explicit, session-only opt-in. Published player navigation stays clean.
[ConVar("socer_developer", Help="Show Socer developer navigation in the editor", Saved=false)]
public static bool Enabled {get;set;}
public static bool ShowNavigation=>Enabled && Game.IsEditor;
}