docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(EntityQueryMask)

    Compare this instance to another EntityQueryMask for equality.

    Declaration
    public bool Equals(EntityQueryMask other)
    Parameters
    Type Name Description
    EntityQueryMask other

    The instance to compare against.

    Returns
    Type Description
    bool

    True if both masks refer to the same archetype set within the same world, or false otherwise.

    Equals(object)

    Compare this instance to another object for equality.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare against.

    Returns
    Type Description
    bool

    True if obj is an EntityQueryMask that refers to the same archetype set within the same world, or false otherwise.

    Overrides
    ValueType.Equals(object)
    In This Article
    Back to top
    Copyright © 2026 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)