Version: 2017.2

PositionEnumerator

struct in UnityEngine

Switch to Manual

Description

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

Variables

CurrentCurrent position of the enumerator.

Public Functions

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.