public void SetMaximumTorqueByInputField(InputField inputField) { RCC_Customization.SetMaximumTorque(RCC_SceneManager.Instance.activePlayerVehicle, StringToFloat(inputField.text, 2000f)); inputField.text = RCC_SceneManager.Instance.activePlayerVehicle.engineTorque.ToString(); }
public void SetMaximumTorqueByInputField(InputField inputField) { RCC_Customization.SetMaximumTorque(car, StringToFloat(inputField.text, 2000f)); inputField.text = car.engineTorque.ToString(); }