Hello,
I have a script wich includes a timer, only problem is that it starts as soon as you start the app.
So what i would like to have is to start the script by button.
Can someone help me to accomplish that?
At this point this is how it starts and stops :
void Update () {
float time = introTimer - Time.timeSinceLevelLoad;
textTimer.text = time.ToString ("0") + "..";
if (time <= 0) {
TimeUp ();
}
}