Simple Timer Class

by psychicparrot

Usage
Save the script below as 'Timer.cs'

Timer timerRef=new(Timer); // <--creates instance of the timer class

timerRef.startTimer; // <- kick things off(!)

timerRef.stopTimer; //<- pause time

timerRef.resetTimer; // <- reset time to zero

timerRef.getFormattedTime - returns formatted string