Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by fingaz1 · Jun 03, 2012 at 06:05 AM · scenemenusub-menu

Sub-menu help

We are working on a project and creating a main menu for the game. The main menu will have several items on it, 3 of which will go to a sub menu. For example, We have the following menu setup for the main menu:

  • single player

  • arcade mode

  • practice mode

  • combo master

  • check for updates

  • options

then there are 2 sub-menus.
for single player:

  • start new game

  • Load Game

  • Back

for options:

  • general settings

  • sound settings

  • video settings

  • back

I was thinking that I would have to create a seperate scene for each sub-menu. then write a script that when clicked would load that scene.

I'm not certain if this is the best way to do it, I know if there was a script it would be something like Application("loadScene") but again, not completely certain..

Any help out there for this?

Thanks in advance

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 MJG1123 · May 04, 2015 at 11:23 PM 0
Share

hijnix link is broken

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by hijinxbassist · Jun 03, 2012 at 06:14 AM

http://answers.unity3d.com/questions/255785/efficient-loading-of-a-new-sub-menu.html>Here's a link to a previous question i answered. You will use a switch case to switch between the different menus/subgroups

Comment
Add comment · Show 2 · Share
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 fingaz1 · Jun 03, 2012 at 07:24 AM 0
Share

so was I right in making the new scene for the sub menu, then following your code sample just name that new scene??

avatar image hijinxbassist · Jun 03, 2012 at 07:47 AM 0
Share

@fingaz1 I wouldnt suggest making new scenes. Just use the switch case for each separate menu. If you have a bunch of 3d models specific to that menu, consider fading in/out a screen cover(whiting out the screen) and just change the cameras position in the one scene itself to a different location. Then you only need one scene for menus. I hope that answers your question

avatar image
0

Answer by RhoneRanger · May 14, 2013 at 06:30 AM

Do you have to use a switch statement to show submenus? Cant you just loop through them?

Comment
Add comment · Share
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

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.

Follow this Question

Answers Answers and Comments

7 People are following this question.

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

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

How to find a prefab in another scene? 1 Answer

Playing animation when picking up an object. 2 Answers

How do I get to display Timetaken to finish the the game scene on the final scene? 1 Answer

How to load a scene on collision 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges