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/debug-menu-unity3d.git
Debug Menu

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **Debug Menu** 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/debug-menu-unity3d.git
```

[![pkglnk](https://www.pkglnk.dev/badge/debug-menu-unity3d.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/debug-menu-unity3d)

README

Debug Menu

A debug menu to call methods on active MonoBehaviours in Unity

openupm

Installation

There are multiple ways to install this package into your project:

  • Add it to your project through OpenUPM (recommended)
  • Add the package to the Unity package manager using the HTTPS URL of this repository (recommended)
  • Download the whole repository as a .zip and place the contents into a subfolder in your assets folder
  • Fork the repository and add it as a submodule in git

Usage

using DebugMenu;
using UnityEngine;

public class Foo : MonoBehaviour
{
    [DebugMethod]
    public void Bar()
    {
        Debug.Log("Hello World!");
    }
}

This will create a button inside the debug menu which you can access by pressing F3 while the game is running. Note, this will only work if the MonoBehaviour is active in a scene when it is loaded.

For a more detailed documentation of attributes, please refer to the Wiki.

Collaboration

Support this project with a ⭐️, report an issue or if you feel adventurous and would like to extend the functionality open a pull request.

Comments

No comments yet. Be the first!