Hi everybody,
My game consists of several levels.
When a level starts, also the leveltime starts with Time.timeSinceLevelLoad.
When you loose the level, the level will restart and you have to play the level again until you win.
When the level restarts, also the leveltime restarts from zero of course.
What I want to have is the total time that the level is played until it’s won. So when the level restarts, the time should not begin at zero but at the time when the level is lost before.
I can not use Time.time because every level in the game has it’s own time (Time.time is the time since the start of the whole game).
I can do something with the PlayerPrefs but than I have to know if it is possible to start Time.timeSinceLevelLoad from a certain time and not from zero.
Does anybody has an idea how to do this?