Documentation

Unity Engine

Unity Engine

IsManagedType(TypeIndex)

TypeIndex.IsManagedType
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
Warning
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