thomasbasford.files.wordpress.com€¦  · Web viewThis was done so we could turn them in to buttons later however the only level we got done was the earth level so that is the only

Post on 23-Aug-2020

0 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

UI in gameI created a menu of our game by using the design Image that was made during our planning. I did this making a new scene then adding the Image to the canvas.

Because I was not the one who made the actual image used for the menu I did not have access to the files so I could build the menu from different elements it instead just one big image as the background until I could get access to the file that has all the elements of it separate.

Since the Buttons are a part of the image I could not add the buttons like you would normally instead I made an empty game object then put over start game after adding a button component to it. I then created a script for Start game called Level Selector that has a function in it called play that runs Application.LoadLevel(“Level Selector”) which takes you to the Level Selector scene when in game starting the game.

UI in game

UI in game

top related