Version: 2019.2
public bool ContainsTile (Tilemaps.TileBase tileAsset);

Parameters

tileAssetTile to check.

Returns

bool Whether the Tilemap contains the tile.

Description

Returns true if the Tilemap contains the given tile. Returns false if not.