Disabled
Disables the entity.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Struct
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Implements: IComponentData, IQueryTypeParameter
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 flag of the EntityQueryDesc object used to create the query.
EntityQueryOptions.IncludeDisabledEntitiesAdditional Resources: IsEnabled(Entity), SetEnabled(Entity, bool)