Exemplo n.º 1
0
 void Restart()
 {
     fishPool.Reset();
     fuelLevel = FUEL_MAX;
     pickupTracker.Restart();
     glueCam.Restart();
     thisRigidbody.velocity = Vector3.zero;
     timeKeeper.Restart();
     transform.position = startPosition;
     transform.rotation = startRotation;
     tutorialIsVisible  = true;
     tutorialText.SetActive(true);
     uiControl.Visible = false;
     foreach (FishDrone drone in fishDrones)
     {
         drone.Reset();
     }
     restarting = false;
 }