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