Skip to content

vishnurajendran/DeveloperConsole

Repository files navigation

DeveloperConsole

A simple developer console for unity

Features

  • Simple registration syntax
  • Suggestion and AutoComplete
  • Logging

Installation

  • Download and import the unity package.
  • Drag and drop the DevConsole prefab into your scene

Add Commands

  • Make a static function that takes a string[] parameter
  • Add the [ConsoleCommand] attribute to it.

Example with return statement

[ConsoleCommand("description", "usage")]
public static string myMethod(string[] args)
{
  return "myMethod Called";
}

Example without return statement

[ConsoleCommand("description", "usage")]
public static void myMethod(string[] args)
{
  Debug.Log("myMethod called");
}

About

A simple developer console for unity

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published