What I’m trying to do is access the gameObject attached to the Tile object. But tilemap.GetTile() Returns a TileBase instead of a Tile. Is there any way to retrieve a Tile object based on position in the tilemap?
try Adding after GetTiile ie :
Tile tile=tilemap.GetTile(“YOURPOSITION”);
@nopogo
You can write tilemap.GetTile<Tile>()
to retrieve a Tile instead of a Tilebase