Function FollowerEntity.ToggleComponent

ToggleComponent<T> (Entity entity, bool enabled, bool mustExist)

Adds or removes a component from an entity.

Private Static
void ToggleComponent<T> (

Entity

entity

bool

enabled

bool

mustExist

)

Adds or removes a component from an entity.