文档

Unity Engine

Download Unity

Unity Engine

FromTypeIndex(TypeIndex)

Returns a ComponentType with ComponentType.AccessMode.ReadWrite based on the typeIndex
阅读时间1 分钟最后更新于 19 天前

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