Ejemplo n.º 1
0
 public void Reposition(CarController car)
 {
     PositionData data = _carPositions[car];
     if (data != null)
     {
         car.transform.position = checkPointRoot.transform.GetChild(data.checkPoint).position + Vector3.up * 2f;
         car.Damage(1f);
     }
 }