destroy

fun destroy(e: Entity)

Destroys this component from the given entity; its children are orphaned.

Parameters

e

An entity.