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
- Host: GitHub
- URL: https://github.com/vishnurajendran/developerconsole
- Owner: vishnurajendran
- License: mit
- Created: 2022-12-05T08:49:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-15T00:10:56.000Z (over 1 year ago)
- Last Synced: 2025-04-15T19:53:53.740Z (about 1 year ago)
- Topics: csharp, developer-tools, open-source, unity, unity2d, unity3d
- Language: ShaderLab
- Homepage:
- Size: 2.15 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```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");
}
```