文档

Unity Engine

Download Unity

Unity Engine

operator <(ComponentType, ComponentType)

Evaluates if one component type is less than the the other first by ComponentType.TypeIndex, then by ComponentType.AccessMode.
阅读时间1 分钟最后更新于 20 天前

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.