docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsType

    IsType(TypeIndex)

    Determines if the trait is equal to a type passed as argument.

    Declaration
    public bool IsType(Binary.TypeIndex typeIndex)
    Parameters
    Type Name Description
    Binary.TypeIndex typeIndex

    The type to compare the trait to.

    Returns
    Type Description
    bool

    True if the trait is equal to the type passed as argument; otherwise, false.

    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)