예제 #1
0
 public void SetMaximumSpeedByInputField(InputField inputField)
 {
     RCC_Customization.SetMaximumSpeed(RCC_SceneManager.Instance.activePlayerVehicle, StringToFloat(inputField.text, 200f));
     inputField.text = RCC_SceneManager.Instance.activePlayerVehicle.maxspeed.ToString();
 }
예제 #2
0
 public void SetMaximumSpeedByInputField(InputField inputField)
 {
     RCC_Customization.SetMaximumSpeed(car, StringToFloat(inputField.text, 200f));
     inputField.text = car.maxspeed.ToString();
 }