plusAssign

operator fun EntityEdit.plusAssign(component: Component)

Adds a Component to the EntityEdit. The component gets replaced if it already exists.

Receiver

the EntityEdit for adding the Component.

Parameters

component

the Component which will be added to the entity.