private void Update() { if (Input.GetMouseButtonDown(0)) { Vector2 pos = BuildingPlacer.mouseToTile(); //Debug.Log("Tile at: (" + pos.x + "," + pos.y + ") Biome: " + getTile(pos.x, pos.y).getBiome()); } }
private void Update() { if (Input.GetMouseButtonDown(0)) { Vector2 pos = BuildingPlacer.mouseToTile(); //Debug.Log("Tile at: (" + pos.x + "," + pos.y + ") Biome: " + getTile(pos.x, pos.y).getBiome()); } }