docs.unity.cn
    Show / Hide Table of Contents

    Operator Inequality

    Inequality(ComponentType, ComponentType)

    Evaluates if two component types are not equal based on TypeIndex and AccessModeType.

    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
    Boolean

    Returns true if their type indices are not equal or their access modes are not equal.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023