Controls visibility of demo HUD zones based on the active placement mode. The demo HUD is composed of independent, single-responsibility components (see docs/ui/final_clean_demo_hud_requirements.md): a top-right SaveLoadMenuBar, a right-side BuildPanel (placement selection only), a standalone ActionLog, the TargetInformer, ResourceDisplay, ControlsTileInfoTabs, ZoomSlider and ActionBar. This controller gates only the mode-sensitive pieces:
- BuildPanel is shown only in PLACE mode (it owns object/terrain selection).
- ActionLog is shown in every mode except OFF. The SaveLoadMenuBar, ResourceDisplay, ControlsTileInfoTabs, ZoomSlider and ActionBar stay visible across modes. The TargetInformer manages its own visibility (hidden when empty or in OFF).
Source: addons/grid_placement/ui/grid_builder_ui_controller.gd
Syntax
class GridBuilderUIController extends PlacementControlMembers
| Name | Kind | Summary |
|---|---|---|
build_panel | Property | Right-side build panel (object/terrain selection). Visible only in PLACE mode. |
action_log | Property | Standalone action log. Visible in every mode except OFF. |
save_load_menu_bar | Property | Top-right save/load/main-menu utility bar (demo may leave it null to hide). |
action_bar | Property | The bottom action bar. |
target_informer | Property | Target informer at top-center (self-manages visibility). |
controls_tile_info | Property | Left-side controls/tile info tabs. |
resource_display | Property | Resource display at top-left. |
zoom_slider | Property | Camera zoom slider at bottom-left. |
resolve_placement_dependencies | Method | |
mode | Property | |
in_place_mode | Property | |
is_off | Property |
Source
addons/grid_placement/ui/grid_builder_ui_controller.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs