Example #1
0
 public void SetMaximumBrakeByInputField(InputField inputField)
 {
     RCC_Customization.SetMaximumBrake(RCC_SceneManager.Instance.activePlayerVehicle, StringToFloat(inputField.text, 2000f));
     inputField.text = RCC_SceneManager.Instance.activePlayerVehicle.brakeTorque.ToString();
 }
Example #2
0
 public void SetMaximumBrakeByInputField(InputField inputField)
 {
     RCC_Customization.SetMaximumBrake(car, StringToFloat(inputField.text, 2000f));
     inputField.text = car.brakeTorque.ToString();
 }