Documentation

Unity Engine


Unity Engine


FromTypeIndex(TypeIndex)

Returns a ComponentType with ComponentType.AccessMode.ReadWrite based on the typeIndex
Read time 1 minuteLast updated 3 days ago

Definition

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

Parameters

typeIndex

The index

Returns

Type

Description

ComponentTypeThe component type