public void DestroyStructure() { costs.Refund(costs.land); // give back the money on canceling building // mobileTouchCamera.lockCamera = false; Destroy(GO); destroyToggle = true; }
public void DestroyBuilding() { Cursor.visible = true; SoundManager.instance.PlaySingle(cancelBuilding, 0.3f); costs.Refund(costs.currentlySelectedBuildingCost); // give back the money on canceling building mobileTouchCamera.lockCamera = false; Destroy(GO); }