you can use raycast if you want set another position for your player or instantiate preafabs, or standart metod
private void OnMouseEnter(){if(Input.GetMouseButton())}.(work to both systems if you going to do two different buildings)
Recomend you look Unity Junior Programmer way