- Home /
Reset timeSinceLevelLoad?
After playing a game and going back to the menu and re-selecting the same game-type I noticed that Time.timeSinceLevelLoad does not reset to 0 but instead stays at the last value. I would prefer the behavior to reset, otherwise there's no real purpose to using that function because it would require the same level of overhead (adding timeStart variables) as using Time.time. Is there anyway to reset that value upon reloading a scene?
Comment
Your answer
Follow this Question
Related Questions
After scene reload script stopped working. 1 Answer
Unity seems to be taking a long time destroying a scene? 0 Answers
Float var not decreasing when reload a scene 2 Answers
Turret script TT longer reloading 2 Answers
reloadtime 1 Answer