LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

BoundsInt.PositionEnumerator.GetEnumerator

public BoundsInt.PositionEnumerator GetEnumerator();

Returns

PositionEnumerator This BoundsInt.PositionEnumerator.

Description

Returns this as an iterator that allows you to iterate over all positions within the BoundsInt.