docs.unity3d.com
    Show / Hide Table of Contents

    Method Equals

    Equals(Object)

    Two ArchetypeChunk instances are equal if they reference the same block of chunk memory.

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

    An object

    Returns
    Type Description
    Boolean

    True if compare is an ArchetypeChunk instance that references the same memory, or both contain null memory references; otherwise false.

    Overrides
    ValueType.Equals(Object)

    Equals(ArchetypeChunk)

    Two ArchetypeChunk instances are equal if they reference the same block of chunk and entity component store memory.

    Declaration
    public bool Equals(ArchetypeChunk archetypeChunk)
    Parameters
    Type Name Description
    ArchetypeChunk archetypeChunk

    Another ArchetypeChunk instance

    Returns
    Type Description
    Boolean

    True, if both ArchetypeChunk instances reference the same memory or both contain null memory references.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023