• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by AcE_fLoOdEr · Jul 24, 2015 at 12:59 AM · uiscenesoverlapmain menu

Scenes overlap when using LoadLevel

So I am trying to create a menu, and I have an options menu in a different scene. Here is a basic layout.

Menu 1

Play -> loads game scene

Options -> loads options scene

Exit -> quits application

When I click the options button on the main menu, it is supposed to take me to the options menu, it does that, but it also brings ALL the elements of the main menu into the new scene and vice versa. It's not my first time making a main menu, but this has been giving me trouble. Any suggestions?

I am just using Application.LoadLevel() in the button OnClick() events. I do not use DontDestroyOnLoad() so It's not that.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image vexe · Jul 24, 2015 at 01:18 AM 1
Share

"it also brings ALL the elements of the main menu into the new scene and vice versa" - could you be more clear? You mean the "Play - Options - Exit" are also appearing in the "Options" menu? (you expect them to be destroyed but they're not)

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Options Menu doesnt work after scene change 2 Answers

how do I set up a level select scene in my game 3 Answers

Switching scenes 1 Answer

How can I make sure an UI element is rendered on top of the others if my game has multi scene hierarchy? 1 Answer

How UI Batching works with two different sprites ? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges