I do the tutorial Robot Repair and ClockTime. When the player win:
if(GUI.Button(Rect(10,40,80,20),“Play Again”))
{
Application.LoadLevel(“title”);
}
When press Play again sent to Scene 1 “title”, if the player hit play,Load Level “game” the game start again but the clock start in the last time remaining. How reset the clock that is it another scene “game”
3 scripts
first title.js have the menu in “title” Scene
second clockScript.js and gameScript they are in “game” Scene