docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(object)

    Reports whether this EntityArchetype references the same archetype as another object.

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

    The object to compare.

    Returns
    Type Description
    bool

    True, if the compare parameter is a EntityArchetype instance that points to the same archetype.

    Overrides
    ValueType.Equals(object)

    Equals(EntityArchetype)

    Compares archetypes for equality.

    Declaration
    public bool Equals(EntityArchetype entityArchetype)
    Parameters
    Type Name Description
    EntityArchetype entityArchetype

    The EntityArchetype to compare.

    Returns
    Type Description
    bool

    Returns true, if both EntityArchetype instances reference the same archetype.

    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)