Documentation

Unity Engine

Unity Engine

HasDescendants(TypeIndex)

Returns if any component inherits from the provided TypeIndex
Read time 1 minuteLast updated 4 days ago

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