Documentation

Unity Engine


Unity Engine


HasEntityReferences(TypeIndex)

TypeIndex.HasEntityReferences
Read time 1 minuteLast updated 3 days 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