Skip to content

Debug Menu

Arno Hartholt edited this page Nov 21, 2025 · 1 revision

Purpose

Visual debug menu hidden from end-users in order to rapidly test common functionality.

Organization

Uses the RIDE debug menu system, mainly used in ModularizedController.cs

Approach

The RIDE debug menu system leverages the Unity Immediate GUI system, enabling developers to script debug UIs. It can be toggled on and off with F11.

At the top are the following buttons:

  • <: go to previous menu
  • Current menu: go to next menu
  • >: go to next menu
  • <>: expand menu
  • >>: toggle debug log

Usage

The Debug menu is initialized in as follows:

m_debugMenu = Globals.api.systemAccessSystem.GetSystem<DebugMenu>();
m_debugMenu.InsertDebugMenu(1, "TestAnimations", OnGUITestAnimations);

Limitations

  • Without dropdowns or collapsible buttons to condense listings, options may appear offscreen.

Known Issues

  • N/A

Clone this wiki locally