GetSharedComponentDataUnmanaged<T>(SharedComponentTypeHandle<T>)
Obsolete. Use ArchetypeChunk.GetSharedComponent instead.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public T GetSharedComponentDataUnmanaged<T>(SharedComponentTypeHandle<T> chunkSharedComponentData) where T : unmanaged, ISharedComponentData
Parameters
An object containing type and job safety information. To create this object, call ComponentSystemBase.GetSharedComponentTypeHandle.
Returns
Type | Description |
|---|---|
| T | The shared component value. |