文档

Unity Engine

Download Unity

Unity Engine

GetComponentType(int)

Gets a ComponentType for the type stored at the index in the list.
阅读时间1 分钟最后更新于 19 天前

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.