So, Unity released the update a little over a week ago. The biggest change I’ve noticed so far, is that to load levels, you can no longer use Application.LoadLevel. So, I hope this will help someone else out:
At the top of your class script, you’ll need to load SceneManagement:
When loading a level, you’ll need to change your script to:
And, when loading the current level, you’ll need the following script:
public void ReplayLevel01()
//calls the active scene
string sceneName = SceneManager.GetActiveScene().name;
//loads the active scene
I hope this helps anyone out who has updated to the new Unity update. As I come across anything else, I’ll ad posts.
Stay in Touch
On another note, if you find any issues with either this website or any of my games, or have any suggestions or questions, Eimear Studios would love to hear from you! Email me here or report an issue or bug here.
Eimear Studios loves to be social with you all! Don’t forget to follow Eimear Studios on Facebook, Google+ and Twitter! We have lots of social-ness to share, and there’s more social links at the top right of this page!