DecayKnowledgebase
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) -> Entity

Member of World

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b