hasTile
Whether there is a Tile at the given position on the Tilemap.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
public bool hasTile { get; }
Remarks
This is faster than checking Tilemap.SyncTile.tile against null, as it does not resolve the Tile.