hasTile
Whether there is a Tile at the given position on the Tilemap.
Read time 1 minuteLast updated 8 days ago
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.