docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator !=

    operator !=(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
    bool

    True, if either Index or Version are different.

    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)