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