functiongenerated
World.despawn
Removes an object, and everything attached to it, from the game. Used when an enemy dies or a bullet hits something.
Signature
World.despawn(entity: Entity) -> unitMember of World
Related types
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b