Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.
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. It is designed to be used with a PlacementContainer that resolves dependencies and provides the necessary systems.
Source: addons/grid_placement/context/placement_systems_context.gd
Syntax
class PlacementSystemsContext extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
placement_system_changed | Event | Signal emitted when a system becomes available or is replaced. |
grid_targeting_system_changed | Event | @deprecated 6.0.0-S: was GridTargetingSystem |
manipulation_system_changed | Event | @deprecated 6.0.0-S: was ManipulationSystem |
get_building_system | Method | |
get_grid_targeting_system | Method | |
get_manipulation_system | Method | |
set_system | Method | |
get_editor_issues | Method | |
issues | Property | |
get_runtime_issues | Method | |
issues | Property | |
viewport | Property | |
scene_tree | Property |
Source
addons/grid_placement/context/placement_systems_context.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs