public void UpgradeBrake() { HR_ModApplier applier = GameObject.FindObjectOfType <HR_ModApplier>(); applier.brakeLevel++; applier.UpdateStats(); }
public void UpgradeTurbo() { HR_ModApplier applier = GameObject.FindObjectOfType <HR_ModApplier>(); applier.isTurboPurchased = true; applier.UpdateStats(); }
public void UpgradeHandling() { HR_ModApplier applier = GameObject.FindObjectOfType <HR_ModApplier>(); applier.handlingLevel++; applier.UpdateStats(); }
public void UpgradeSpeed() { HR_ModApplier applier = GameObject.FindObjectOfType <HR_ModApplier>(); applier.speedLevel++; applier.UpdateStats(); }
public void ChangeChassisColor(Color color) { HR_ModApplier applier = GameObject.FindObjectOfType <HR_ModApplier>(); applier.bodyColor = color; applier.UpdateStats(); }
public void UpgradeSiren() { HR_ModApplier applier = GameObject.FindObjectOfType <HR_ModApplier>(); applier.isSirenPurchased = true; applier.UpdateStats(); applier.ToggleSiren(); }
public void ChangeWheels(int wheelIndex) { HR_ModApplier applier = GameObject.FindObjectOfType <HR_ModApplier>(); applier.selectedWheel = HR_Wheels.Instance.wheels[wheelIndex].wheel; applier.wheelIndex = wheelIndex; applier.UpdateStats(); }