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/unity-debug-mode-define-symbol.git

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **UnityDebugModeDefineSymbol** 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/unity-debug-mode-define-symbol.git
```

[![pkglnk](https://www.pkglnk.dev/badge/unity-debug-mode-define-symbol.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/unity-debug-mode-define-symbol)

README

UnityDebugModeDefineSymbol

openupm

A useful tool for running specific code
What it is?

Table of Contents

Compatibility

Unity Compatible
2021 :white_check_mark:
2020 :white_check_mark:
2019 :white_check_mark:

How to use

  1. Add this tool to your project [how]
  2. Manage debug mode by following this path Tools -> Debug Mode Definition -> On / Off
choiceDiaologWindow_DebugMode
  1. For code that should be executed only when the debug mode is turned on, put it in the definition like this:
// ... code somewhere
#if DEBUG_MODE_IN_USE
// code here will be executed if the debug mode is turned on
#endif
// ... code somewhere

Installation

Install via OpenUPM

The package is available on the openupm registry. It's recommended to install it via openupm-cli.

openupm add com.inc8877.unity-debug-mode-define-symbol

Install via Git URL

Open Packages/manifest.json with your favorite text editor. Add the following line to the dependencies block.

{
  "dependencies": {
    "com.inc8877.unity-debug-mode-define-symbol": "https://github.com/inc8877/UnityDebugModeDefineSymbol.git",
   }
}

Credits

Cover background by Florian Olivo

Comments

No comments yet. Be the first!