Skip to content

PlaceableUIInteraction

Style configurations loaded from theme

signal clicked( )

Allow external objects to connect to click events

func init( control: Control ) -> void

Style configurations loaded from theme

Reference to the control that uses these styles

Initialize the style helper with a control reference

func _load_theme_styles( ) -> void

Load style definitions from the theme file

func _create_fallback_styles( ) -> void

Create fallback styles if theme file is unavailable

func _connect_signals( ) -> void

Connect mouse and input signals to the control

func _apply_normal_style( ) -> void

Apply normal style to the control

func _apply_hover_style( ) -> void

Apply hover style to the control

func _apply_pressed_style( ) -> void

Apply pressed style to the control

func _on_mouse_entered( ) -> void

Handle mouse enter events

func _on_mouse_exited( ) -> void

Handle mouse exit events

func _on_gui_input( event: InputEvent ) -> void

Handle GUI input events for press/release detection

func _on_click( ) -> void

Handle click events by emitting signal

func cleanup( ) -> void

Cleanup method to disconnect signals when no longer needed

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.