PlaceableInstance

Be very careful about changing...

sort Weight: 10

Be very careful about changing these because game saves do not know if you change the string key of loaded properties.

Version: v5.0.0

STABLE

Inherits: GBGameNode
Source: placeable_instance.gd
Parsing: AST-based for maximum accuracy with symbol typing


Constants

default_name

Value: "PlaceableInstance"


group_name

Value: "PlaceableInstance"


Variables

placeable:


_logger:


Signals

placeable_path_changed(placeable_path: String)

Parameters:

  • placeable_path: String

Methods

_init

Signature: _init(p_placeable_path: String = "") -> void

Returns: void

Parameters:

  • p_placeable_path: String (optional, default: "")

resolve_gb_dependencies

Signature: resolve_gb_dependencies(p_container: GBCompositionContainer) -> void

Returns: void

Parameters:

  • p_container: GBCompositionContainer

validate_setup

Signature: validate_setup() -> bool

Returns: bool


save

Signature: save(p_include_uid: bool) -> Dictionary

but does not by itself remember the full state of the scene object

Returns: Dictionary

Parameters:

  • p_include_uid: bool

instance_from_save

Signature: static instance_from_save(p_save: Dictionary, p_instance_parent: Node) -> Node

If you want other data to persist, you will need to create your one save methods

Returns: Node

Static: true

Parameters:

  • p_save: Dictionary
  • p_instance_parent: Node