GetEnumerator()
Retrieves an iterator that allows you to iterate over all elements within the Tilemap.TileArray.
阅读时间1 分钟最后更新于 1 个月前
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. |