ドキュメント

Unity Engine

Download Unity

Unity Engine

GetUnmanagedSharedComponentData

Obsolete. Use EntityManager.GetSharedComponent instead.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

GetUnmanagedSharedComponentData<T>(Entity)

Obsolete. Use EntityManager.GetSharedComponent instead.
注意
Removed. Use GetSharedComponent\<T\>
public T GetUnmanagedSharedComponentData<T>(Entity entity) where T : unmanaged, ISharedComponentData

Parameters

entity

The target entity

Returns

Type

Description

TThe index of the target entity's value for the shared component of type
T
.

GetUnmanagedSharedComponentData<T>(int)

Obsolete. Use EntityManager.GetSharedComponent instead.
注意
Removed. Use GetSharedComponent\<T\>
public T GetUnmanagedSharedComponentData<T>(int sharedComponentIndex) where T : unmanaged, ISharedComponentData

Parameters

sharedComponentIndex

The index of the shared component in the internal shared component list.

Returns

Type

Description

TA copy of the shared component.