Jump to content

  • Log In with Google      Sign In   
  • Create Account

Switching scenes in Unity3D


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 nitishk   Members   -  Reputation: 161

Like
0Likes
Like

Posted 03 January 2012 - 12:43 PM

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

Sponsor:

#2 swiftcoder   Senior Moderators   -  Reputation: 10445

Like
0Likes
Like

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]





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS