Version: 2017.2

Tilemap.ContainsTile

Switch to Manual
public bool ContainsTile (Tilemaps.TileBase tileAsset);

Parameters

tileAsset Tile to check.

Returns

bool Whether the Tilemap contains the tile.

Description

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