FromTypeIndex(TypeIndex)
Returns a ComponentType with ComponentType.AccessMode.ReadWrite based on the typeIndex
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public static ComponentType FromTypeIndex(TypeIndex typeIndex)
Parameters
The index
Returns
Type | Description |
|---|---|
| ComponentType | The component type |