I have a separate scene as a menu for my game and then the game in a separate scene so i would like to know how i can switch scenes while passing a parameter to the next scene so i know what difficulty the user has selected. I know that i can use Application.LoadLevel(1) to load the next scene, but i can't figure out how to save the changes. Maybe creating a gameobject that holds this data? idk
Thanks
Switching scenes in Unity3D
There's a thread over at the Unity forums that describes a few ways to accomplish this - take a look and see if it has a suitable solution.
Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement