U Console

by HellFire13

A simple in-game console for unity.

( Crawled 6 days ago )


A simple in-game console for unity.

How to use

Add the UConsole project files to the asset folder. Add the ConsoleGui Monobehavior to any gameobject in your scene and thats it.

Creating custom commands

You can create a custom command by calling the static method ConsoleCommandDatabase.RegisterCommand. Give it a name, description, and callback for your command.

ConsoleCommandDatabase.RegisterCommand("MYCOMMAND", "Does something", MyCallBack);

string MyCallBack(params string[] args) {
  // Does something