ドキュメント

Unity Engine

Download Unity

Unity Engine

Equals

Two ArchetypeChunk instances are equal if they reference the same block of chunk memory.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.