functiongenerated
World.spawn_child
Creates a new object from a prefab, already attached to a parent object.
Signature
World.spawn_child(prefab: Prefab, parent: Entity) -> EntityMember of World
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b