Activity 7
AJ Esguerra
Rena Escora
Jen Carlo Napoto
BS-EMC 2A
Activity #7:Creating Next or Previous Scene
1. The 1st thing that we need to do is to create and design all the scenes that we're going to use and put in our buttons. In my case i created 4 scenes, The main menu scene, The Game scene, The Options Scene, And the Quit Scene.
![]() |
| Main Menu Scene |
![]() |
| Main Game Scene |
![]() |
| Option Scene |
![]() |
| Quit Scene |
2. Next is we're going to drag all the scenes that we've created to the build settings. We must drag it according to what our the first to last button will be when we clicked it.
3. Next is we're going to create a script that will allow us to put all the scenes that we've created to all the buttons that we've created in our Main menu Scene. We should name it The Scene Loader Script.
![]() |
| Scene Loader Script |
4. Next is we're going to create an empty object in our hierarchy, Name it Scene Loader and drag the script that we've just created.
5. Next is we need to go Inspector of the button, Click the Plus button and drag the game object that we've created to the empty slot on the "on click" menu on our button.
6. And lastly, We need to select the scenes for our button to go when we clicked it. To do that, Click the drag down button on the button inspector, click "SceneLoader" and select the exact scene that you want to go for our button. and that should do it.
* Select the "Load Game()" for the play button
* "Options()" For the options button
* "Quit Game()" for the quit button











Comments
Post a Comment