public IEnumerator DeconstructBuilding(BuildingBase building) { while (building.buildAmount > 0) { building.AddConstruction(-buildSpeed); yield return(new WaitForFixedUpdate()); } }