文档

Unity Engine

Download Unity

Unity Engine

operator >(ComponentType, ComponentType)

Evaluates if one component type is greater than the the other.
阅读时间1 分钟最后更新于 19 天前

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.