Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Quit application before relaunching to specific scene

$
0
0
I am making a game where, if you take too long to complete the game, the universe begins to fall apart and the game "crashes" (the storyline is a little too complex and unnecessary to explain here). I will simulate the crash by setting time.timeScale to 0 to freeze everything, and then use close the application. I can use time.realtimeSinceStartup to measure time while everything is frozen. Anyway, after quitting, I want to be able to relaunch the application to a specific scene (in this case, an alternate universe). Is there a way to do this?

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>