文档

Unity Engine

Download Unity

Unity Engine

hasTile

Whether there is a Tile at the given position on the Tilemap.
阅读时间1 分钟最后更新于 1 个月前

Definition

public bool hasTile { get; }

Remarks

This is faster than checking Tilemap.SyncTile.tile against null, as it does not resolve the Tile.