How to load different scenes using script | Unity 3D
Aug 10, 2021
This is definitely something I always forget how to do. It’s a very simple process. Time to make a note of it ;)
In your script, you will need to first add the UnityEngine.SceneManagement library.
Next, add the scene you want to load. Make sure it’s spelled the same as in your project library.
Finally, reference the function you just created in your UI Canvas Button under OnClick().