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
Switching scenes in Unity3D
1 reply to this topic
Senior Moderators - Reputation: 14988
Posted 03 January 2012 - 01:42 PM
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 - Software Engineer @Amazon - [swiftcoding]