Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/6
Unity Custom Editor for DebugManager enhances Inspector with a user-friendly interface, enabling dynamic debug panel configuration with variable selection, and collision interaction.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2022.3.16f1
Compatible
Compatible
Compatible
Description

DebugManager -> Panels

  • Dynamic Canvas Setup: Automatically generates a Canvas object if one doesn't already exist, using a specified name. Additionally, it establishes a debug folder as a child of the Canvas.
  • Dynamic Panel Setup: Generates debug panels dynamically, each with associated text. This feature allows for the customization of visual properties such as color and text content.
  • Dynamic Panel Updates: Ensures continuous updates of the panels based on the variables associated with scripts, facilitating real-time debugging.
  • Differentiated Variable Handling: Provides specialized handling for various data types including boolean, integer, float, string, and transform variables. The panel color updates dynamically based on the values of these variables, aiding in quick visualization of data states.

DebugManager -> Gizmo

  • Dynamic Gizmo Setup: Allows users to create a customizable Gizmo based on their preferences, with options including lines, boxes, or spheres.
  • Gizmo Options: Offers a wide range of customization options including length, transform, and style, enabling users to tailor the Gizmo to their specific requirements.
  • Gizmo Collisions: Incorporates collision interaction into the Gizmo functionality. Users can define a collider name along with corresponding colors for true and false collision states, enhancing debugging capabilities.
Technical details

DebugEditor.cs

This script is a Custom Editor for Unity, designed to facilitate the configuration of DebugManager in the Unity Editor, specifically for the dynamic creation and customization of debug panels. Some highlights include:

  • Custom Interface:Adds a custom interface to the Unity Inspector for DebugManager.
    Allows configuring parameters such as UI folder name, panel dimensions, colors, etc.
  • Dynamic Panels:Enables dynamic addition and removal of debug panels.
    Configuration of individual properties for each panel, such as name, dimensions, color, text, etc.
  • Variable Selection:Allows developers to choose variables from associated scripts to be displayed on the panels.
    Supports different variable types such as integers, floats, and booleans.

DebugManagerSelection.cs

This script, marked as InitializeOnLoad, is used to automate the selection of the DebugManager object when the game is started. Highlights include:

  • Automatic Selection in Play Mode:Automatically selects the DebugManager object when the game enters play mode in the Unity Editor.

DebugManager.cs

This is the main MonoBehaviour script that manages the dynamic creation of debug panels during gameplay. Key features include:

  • Dynamic Canvas Setup:Dynamically creates a Canvas object if it doesn't exist, using a specified name.
    Creates a debug folder child of the Canvas.
  • Dynamic Panel Setup:Dynamically creates debug panels with associated text.
    Configuration of visual properties of panels, such as color, text, etc.
  • Dynamic Panel Updates:Continuously updates the panels based on the associated variables in the scripts.
  • Differentiated Variable Handling:Specific handling for boolean, integer, and float variables, updating the panel color based on values.

DemoScript.cs

This is a demonstration script containing count variables (intCounter and floatCounter). These variables are used to demonstrate how debug panels can be dynamically updated during gameplay.

These scripts are intended to provide a flexible framework for creating and managing debug panels in Unity, making it easier to visualize and monitor important variables during game development and testing.

Debug Manager - UI Tool

(not enough ratings)
5 users have favourite this asset
(5)
FREE
License type
File size
437.3 KB
Latest version
3.0
Latest release date
Jun 7, 2024
Original Unity version
2022.3.16
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR