Command Console by Jason-Skillman - 15


Unity Package: A debug command console that can be used at runtime and easily extendable.

Unknown VersionApache License 2.0Updated 154 days agoCreated on September 30th, 2020
Go to source

Command Console

Unity Package: A debug command console that can be used at runtime and easily extendable.

How to install

This package can be installed through the Unity Package Manager

Open up the package manager Window/Package Manager and click on Add package from git URL....

Unity package manager from git URL

Paste in this repository’s url.

Unity package manager git URL

Click Add and the package will be installed in your project.

How to use

You can create a new console and add it to your scene by right clicking in the hierarchy "Console/Command Console". Only one command console should exist within any given scene. The EventSystem must also be present in your scene.

To open the console at runtime use the tilde key ~. This can be disabled in the inspector for custom input remaping.


Custom commands can be written for the command console.

A small list of commands have already been written as examples. Some command examples include print, load scene and unload scene. They can be found at Runtime/Scripts/Commands starting at the root of this package.


To create a custom command create a new script and extend the ICommand interface. The console manager will automaticly detect the script and add it to the command list at runtime.

Property/Method Description
Label This is the main name/label of the command you are creating.
SuggestedArgs This is an array of args to let the user know what kind of data to put. Ex. int or string.
Action(args) This is the executed code when the command has been activated. Commands are activated by running them in the console. Args should match suggested args correctly.
Show all projects by Jason-Skillman