GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mminer/consolation: In-game debug console for Unity.

BranchesTags
Open more actions menu

Latest commit

 

History

104 Commits
104 Commits

Folders and files

NameName
Last commit message
Last commit date
.editorconfig
.editorconfig
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CHANGELOG.md.meta
CHANGELOG.md.meta
 
 
Consolation.asmdef
Consolation.asmdef
 
 
Consolation.asmdef.meta
Consolation.asmdef.meta
 
 
Console.cs
Console.cs
 
 
Console.cs.meta
Console.cs.meta
 
 
LICENSE.md
LICENSE.md
 
 
LICENSE.md.meta
LICENSE.md.meta
 
 
README.md
README.md
 
 
README.md.meta
README.md.meta
 
 
package.json
package.json
 
 
package.json.meta
package.json.meta
 
 

Repository files navigation

Consolation

It's difficult to retrieve logs and warnings from Unity outside the editor. To make it easier, this console displays output from Debug in the game itself. This is especially useful on mobile devices.

Console in Unity game

Installing

Copy Script

The Console component is entirely self-contained in Console.cs, so installation is as simple as dragging this script into your project.

Unity Package Manager

Add the package to your project via UPM using the Git URL:

https://github.com/mminer/consolation.git
  1. Open the Package Manager window in Unity (Window > Package Manager)
  2. Click the "+" button in the top-left corner
  3. Select "Install package from git URL..."
  4. Enter the above Git URL
  5. Click "Install"

Adding package to UPM

Alternatively, add the following line to your Packages/manifest.json file:

{
  "dependencies": {
    "com.matthewminer.consolation": "https://github.com/mminer/consolation.git",
    ...
  }
}

You can also clone the repository and point UPM to your local copy.

Using

Attach the Console component to a game object. When playing your game, open the console window with the back quote key `. This shortcut is configurable in the inspector.

Alternatively, enable shake-to-open in the inspector to open the console on mobile devices. The component provides an option to prevent accidental shakes by requiring 3 or more fingers on the screen.

Several other settings like font size and the maximum log count are also configurable in the inspector.

Console component inspector

Compatibility

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

About

In-game debug console for Unity.

matthewminer.com/2017/03/07/consolation-in-game-console-for-unity

Topics

game-devgame-developmentgamedevunityunity3d

Resources

Readme
MIT license
Activity

Stars

894 stars

Watchers

24 watching

Forks

65 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.