unity get time since start code example
Example: how to get the time since play unity
//The amount of time since the play button was pressed
Time.realtimeSinceStartup
//The amount of time since the play button was pressed
Time.realtimeSinceStartup