文档

Unity Engine

Download Unity

Unity Engine

operator ==(Entity, Entity)

Entity instances are equal if they refer to the same entity.
阅读时间1 分钟最后更新于 20 天前

Definition

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

Parameters

An Entity object.

Another Entity object.

Returns

Type

Description

boolTrue, if both Index and Version are identical.