docs.unity.cn
    Show / Hide Table of Contents

    Method AddAll

    AddAll(ComponentType)

    Obsolete. Use Unity.Entities.EntityQueryBuilder.WithAll(Unity.Entities.ComponentType*,System.Int32) instead.

    Declaration
    [Obsolete("Use WithAll<T,...> instead, or WithAll(INativeList) if component types are not known at compile time. (RemovedAfter Entities 1.0)", false)]
    public EntityQueryBuilder AddAll(ComponentType t)
    Parameters
    Type Name Description
    ComponentType t

    The component type

    Returns
    Type Description
    EntityQueryBuilder

    The builder object that invoked this method.

    Remarks

    Obsolete. Use Unity.Entities.EntityQueryBuilder.WithAll(Unity.Entities.ComponentType*,System.Int32) instead.

    Add an "all" matching type to the current query.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023