public void InstantRepairPower() { workbench.Repair(new RepairPower(Mathf.FloorToInt(0.2f * workbench.CurrentRepairOrderScrew.Value))); instantRepairPowerButton.interactable = false; InvokeRepeating("InstantRepairCooldown", 1f, 1f); }
public void AutoClick() { workbench.Repair(new RepairPower(UpgradeManager.Instance.GetAutoClickPower())); }