Files
blackhole-escape/Assets/Assets_And_Scenes/Scripts/Other Scripts/Spedometer.cs
2022-06-18 15:55:39 +01:00

16 lines
309 B
C#

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;
}
}