- Notifications
You must be signed in to change notification settings - Fork65
In-game debug console for Unity.
License
mminer/consolation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
It's difficult to retrieve logs and warnings from Unity outside the editor. Tomake it easier, this console displays output fromDebug
in the game itself.This is especially useful on mobile devices.
TheConsole
component is entirely self-contained inConsole.cs, soinstallation is as simple as dragging this script into your project.
Alternatively, add the package to your project viaUPM using the Git URLhttps://github.com/mminer/consolation.git. You can also clone the repository andpoint UPM to your local copy.
Attach theConsole
component to a game object. When playing your game, openthe console window with the back quote key`. This shortcut isconfigurable in the inspector.
Alternatively, enable shake-to-open in the inspector to open the console onmobile devices. The component provides an option to prevent accidental shakes byrequiring 3 or more fingers on the screen.
Several other settings like font size and the maximum log count are alsoconfigurable in the inspector.
Supports Unity 2017.x and above. It hasn't been tested on all the platforms thatUnity supports but it probably works on most.
About
In-game debug console for Unity.