文档

Unity Engine

Download Unity

Unity Engine

NextEntityIndex(out int)

Iterates through the given ArchetypeChunk, retrieving the index of the next available entity as defined by the mask info provided to the constructor.
阅读时间1 分钟最后更新于 20 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

NextEntityIndex(int)

public bool NextEntityIndex(out int nextIndex)

Parameters

nextIndex

The index of the next available entity in the ArchetypeChunk, or -1 when the function returns false.

Returns

Type

Description

boolWhether the iteration should continue.