docs.unity.cn
    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
    Boolean

    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
    Boolean

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

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use