docs.unity.cn
    Show / Hide Table of Contents

    Method WithNone

    WithNone<TComponent1>()

    Specify component types that must be absent.

    Declaration
    public readonly QueryEnumerableWithEntity<T1, T2, T3, T4, T5> WithNone<TComponent1>()
    Returns
    Type Description
    QueryEnumerableWithEntity<T1, T2, T3, T4, T5>

    QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query.

    Type Parameters
    Name Description
    TComponent1

    Absent component

    WithNone<TComponent1, TComponent2>()

    Specify component types that must be absent.

    Declaration
    public readonly QueryEnumerableWithEntity<T1, T2, T3, T4, T5> WithNone<TComponent1, TComponent2>()
    Returns
    Type Description
    QueryEnumerableWithEntity<T1, T2, T3, T4, T5>

    QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query.

    Type Parameters
    Name Description
    TComponent1

    Absent component

    TComponent2

    Absent component

    WithNone<TComponent1, TComponent2, TComponent3>()

    Specify component types that must be absent.

    Declaration
    public readonly QueryEnumerableWithEntity<T1, T2, T3, T4, T5> WithNone<TComponent1, TComponent2, TComponent3>()
    Returns
    Type Description
    QueryEnumerableWithEntity<T1, T2, T3, T4, T5>

    QueryEnumerableWithEntity, which allows enumerating over all Aspects, RefRO, RefRW, components, EnabledRefRO, EnabledRefRW and entities that match the constructed Query.

    Type Parameters
    Name Description
    TComponent1

    Absent component

    TComponent2

    Absent component

    TComponent3

    Absent component

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