Exemple #1
0
 private void Update()
 {
     if (startingTime + timeToSuicide < Time.time)
     {
         startingTime = Time.time;
         //car.parameters = evo.RandomizeParams();
         //car.LoadValues();
         //car.DieAndReset();
         car.EndRaceAndMutate(evo.Mutate2(car.parameters));
         sm.CarDied();
     }
 }