PositionEnumerator

struct in UnityEngine

Switch to Manual

Description

A struct that iterates through all positions in BoundsInt.

Variables

CurrentCurrent position of the enumerator.

Public Functions

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.