Function Entity.removeComponent

Removes a component from this entity.

void removeComponent(
  EntityComponent component
);

Parameters

NameDescription
component The component to remove.