docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsComponentOverridden

    IsComponentOverridden(Type)

    Determine if a component type overrides a dependency. Throws if component type is not in UsedComponents list.

    Declaration
    public bool IsComponentOverridden(Type type)
    Parameters
    Type Name Description
    Type type

    The component type.

    Returns
    Type Description
    bool

    true if the component overrides a dependency, false otherwise

    IsComponentOverridden<T>()

    Determine if a component type overrides a dependency. Throws if component type is not in UsedComponents list.

    Declaration
    public bool IsComponentOverridden<T>() where T : IBuildComponent
    Returns
    Type Description
    bool

    true if the component overrides a dependency, false otherwise

    Type Parameters
    Name Description
    T

    The component type.

    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)