destroy

fun destroy(entity: Entity)

Destroy the light component on an entity.

Parameters

entity

Entity whose light component is destroyed