Struct Disabled
Disables the entity.
Namespace: Unity.Entities
Syntax
public struct Disabled : IComponentData
Remarks
By default, an EntityQuery ignores all entities that have a Disabled component. You can override this default behavior by setting the IncludeDisabled flag of the EntityQueryDesc object used to create the query. When using the EntityQueryBuilder class in a ComponentSystem, set this flag by calling the With(EntityQueryOptions) function.