Version: 2017.3

PositionEnumerator

struct in UnityEngine

Switch to Manual

Description

An iterator that allows you to iterate over all positions within the 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.