operator ==(ComponentType, ComponentType)
Evaluates if two component types are equal based on ComponentType.TypeIndex and ComponentType.AccessModeType.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Operator
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static bool operator ==(ComponentType lhs, ComponentType rhs)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns true if both their type indices are equal and their access modes are equal. |