Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

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

Style
Preview
pkglnk installs badge
## 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
```

[![pkglnk](https://www.pkglnk.dev/badge/dkoleev-devconsole.svg?style=pkglnk)](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

  1. UPM Branch

    Use UPM to install the package via the following git URL:

    https://github.com/dkoleev/UnityDevConsole.git
    

  2. OpenUPM

    openupm add com.yogi.devconsole
    

    project page on OpneUPM

How to setup

  • Drag prefab DevConsole_GUI to the scene.

  • Add ENABLE_DEV_CONSOLE define to ProjectSettings -> Scripting Define Symbols.

image

You can add ENABLE_DEV_CONSOLE for dev build and remove it for release build in your build pipline.

How to use

  • Create public static method.
  • Add attribute DevConsoleCommand for 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);
    }

image

Comments

No comments yet. Be the first!