Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Reload Application

$
0
0
Is there a way to reload the application. I have tried using the following code
SceneManager.LoadScene(SceneManager.GetActiveScene().name);

But it throws errors as the variables in the game all have their data still.

I saw there is a Application.reset but there seems to be little to no documentation on it.

Viewing all articles
Browse latest Browse all 1466670

Trending Articles