Documentation

Unity Engine

Download Unity

Unity Engine

Disabled

Disables the entity.
Read time 1 minuteLast updated a month ago

Definition

public struct Disabled : IComponentData, IQueryTypeParameter

Remarks

By default, an EntityQuery ignores all entities that have this component. You can override this default behavior by setting the
EntityQueryOptions.IncludeDisabledEntities
flag of the EntityQueryDesc object used to create the query.
Additional Resources: IsEnabled(Entity), SetEnabled(Entity, bool)