GetSharedComponentDataBoxed(int, TypeIndex)
Retrieves a shared component value as a managed boxed object.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
[ExcludeFromBurstCompatTesting("Accesses managed component store")]public object GetSharedComponentDataBoxed(int sharedComponentIndex, TypeIndex typeIndex)
Parameters
Returns
Type | Description |
|---|---|
| Object | The shared component value, boxed into an object. |
Remarks
This API is for debugging or performance-insensitive purposes.
Additional Resources: EntityManager.GetSharedComponent