Documentation

Unity Engine


Unity Engine


operator <(ComponentType, ComponentType)

Evaluates if one component type is less than the the other first by ComponentType.TypeIndex, then by ComponentType.AccessMode.
Read time 1 minuteLast updated 3 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

boolTrue if the left-hand side's ComponentType.TypeIndex is less than the right-hand side's. If the type indices match, the ComponentType.AccessModeType is used.