An open API service indexing awesome lists of open source software.

https://github.com/vishnurajendran/developerconsole

A simple developer console for unity
https://github.com/vishnurajendran/developerconsole

csharp developer-tools open-source unity unity2d unity3d

Last synced: about 1 year ago
JSON representation

A simple developer console for unity

Awesome Lists containing this project

README

          

# DeveloperConsole
A simple developer console for unity

![](https://github.com/vishnurajendran/DeveloperConsole/blob/main/devconsole.png)
## 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
```c#
[ConsoleCommand("description", "usage")]
public static string myMethod(string[] args)
{
return "myMethod Called";
}
```
### Example without return statement
```c#
[ConsoleCommand("description", "usage")]
public static void myMethod(string[] args)
{
Debug.Log("myMethod called");
}
```