Skip to content

ModeState

Maintains the state of the Grid Builder mode and emits signals when it changes.

signal mode_changed( building_current: GBEnums.Mode )

Emitted whenever the building mode on the building state changes.

current = GBEnums.Mode.OFF

The active mode that the system is in for modifying the game world.

func get_editor_issues( ) -> Array[String]

Returns an array of issues found during editor validation

func get_runtime_issues( ) -> Array[String]

Returns an array of issues found during runtime validation

addons/grid_building/mode/mode_state.gd


This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.