This version of Unity is unsupported.

PositionEnumerator

struct in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Description

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

Properties

CurrentCurrent position of the enumerator.

Public Methods

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