Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

In-game debug console for Unity.

License

NotificationsYou must be signed in to change notification settings

mminer/consolation

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.

Console in Unity game

Installing

Copy Script

TheConsole component is entirely self-contained inConsole.cs, soinstallation is as simple as dragging this script into your project.

Unity Package Manager

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.

Adding package to UPM

Using

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.

Console component inspector

Compatibility

Supports Unity 2017.x and above. It hasn't been tested on all the platforms thatUnity supports but it probably works on most.


[8]ページ先頭

©2009-2025 Movatter.jp