Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

PositionEnumerator

struct in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Description

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

Properties

Description
CurrentCurrent position of the enumerator.

Public Methods

Description
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.