{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method WithDisabled | Entities | 1.2.0-exp.3
docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method WithDisabled

    WithDisabled<TComponent1>()

    Specify all read-only component types that must be present AND disabled.

    Declaration
    public QueryEnumerable<T1, T2, T3, T4> WithDisabled<TComponent1>() where TComponent1 : unmanaged, IEnableableComponent, IComponentData
    Returns
    Type Description
    QueryEnumerable<T1, T2, T3, T4>

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

    Type Parameters
    Name Description
    TComponent1

    A component type

    WithDisabled<TComponent1, TComponent2>()

    Specify all read-only component types that must be present AND disabled.

    Declaration
    public QueryEnumerable<T1, T2, T3, T4> WithDisabled<TComponent1, TComponent2>() where TComponent1 : unmanaged, IEnableableComponent, IComponentData where TComponent2 : unmanaged, IEnableableComponent, IComponentData
    Returns
    Type Description
    QueryEnumerable<T1, T2, T3, T4>

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

    Type Parameters
    Name Description
    TComponent1

    A component type

    TComponent2

    A component type

    WithDisabled<TComponent1, TComponent2, TComponent3>()

    Specify all read-only component types that must be present AND disabled.

    Declaration
    public QueryEnumerable<T1, T2, T3, T4> WithDisabled<TComponent1, TComponent2, TComponent3>() where TComponent1 : unmanaged, IEnableableComponent, IComponentData where TComponent2 : unmanaged, IEnableableComponent, IComponentData where TComponent3 : unmanaged, IEnableableComponent, IComponentData
    Returns
    Type Description
    QueryEnumerable<T1, T2, T3, T4>

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

    Type Parameters
    Name Description
    TComponent1

    A component type

    TComponent2

    A component type

    TComponent3

    A component type

    In This Article
    Back to top
    Copyright © 2023 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)