Documentation

Unity Engine


Unity Engine


operator >(ComponentType, ComponentType)

Evaluates if one component type is greater than the the other.
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 fields are compared instead.