Documentation

Unity Engine


Unity Engine


Equals

Two ArchetypeChunk instances are equal if they reference the same block of chunk memory.
Read time 1 minuteLast updated a day ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

Equals(Object)

Two ArchetypeChunk instances are equal if they reference the same block of chunk memory.
public override bool Equals(object compare)

Parameters

compare

An object

Returns

Type

Description

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

Equals(ArchetypeChunk)

Two ArchetypeChunk instances are equal if they reference the same block of chunk and entity component store memory.
public bool Equals(ArchetypeChunk archetypeChunk)

Parameters

archetypeChunk

Another ArchetypeChunk instance

Returns

Type

Description

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