ドキュメント

Unity Engine

Download Unity

Unity Engine

GetSharedComponentDataBoxed(int, TypeIndex)

Retrieves a shared component value as a managed boxed object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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