docs.unity.cn
    Show / Hide Table of Contents

    Method WithPresent

    WithPresent<T1>()

    Specify all read-only component types that must be present, whether or not they are enabled on matching entities.

    Declaration
    public SystemAPIQueryBuilder WithPresent<T1>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    This query builder object, to allow chaining multiple method calls.

    Type Parameters
    Name Description
    T1

    Mandatory component

    WithPresent<T1, T2>()

    Specify all read-only component types that must be present, whether or not they are enabled on matching entities.

    Declaration
    public SystemAPIQueryBuilder WithPresent<T1, T2>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    This query builder object, to allow chaining multiple method calls.

    Type Parameters
    Name Description
    T1

    Mandatory component

    T2

    Mandatory component

    WithPresent<T1, T2, T3>()

    Specify all read-only component types that must be present, whether or not they are enabled on matching entities.

    Declaration
    public SystemAPIQueryBuilder WithPresent<T1, T2, T3>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    This query builder object, to allow chaining multiple method calls.

    Type Parameters
    Name Description
    T1

    Mandatory component

    T2

    Mandatory component

    T3

    Mandatory component

    WithPresent<T1, T2, T3, T4>()

    Specify all read-only component types that must be present, whether or not they are enabled on matching entities.

    Declaration
    public SystemAPIQueryBuilder WithPresent<T1, T2, T3, T4>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    This query builder object, to allow chaining multiple method calls.

    Type Parameters
    Name Description
    T1

    Mandatory component

    T2

    Mandatory component

    T3

    Mandatory component

    T4

    Mandatory component

    WithPresent<T1, T2, T3, T4, T5>()

    Specify all read-only component types that must be present, whether or not they are enabled on matching entities.

    Declaration
    public SystemAPIQueryBuilder WithPresent<T1, T2, T3, T4, T5>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    This query builder object, to allow chaining multiple method calls.

    Type Parameters
    Name Description
    T1

    Mandatory component

    T2

    Mandatory component

    T3

    Mandatory component

    T4

    Mandatory component

    T5

    Mandatory component

    WithPresent<T1, T2, T3, T4, T5, T6>()

    Specify all read-only component types that must be present, whether or not they are enabled on matching entities.

    Declaration
    public SystemAPIQueryBuilder WithPresent<T1, T2, T3, T4, T5, T6>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    This query builder object, to allow chaining multiple method calls.

    Type Parameters
    Name Description
    T1

    Mandatory component

    T2

    Mandatory component

    T3

    Mandatory component

    T4

    Mandatory component

    T5

    Mandatory component

    T6

    Mandatory component

    WithPresent<T1, T2, T3, T4, T5, T6, T7>()

    Specify all read-only component types that must be present, whether or not they are enabled on matching entities.

    Declaration
    public SystemAPIQueryBuilder WithPresent<T1, T2, T3, T4, T5, T6, T7>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    This query builder object, to allow chaining multiple method calls.

    Type Parameters
    Name Description
    T1

    Mandatory component

    T2

    Mandatory component

    T3

    Mandatory component

    T4

    Mandatory component

    T5

    Mandatory component

    T6

    Mandatory component

    T7

    Mandatory component

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