Attach the StopWatch script to a GameObject. Connect your UI buttons to the corresponding functions. Display the time using Text or TMP Text component. Attach GameTimer to a persistent GameObject. Add ...
I have finished the part where time is measured by Unity's play and pause functions and the display is updated at a specified frame rate. Instead of using buttons in the Unity editor, I will now ...