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