docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator >

    operator >(ComponentType, ComponentType)

    Evaluates if one component type is greater than the the other.

    Declaration
    public static bool operator >(ComponentType lhs, ComponentType rhs)
    Parameters
    Type Name Description
    ComponentType lhs

    The left-hand side

    ComponentType rhs

    The right-hand side

    Returns
    Type Description
    bool

    True if the left-hand side's TypeIndex is less than the right-hand side's. If the type indices match, the AccessModeType fields are compared instead.

    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)