Documentation

Unity Engine

Download Unity

Unity Engine

HasEntityReferences(TypeIndex)

TypeIndex.HasEntityReferences
Read time 1 minuteLast updated a month ago

Definition

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

Parameters

typeIndex

TypeIndex for a component

Returns

Type

Description

boolReturns if the component type contains any member fields that are of type Entity