ドキュメント

Unity Engine

Download Unity

Unity Engine

GetTypeInfo

Retrieve the TypeInfo for the TypeIndex.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

GetTypeInfo(TypeIndex)

Retrieve the TypeInfo for the TypeIndex.
public static ref readonly TypeManager.TypeInfo GetTypeInfo(TypeIndex typeIndex)

Parameters

typeIndex

TypeIndex to review the TypeInfo for

Returns

Type

Description

TypeInfoReturns the TypeInfo for the component corresponding to the TypeInfo.

GetTypeInfo<T>()

Retrieve the TypeInfo for the component T.
public static ref readonly TypeManager.TypeInfo GetTypeInfo<T>()

Returns

Type

Description

TypeInfoThe TypeInfo for the component corresponding to type T.