GetEnumerator()
Retrieves an iterator that allows you to iterate over all elements within the Tilemap.PositionArray.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
public readonly IEnumerator<Vector3Int> GetEnumerator()
Returns
Type | Description |
|---|---|
| IEnumerator<Vector3Int> | An iterator that allows you to iterate over all elements within the Tilemap.PositionArray. |