implicit operator ComponentType(Type)
Creates a new component type based on the type passed in
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Operator
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
implicit operator ComponentType(ComponentTyp)
[ExcludeFromBurstCompatTesting("Takes a managed Type")]public static implicit operator ComponentType(Type type)
Parameters
The managed type
Returns
Type | Description |
|---|---|
| ComponentType | The new ComponentType with ComponentType.AccessMode.ReadWrite |