Built-in Features & Commands

List of Built-in Commands

The Dev Console comes packed with several essential commands out-of-the-box:

CommandDescription
helpPrints all available commands in a formatted table.
aliasesPrints all registered command aliases in a formatted table.
alias <shortcut> <target_command>Creates a command alias shortcut.
bind <key> <command>Binds a key to a console command.
unbind <key>Removes a key binding.
bindsLists all active key bindings.
clearClears the console log view.
quitExits the application (stops Play mode in Editor).
version / infoShows game version and Unity engine version.
sysinfoDisplays OS, CPU, GPU, and RAM hardware information.
time.scale <value>Sets Time.timeScale to speed up, slow down, or pause the game.
gravity <Vector3>Sets Physics.gravity using Vector3 syntax.
fps.showToggles the built-in minimal FPS counter overlay.
gcForces a full managed garbage collection pass.
say <message>Echoes a message to the console (supports HTML rich text tags).
scene.load <name>Loads a scene by name or build index.
scene.restartReloads the currently active scene.

Log Formatting & Filtering

The console intercepts standard Unity logs and renders them gracefully:

  • Each log includes a high-precision [HH:mm:ss] timestamp.
  • Logs are badge-labeled with [INFO], [WARNING], [ERROR], or [OK].
  • A Search Bar on the top-right allows instant filtering of logs by text.
  • Toggle Filter Buttons let you quickly show or hide Warnings, Errors, and regular Info logs.
  • Collapse Button: Just like the Unity Editor console, the Collapse button deduplicates identical logs and displays a counter badge (e.g., (5)) to keep your view clean!
  • Log Zoom: The [-] 100% [+] buttons allow you to dynamically zoom the text size of the logs from 50% to 300%.

Advanced UI Features

The Dev Console is built with premium UI aesthetics to look great in modern games:

  • Floating Syntax Overlay: A real-time stacked syntax highlighter tracks your cursor position. As you type, it displays context-aware parameter hints floating directly above your input!
  • Zebra Striping: You can enable a premium dark slate zebra-striping background effect for both panels. This significantly improves readability for long log lists.
  • Auto-Wrapping Toolbar: When resizing the console to a narrow width, the top-right toolbar buttons elegantly wrap to a second line to prevent any UI overlapping.

Execution Profiling & Auto-Success

Whenever you execute a command, the console automatically profiles its runtime and prints it cleanly in cyan (e.g. [0.4ms]).

If a method returns void and produces no logs of its own, the console is smart enough to generate a generic success log ([OK] MyCommand executed successfully.) so you always have visual confirmation that your action actually fired!