docs.unity.cn
    Show / Hide Table of Contents

    Operator Inequality

    Inequality(Entity, Entity)

    Entity instances are equal if they refer to the same entity.

    Declaration
    public static bool operator !=(Entity lhs, Entity rhs)
    Parameters
    Type Name Description
    Entity lhs

    An Entity object.

    Entity rhs

    Another Entity object.

    Returns
    Type Description
    Boolean

    True, if either Index or Version are different.

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