ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


RectInt.PositionEnumerator

An iterator that allows you to iterate over all positions within the RectInt.
読み終わるまでの所要時間 1 分最終更新 23日前

Definition

public struct RectInt.PositionEnumerator : IEnumerator<Vector2Int>, IEnumerator, IDisposable

Properties

Property

Description

CurrentCurrent position of the enumerator.

Methods

Method

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.