docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsComponentOverriding

    IsComponentOverriding(Type)

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

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

    The component type.

    Returns
    Type Description
    bool

    true if the component overrides a dependency, false otherwise.

    IsComponentOverriding<T>()

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

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

    true if 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)