ドキュメント

Unity Engine

Download Unity

Unity Engine

GetUnmanagedSharedComponentDataIndex<T>(Entity)

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

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
注意
Removed. Use GetSharedComponentIndex\<T\>
public int GetUnmanagedSharedComponentDataIndex<T>(Entity entity) where T : unmanaged, ISharedComponentData

Parameters

entity

The target entity

Returns

Type

Description

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