Art & Design: Coding UIs


I then had to code all of the UIs so that they popped up at the correct time. 

When the Start Game function is played, the 3D Platfromer 04 scene is run.

When the Quit game function is played, the application quits.

and When the Story function is run, the Story scene is run.



To ensure that all scenes are run correctly, they must be added to the list of scenes in build settings.



The On click function needs to be filled by the UI editor object made with the scripts connected, then the correct run function must be assigned, e.g. Start game, end game and story.



Comments

Popular Posts