コード例 #1
0
 // Start is called before the first frame update
 void Start()
 {
     highlyDamagedVehicle.SetActive(false);
     damagedVehicle.SetActive(false);
     normalVehicle.SetActive(true);
     currentTurbo         = maxTurbo;
     car.transform.parent = null;
     turboBar.SetMaxTurbo(maxTurbo);
 }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     StartCoroutine(TrackPlayer());
     highlyDamagedVehicle.SetActive(false);
     damagedVehicle.SetActive(false);
     normalVehicle.SetActive(true);
     currentTurbo         = maxTurbo;
     car.transform.parent = null;
     turboBar.SetMaxTurbo(maxTurbo);
 }