文档

Unity Engine

Download Unity

Unity Engine

HasDescendants(TypeIndex)

Returns if any component inherits from the provided TypeIndex
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static bool HasDescendants(TypeIndex baseTypeIndex)

Parameters

baseTypeIndex

Parent type

Returns

Type

Description

boolReturns if any component inherits from baseTypeIndex