implicit operator ComponentType(Type)
Creates a new component type based on the type passed in
Read time 1 minuteLast updated 7 days ago
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 |