IgnoreComponentEnabledState
The query will match all entities in all the query's matching archetypes, regardless of whether any enableable components on those entities are enabled or disabled.
Read time 1 minuteLast updated a day ago
Definition
- Type: Field
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
IgnoreComponentEnabledState = 8
Remarks
Specifically:
-
Entities with all required enableable components will be matched, even if the components are disabled.
-
Entities with any optional enableable components will be matched, even if the components are disabled.
-
Entities with any excluded enableable component will be matched, even if the components are enabled.
-
Entities with any excluded non-enableable component will NOT be matched; their archetype is not in the potentially matching set.
-
Entities missing a required component will NOT be matched; their archetype is not in the potentially matching set.
-
Entities missing all the optional components will NOT be matched; their archetype is not in the potentially matching set.