ドキュメント

Unity Engine

Download Unity

Unity Engine

GetDescendantCount(TypeIndex)

Returns how many component types are known to the TypeManager that inherit from a given component type
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static int GetDescendantCount(TypeIndex typeIndex)

Parameters

typeIndex

Parent type

Returns

Type

Description

intReturns count of component types inheriting from typeIndex's component type