文档

Unity Engine

Download Unity

Unity Engine

HasEntityReferences(TypeIndex)

TypeIndex.HasEntityReferences
阅读时间1 分钟最后更新于 20 天前

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