Method ChunkComponent
ChunkComponent(Type)
Returns a ComponentType that is a chunk component with ReadWrite based on the type.
Declaration
[ExcludeFromBurstCompatTesting("Takes a managed Type")]
public static ComponentType ChunkComponent(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type |
Returns
| Type | Description |
|---|---|
| ComponentType | The chunk component type |
ChunkComponent<T>()
Returns a ComponentType that is a chunk component with ReadWrite based on the type.
Declaration
[GenerateTestsForBurstCompatibility(GenericTypeArguments = new Type[] { typeof(Entity) })]
public static ComponentType ChunkComponent<T>()
Returns
| Type | Description |
|---|---|
| ComponentType | The chunk component type |
Type Parameters
| Name | Description |
|---|---|
| T | The type |