文档

Unity Engine

Unity Engine

IsManagedComponent(TypeIndex)

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

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
警告
Removed. Managed component types are deprecated. This helper will be removed once managed components are no longer supported. First deprecated in 6.6.
public static bool IsManagedComponent(TypeIndex typeIndex)

Parameters

typeIndex

TypeIndex for a component

Returns

Type

Description

boolReturns if the component type TypeIndex.IsManagedType and inherits from IComponentData