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