public void RegistraVisita(int id) { RegistraVisitaAux(id, true); TileMapController tileController = TileMapController.Instance; foreach (Vector2Int neighbour in tileController.neighbourAux) { tileController.GetTile(pos + neighbour).RegistraVisitaAux(id); } }