docs.unity3d.com
Search Results for

    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
    bool

    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
    bool

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

    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)