docs.unity.cn
    Show / Hide Table of Contents

    Method AddAny

    AddAny(ComponentType)

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

    Declaration
    [Obsolete("Use WithAny<T,...> instead, or WithAny(INativeList) if component types are not known at compile time. (RemovedAfter Entities 1.0)", false)]
    public EntityQueryBuilder AddAny(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.WithAny(Unity.Entities.ComponentType*,System.Int32) instead.

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

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