GetDynamicSharedComponentTypeHandle(ComponentType)
Manually gets the run-time type information required to access a shared component data in a chunk.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public DynamicSharedComponentTypeHandle GetDynamicSharedComponentTypeHandle(ComponentType componentType)
Parameters
The component type to get access to.
Returns
Type | Description |
|---|---|
| DynamicSharedComponentTypeHandle | An object representing the type information required to safely access shared component data stored in a chunk. |
Remarks
Remember to call DynamicSharedComponentTypeHandle.Update.