docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Disabled

    Disables the entity.

    Implements
    IComponentData
    IQueryTypeParameter
    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    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.

    Implements

    IComponentData
    IQueryTypeParameter

    See Also

    IsEnabled(Entity)
    SetEnabled(Entity, bool)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)