Skip to content

DebugMenu ​

Inherits: Control

Comprehensive debug menu for testing and debugging game systems Provides access to world transitions, time control, player manipulation, spawning, quest triggers, and more

Variables ​

PanelContainermain_panel
TabContainertab_container
Buttonclose_button
Controlworld_tab
Controltime_tab
Controlplayer_tab
Controlspawn_tab
Controlquest_tab
Controlcrafting_tab
Controleffects_tab
Controlsystem_tab
GameHost.SystemHubsystem_hub

Methods ​

voidinitialize( p_system_hub: GameHost.SystemHub )
voidtoggle_visibility()

Signals ​

menu_closed() ​

========== SIGNALS ==========

Variable descriptions ​

PanelContainer main_panel ​

========== UI REFERENCES ==========

TabContainer tab_container ​

The tabs of the debug menu.

Button close_button ​

The button that closes the menu.

Control world_tab ​

Tab content containers

Control time_tab ​

The tab for the game time.

Control player_tab ​

The tab for the player.

Control spawn_tab ​

The tab for spawning.

Control quest_tab ​

The tab for quests.

Control crafting_tab ​

The tab for crafting.

Control effects_tab ​

The tab for effects.

Control system_tab ​

The tab for the systems.

GameHost.SystemHub system_hub ​

========== SYSTEM REFERENCES ==========

Method descriptions ​

void initialize( p_system_hub: GameHost.SystemHub ) ​

Builds the tabs with the hub of the game systems.

void toggle_visibility() ​

Shows the menu, or hides it.