- Home /
Switching scenes
I have made a main menu with an options button, when the button is clicked it goes to a new scene. Is the fastest way to do this, or is this too slow in a game?
Comment
So you mean that you have new scene for a new menu ? In that case I'd probably do it all in one go but for better overview I guess it's possible to make a new scene for each menu page.
Answer by PatrickNeary · Jan 29, 2013 at 12:41 AM
you should create a trigger, use
function OnTriggerEnter(triggerObject: Collision){
if(triggerObject.gameObject.name == "name"){
Application.LoadLevel("levelName");
}
}
Your answer
Follow this Question
Related Questions
Loading bar for NEXT scene/level... 1 Answer
How to transition from Load to scene ? 1 Answer
How to make a loading screen? 2 Answers