Skip to content

Inspector

The Inspector feature is a runtime inspector for the selected GameObject from the Hierarchy. It shows the GameObject header (name, active, tag, layer) and all attached components with their fields, which you can view and edit in real time.

Live editing Normal / Debug Reflection
DebugKit Runtime Inspector tab

Overview

  • Purpose: Inspect and edit component properties on the currently selected GameObject at runtime.
  • UI: A scrollable list: GameObject header (active toggle, name, static, tag, layer) followed by one block per component. Each block can be expanded or collapsed.
  • Modes: Normal (public members) and Debug (additional members). Toggle via the button in the feature header.

Benefits

Benefit Description
Device debugging Inspect and tweak values on device without the Editor.
Live editing Changes to fields are applied immediately.
Normal vs Debug Switch between public-only and extended (for example, private) member visibility.
Familiar layout GameObject header and component blocks resemble the Unity Editor Inspector.
Periodic refresh Field values refresh at a configurable interval so you see external changes.

Supported field types

The inspector draws common types, including:

  • Primitives: int, float, bool, string
  • Enum (dropdown)
  • Vector2, Vector3, Vector4, Color
  • UnityEngine.Object references (for example, assets and components)
  • Collections (lists, arrays) with add/remove and element editing where supported

How to use

  1. Select a GameObject in the Hierarchy.
  2. Open the Inspector tab. The header shows name, active state, tag, and layer, followed by each component.
  3. Expand a component and edit a field. The change is applied immediately.
  4. Use the header toggle to switch Normal (public members) and Debug (additional members, for example private fields).

The Inspector edits the selected object in place. To put your own sliders and buttons on a dashboard, expose members with the Control Panel attributes instead. Runtime log output is on the Console.