SystemsContext
SystemsContext
Holds references to the systems used in grid building operations. Ported from: godot/addons/grid_building/core/contexts/gb_systems_context.gd
Project: GridPlacement v6.0
Layer: Core
Source: Core/Common/SystemsContext.cs
Namespace: GridBuilding.Core.Contexts
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Methods
GetGridTargetingSystem
Gets the current grid targeting system.
Returns: IGridTargetingSystem?
GetTargetingState
Gets the targeting state from the current grid targeting system, if available.
Returns: TargetingState?
GetManipulationSystem
Gets the current manipulation system.
Returns: IManipulationSystem?
SetSystem
Sets the passed system as an active system within the context’s scope. Automatically detects the system type and assigns appropriately.
Returns: void
Parameters:
ISystem system
SetGridTargetingSystem
Directly sets the grid targeting system
Returns: void
Parameters:
IGridTargetingSystem? system
SetManipulationSystem
Directly sets the manipulation system
Returns: void
Parameters:
IManipulationSystem? system
GetEditorIssues
Returns editor-time issues (placeholder for now).
Returns: List<string>
GetRuntimeIssues
Returns runtime issues based on optional runtime checks configuration.
Returns: List<string>
Parameters:
IRuntimeChecks? checks