Strange scene.Time behaviour
I have a game with a rotation attribute linked to the scene.Time. In the main all runs fine, I have noticed though that, when the app build is sent to background on the device, when I return to it it seems that the scene time starts with a negative value, this increases the longer the app is left in the background of the device! This throws things slightly out of whack for me so it important that it always starts at zero. Has anyone else noticed this behaviour or have any suggestions?
Chris
Chris
Best Answer
-
tenrdrmer Posts: 9,934
Scene time only resets when the scene is actually loaded. You will need to create your own time attribute and just set it so that anytime the game hibernates the attribute resets it self to 0
Answers