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.