TargetInformer
Summary
Section titled “Summary”Display UI for showing information about objects being targeted, manipulated, or built
Override _to_string for displayed object nodes to show a custom object name value
Properties
Section titled “Properties”target: Node:
Display UI for showing information about objects being targeted, manipulated, or built
Override _to_string for displayed object nodes to show a custom object name value
info_parent: Control
Methods
Section titled “Methods”_ready( ) -> void
Initialize the target informer display when ready.
_process( delta: float ) -> void
Update the target information display every frame.
resolve_gb_dependencies( p_container: GBCompositionContainer ) -> void
Resolve dependencies from the composition container.
p_container
: GBCompositionContainer - Container with states and configurationclear( )
Clears all child controls from the info parent container.
refresh( )
Updates the target information display with current target data.
setup( )
add_info_label( p_text: String ) -> Label
Adds an information label to the info parent container. Creates a new label with the specified text and adds it to the UI.
p_text
: String - Text to display in the labeltrack_manipulatable_target( )
Source
Section titled “Source”addons/grid_building/ui/target_informer/target_informer.gd
This page was auto-generated from GDScript source. Edit the source file to improve documentation.
Generated on 2025-09-07