Question by
Maverickthebest · Dec 22, 2018 at 12:15 PM ·
timestop
Lap Timer // c# Help
I'm checking the web for Lap Timer but i only found tons of Tutorials and stuff with only 1 Lap, but i want a Stopwatch like the Iphone have. Every time a new Round starts a New "Round" comes up.
Don't know where to serach anymore... Maybe someone knows a trick with a array or something...
Thanks a lot Cris
public void ZeitmessungPfeil1()
{
vergangeneTime += 0;
PfeilZeit1.text = vergangeneTime.ToString();
}
public void StopZeitmessungTotal()
{
vergangeneTime += 0;
ZeitfuerRunde1.text = vergangeneTime.ToString();
}
private void Update()
{
//ZEIT MESSUNG
vergangeneTime += Time.deltaTime;
ablaufendeZeit = RundenZeit - vergangeneTime;
AblaufendeZeitText.text = ablaufendeZeit.ToString("F2");
img-8145.png
(147.4 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612184419im_/https://answers.unity.com/themes/thub/images/avi.jpg)