docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method WithNone

    WithNone<TComponent1>()

    Specify component types that must be absent, or present and disabled.

    Declaration
    public QueryEnumerable<T1, T2, T3, T4, T5, T6, T7> WithNone<TComponent1>()
    Returns
    Type Description
    QueryEnumerable<T1, T2, T3, T4, T5, T6, T7>

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

    Type Parameters
    Name Description
    TComponent1

    Absent component

    WithNone<TComponent1, TComponent2>()

    Specify component types that must be absent, or present and disabled.

    Declaration
    public QueryEnumerable<T1, T2, T3, T4, T5, T6, T7> WithNone<TComponent1, TComponent2>()
    Returns
    Type Description
    QueryEnumerable<T1, T2, T3, T4, T5, T6, T7>

    QueryEnumerable, which allows enumerating over all Aspects, RefRO, RefRW, EnabledRefRO and EnabledRefRW components 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, or present and disabled.

    Declaration
    public QueryEnumerable<T1, T2, T3, T4, T5, T6, T7> WithNone<TComponent1, TComponent2, TComponent3>()
    Returns
    Type Description
    QueryEnumerable<T1, T2, T3, T4, T5, T6, T7>

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

    Type Parameters
    Name Description
    TComponent1

    Absent component

    TComponent2

    Absent component

    TComponent3

    Absent component

    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)