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
Returns
Type | Description |
|---|---|
| bool | True 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. |