A simple developer console for unity
- Simple registration syntax
- Suggestion and AutoComplete
- Logging
- Download and import the unity package.
- Drag and drop the DevConsole prefab into your scene
- Make a static function that takes a string[] parameter
- Add the [ConsoleCommand] attribute to it.
[ConsoleCommand("description", "usage")]
public static string myMethod(string[] args)
{
return "myMethod Called";
}
[ConsoleCommand("description", "usage")]
public static void myMethod(string[] args)
{
Debug.Log("myMethod called");
}