GetUnmanagedSharedComponentDataIndex<T>(Entity)
Obsolete. Use EntityManager.GetSharedComponentIndex instead.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public int GetUnmanagedSharedComponentDataIndex<T>(Entity entity) where T : unmanaged, ISharedComponentData
Parameters
The target entity
Returns
Type | Description |
|---|---|
| int | The index of the target entity's value for the shared component of type |