GBActionButton
Summary
Section titled “Summary”Starts / Stops a Grid Builder press_action
Properties
Section titled “Properties”press_action: StringName = ""
Starts / Stops a Grid Builder press_action
represented_mode: GBEnums.Mode
Methods
Section titled “Methods”func _ready( )
Mode state for monitoring mode changes.
func resolve_gb_dependencies( p_container: GBCompositionContainer ) -> void
Injects dependencies from the composition container.
p_container
: GBCompositionContainer - Container with required servicesfunc get_runtime_issues( ) -> Array[String]
Validates button configuration and dependencies. Returns list of validation issues found.
return
: Array[String] - List of validation issues (empty if valid)func _on_pressed( )
func _on_mode_changed( p_mode: GBEnums.Mode )
Source
Section titled “Source”addons/grid_building/ui/actions/gb_action_button.gd
This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.