Chris' Tutorials
Docs/Grid Placement

Class

GridBuilderUIController

Generated GDScript class reference for GridPlacement.GridBuilderUIController.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

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 PlacementControl

Members

NameKindSummary
build_panelPropertyRight-side build panel (object/terrain selection). Visible only in PLACE mode.
action_logPropertyStandalone action log. Visible in every mode except OFF.
save_load_menu_barPropertyTop-right save/load/main-menu utility bar (demo may leave it null to hide).
action_barPropertyThe bottom action bar.
target_informerPropertyTarget informer at top-center (self-manages visibility).
controls_tile_infoPropertyLeft-side controls/tile info tabs.
resource_displayPropertyResource display at top-left.
zoom_sliderPropertyCamera zoom slider at bottom-left.
resolve_placement_dependenciesMethod
modeProperty
in_place_modeProperty
is_offProperty

Source

addons/grid_placement/ui/grid_builder_ui_controller.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs