文档

Unity Engine

Unity Engine

operator ==(ArchetypeChunk, ArchetypeChunk)

Two ArchetypeChunk instances are equal if they reference the same block of chunk and entity component store memory.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Operator
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static bool operator ==(ArchetypeChunk lhs, ArchetypeChunk rhs)

Parameters

An ArchetypeChunk

Another ArchetypeChunk

Returns

Type

Description

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