Documentation

Unity Engine

Download Unity

Unity Engine

GetSharedComponentDataBoxed(int, TypeIndex)

Retrieves a shared component value as a managed boxed object.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
[ExcludeFromBurstCompatTesting("Accesses managed component store")]public object GetSharedComponentDataBoxed(int sharedComponentIndex, TypeIndex typeIndex)

Parameters

sharedComponentIndex

The shared component index

typeIndex

The type index

Returns

Type

Description

ObjectThe shared component value, boxed into an object.

Remarks

This API is for debugging or performance-insensitive purposes.
Additional Resources: EntityManager.GetSharedComponent