文档

Unity Engine

Unity Engine

MakeChunkComponentTypeIndex(TypeIndex)

Creates a new TypeIndex that allows the passed in 'typeindex' to be used as a chunk component.
阅读时间1 分钟最后更新于 19 天前

Definition

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

Parameters

typeIndex

The TypeIndex to use as a chunk component.

Returns

Type

Description

TypeIndexReturns the new TypeIndex.