Documentation

Unity Engine

Unity Engine

IsEnableableType(TypeIndex)

TypeIndex.IsEnableable
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static bool IsEnableableType(TypeIndex typeIndex)

Parameters

typeIndex

TypeIndex for a component

Returns

Type

Description

boolReturns if the component type is decorated with the TypeManager.EnableableComponentFlag attribute.