Constructor ComponentType
ComponentType(Type, AccessMode)
Create a component type
Declaration
[ExcludeFromBurstCompatTesting("Takes a managed Type")]
public ComponentType(Type type, ComponentType.AccessMode accessModeType = AccessMode.ReadWrite)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type |
ComponentType.AccessMode | accessModeType | The ComponentType.AccessMode of the component type. ReadWrite by default. |