Question by
TheCreatorultim · Mar 24, 2016 at 04:54 PM ·
reset
R = reset ?
how can i do that when i press R the game reloads ?
in a c# or in a java script?
Comment
Best Answer
Answer by lassade · Mar 24, 2016 at 05:53 PM
You can do this in both c# or javascript.
Just reload your frist scene with SceneManager.LoadScene(0)
and you should be good to go. You will only need care about reset all static variables if you have any.
and how do i add it to the scene like in the script (im not good at scripts)