Let’s fix that by right clicking on the scene in the project window and renaming it to GameScene. We have our game scene but its just called SampleScene. In this part of the tutorial we will be crating the main menu and adding some buttons to allows us to play a game, go to the options menu and to exit the game. Interested in learning more about UI creation? Check our tutorial on How to Make Mobile Touch Controls in Unity.Full Unity 2D Game Tutorial 2019 – Main Menu So make sure you have a scene with the name "GameLevel", which is also added to Build settings (alternatively you can change the name in that line to correspond to the name of the Scene you want to load). NOTE: PlayNowButton() function in SC_MainMenu.cs will attempt to load a Scene called "GameLevel".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |