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.
Component to attach to objects that are placed by the building system by remembering the placeable resource that they were instanced from
Source: addons/grid_placement/components/placeable_instance.gd
Syntax
class PlaceableInstance extends PlacementGameNodeMembers
| Name | Kind | Summary |
|---|---|---|
placeable_path_changed | Event | |
placeable_path | Property | Path to the placeable resource that creates or recreates instances of this gameplay object type |
default_name | Field | |
group_name | Field | |
placeable | Property | |
resolve_placement_dependencies | Method | |
validate_setup | Method | |
passing | Property | |
save | Method | |
parent | Property | |
save | Property | |
instance_from_save | Method | |
placeable | Property | |
instance | Property | |
placeable_instance | Property | |
INSTANCE_NAME | Field | Shared name constants Be very careful about changing these because game saves do not know if you change the string key of loaded properties. |
PLACEABLE | Field | |
TRANSFORM | Field |
Source
addons/grid_placement/components/placeable_instance.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs