PositionEnumerator

struct in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Description 描述

An iterator that allows you to iterate over all positions within the BoundsInt.

Properties 属性

CurrentCurrent position of the enumerator.

Public Methods 公共方法

GetEnumeratorReturns this as an iterator that allows you to iterate over all positions within the BoundsInt.
MoveNextMoves the enumerator to the next position.
ResetResets this enumerator to its starting state.