Documentation

Unity Engine

Download Unity

Unity Engine

GetComponentType(int)

Gets a ComponentType for the type stored at the index in the list.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public ComponentType GetComponentType(int index)

Parameters

index

The index in the list.

Returns

Type

Description

ComponentTypeReturns the ComponentType for the type stored at the index in the list. The returned ComponentType always has access mode ReadWrite.