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