Creating UI Main Menu in Unity

Objective: Create a main menu screen using UI elements

First step is to create a new scene. In this case I’m gonna call it main menu, then we’re gonna add the space background.

Now we can start adding UI elements like images and Texts for the titles and other information.

Once we are happy with the result we gonna create a UI button to start the game, then create a script and create a function to load the game scene.

Finally we only have to select the button and call the function in the property OnClick of the button component.

And that’s it! A functional main menu with a button to start the game.

--

--

--

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

What the API Gateway !!

AWS RDS(MS SQL Server) Read replica migration

Daily progress — They see me rollin’

AVRO vs Parquet — what to use?

How Jay-Z Can Help to Improve Your Writing

Setting up Vault inside Docker

Coding MVC based implementation on Loan Note application — web based notes taking app in order to…

4 Recommendations of Arduino Types for Beginners

Uno R3 DIP Arduino

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rusben Guzman

Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

More from Medium

Adding a User Interface to our prototype

Mobile Game progression

3rd Person Controller Using Cinemachine Virtual Camera On Mobile

Guide to Making Beautiful Games: Level Design