//Jimmy Vegas Unity Tutorial //This script will load your lap time using UnityEngine.UI; public class LoadLapTime : MonoBehaviour { public int MinCount; public int SecCount; public float MilliCount; public GameObject MinDisplay; public GameObject SecDisplay; public GameObject MilliDisplay; void Start () { MinCount = PlayerPrefs.GetInt ("MinSave"); SecCount = PlayerPrefs.GetInt ("SecSave"); MilliCount = PlayerPrefs.GetFloat ("MilliSave"); MinDisplay.GetComponent ().text = "" + MinCount + ":"; SecDisplay.GetComponent ().text = "" + SecCount + "."; MilliDisplay.GetComponent ().text = "" + MilliCount; } }