- Home /
exit level and return to main menu
after my each level...i want the user to come to the main menu...i used Application.loadLevel("main_menu")...so i am able to come to main menu but now the buttons of the main menu dont work. They just work once...ie when the appliaction starts.
Please post the code you are using on the buttons, then we can locate the issue.
Answer by reptilebeats · May 10, 2012 at 02:59 AM
just a wild guess but when i made this on my game i also reduced the time to 0 so everything pauses, i then quickly realised that you have to put the time back to 1 before loading the level. also if you havent got the scripts to enable on start this may do it as well, dont really know with out a bit more information.
just a side note anything done to the project settings during run time will have to be put back to the original through code. so if u change gravity then it will stay the same even when your reloading
Your answer
Follow this Question
Related Questions
When all Coins are collected, an exit level object appears. 4 Answers
script of exit level 1 Answer
Exiting from a scene properly 1 Answer
How to create levels in a bubble shooter game 1 Answer
Life Player loads another level 1 Answer