Files
racesm/Assets/Scripts/LapTimer.cs
2024-04-26 12:59:34 +02:00

32 lines
549 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LapTimer : MonoBehaviour
{
// public List<float> times;
// private bool startTime = false;
// private void OnTriggerEnter(Collider other) {
// if (startTime)
// {
// startTime = false;
// print(time);
// } else {
// startTime = true;
// }
// }
// void FixedUpdate()
// {
// time +=1;
// }
}