ChunkComponentReadOnly
Returns a ComponentType that is a chunk component with ComponentType.AccessMode.ReadOnly based on the type.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
ChunkComponentReadOnly<T>()
Returns a ComponentType that is a chunk component with ComponentType.AccessMode.ReadOnly based on the type.
public static ComponentType ChunkComponentReadOnly<T>()
Returns
Type | Description |
|---|---|
| ComponentType | The chunk component type |
ChunkComponentReadOnly(Type)
Returns a ComponentType that is a chunk component with ComponentType.AccessMode.ReadOnly based on the type.
[ExcludeFromBurstCompatTesting("Takes a managed Type")]public static ComponentType ChunkComponentReadOnly(Type type)
Parameters
The type
Returns
Type | Description |
|---|---|
| ComponentType | The chunk component type |