using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class Spedometer : MonoBehaviour
{
    public Slider speed;
    // Start is called before the first frame update
public void SpeedSlider(float newSpeed)
    {
        speed.value = newSpeed;
    }

}
