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