remove

@MainThread
fun remove(componentType: Class<out Component>)

Removes the component of a specific type.

Parameters

componentType

The type of component to remove.