Documentation

Unity Engine


Unity Engine


operator ==(Entity, Entity)

Entity instances are equal if they refer to the same entity.
Read time 1 minuteLast updated 3 days ago

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.