Function FollowerEntityProxy.ToggleComponent

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

Adds or removes a component from an entity.

Internal Static
void ToggleComponent<T> (

World

world

Entity

entity

bool

enabled

bool

mustExist

)

Adds or removes a component from an entity.