Documentation

Unity Engine


Unity Engine


operator ==(ComponentType, ComponentType)

Evaluates if two component types are equal based on ComponentType.TypeIndex and ComponentType.AccessModeType.
Read time 1 minuteLast updated 2 days ago

Definition

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

Parameters

The left-hand side

The right-hand side

Returns

Type

Description

boolReturns true if both their type indices are equal and their access modes are equal.