DevConsole
DevConsole provides an in-game developer console for executing custom commands at runtime during development. Simply decorate public static methods with the DevConsoleCommand attribute to register them as console commands. Includes a ready-to-use UI prefab and can be easily toggled on/off via scripting define symbols for development and release builds.
com.yogi.devconsole 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/dkoleev-devconsole.git README Markdown
Copy this to your project's README.md
## Installation
Add **DevConsole** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/dkoleev-devconsole.git
```
[](https://www.pkglnk.dev/pkg/dkoleev-devconsole)README
UnityDevConsole
Developer console for Unity game engine.
Description
Allows executing console command in runtime.

Installation
You can install DevConsole using any of the following methods
-
Use UPM to install the package via the following git URL:
https://github.com/dkoleev/UnityDevConsole.git
-
openupm add com.yogi.devconsole
How to setup
Drag prefab
DevConsole_GUIto the scene.Add
ENABLE_DEV_CONSOLEdefine toProjectSettings -> Scripting Define Symbols.

You can add
ENABLE_DEV_CONSOLEfor dev build and remove it for release build in your build pipline.
How to use
- Create
public staticmethod. - Add attribute
DevConsoleCommandfor this method. - Specify the command name in the attribute parameter
commandName.
[DevConsoleCommand("sum")]
public static void Sum(int arg1, int arg2) {
Debug.Log(arg1 + arg2);
}

Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In