PlaceableUIInteraction
Summary
Section titled “Summary”Style configurations loaded from theme
Signals
Section titled “Signals”signalclicked( )- Allow external objects to connect to click events
Methods
Section titled “Methods”func init( control: Control ) -> voidStyle configurations loaded from theme
Reference to the control that uses these styles
Initialize the style helper with a control reference
func _load_theme_styles( ) -> voidLoad style definitions from the theme file
func _create_fallback_styles( ) -> voidCreate fallback styles if theme file is unavailable
func _connect_signals( ) -> voidConnect mouse and input signals to the control
func _apply_normal_style( ) -> voidApply normal style to the control
func _apply_hover_style( ) -> voidApply hover style to the control
func _apply_pressed_style( ) -> voidApply pressed style to the control
func _on_mouse_entered( ) -> voidHandle mouse enter events
func _on_mouse_exited( ) -> voidHandle mouse exit events
func _on_gui_input( event: InputEvent ) -> voidHandle GUI input events for press/release detection
func _on_click( ) -> voidHandle click events by emitting signal
func cleanup( ) -> voidCleanup method to disconnect signals when no longer needed
Source
Section titled “Source”addons/grid_building/ui/placeable/shared/placeable_ui_interaction.gd
This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.