文档

Unity Engine

Unity Engine

IsManagedType(TypeIndex)

TypeIndex.IsManagedType
阅读时间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 IsManagedType(TypeIndex typeIndex)

Parameters

typeIndex

TypeIndex for a component

Returns

Type

Description

boolReturns if the component type requires managed storage due to being a class type, and/or contains reference types