Skip to content

GBContexts

Contains contexts for resolving references to current objects within the grid building system instance

indicator: IndicatorContext

Holds reference to current indicator manager object

owner: GBOwnerContext

Holds reference to the currently owning game node for the instance of the grid building system and related modules

systems: GBSystemsContext

Holds references to the systems used in grid building operations. This context allows for easy access to the systems without needing to pass them around manually.

get_runtime_issues( p_checks: GBRuntimeChecks ) -> Array[String]

Ensures all runtime contexts are properly initialized. Contexts may need to have their properties defined by game objects like GBLevelContext and GBOwner

get_editor_issues( ) -> Array[String]

Validates editor configuration before nodes are set up. This should be called during the editor setup phase.

Returns:

Array[String] - List of editor configuration issues (empty if valid)

addons/grid_building/context/gb_contexts.gd


This page was auto-generated from GDScript source. Edit the source file to improve documentation.

Generated on 2025-09-07