public void Sell()
    {
        MapController_script mc = mapcontroller.GetComponent <MapController_script>();

        player.GetComponent <PlayerController_script>().addCurrentResource(5);
        baseGrid.GetComponent <Grid_script>().availability = true;
        mc.SetAvailability(baseGrid, true);
        foreach (GameObject monster in mc.monsterHolder)
        {
            monster.GetComponent <Monster_script>().removeFromTowers(this.gameObject);
        }
        Destroy(this.gameObject);
        if (!mc.getInwave())
        {
            mc.UpdatePath();
        }
    }
 public void setAvailability(bool availability)
 {
     mapController.SetAvailability(this.gameObject, availability);
     this.availability = availability;
 }