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
Returns
Type | Description |
|---|---|
| bool | Returns true if both their type indices are equal and their access modes are equal. |