Skip to Main Content
Unity Certified Programmer: Exam Guide
book

Unity Certified Programmer: Exam Guide

by Philip Walker
June 2020
Intermediate to advanced content levelIntermediate to advanced
762 pages
16h 41m
English
Packt Publishing
Content preview from Unity Certified Programmer: Exam Guide
Pausing the Game, Altering Sound, and a Mock Test

In this chapter, we are going to add background music to our game. Then, we will make our music fade in when the level starts, fade out when the level is completed, and stop if the player dies. After that, we will be using all the UI skills we have learned so far to create a pause screen and add some slider components to it (which will be used in the next chapter for volume controls). With the pause screen built, we will make our game pause by freezing the player, the enemies on the screen, bullets, and moving textures. Also within the pause screen, we will be giving the player the option to resume play or quit so that the game goes back to the title screen with the use of Event Listeners, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unity Certified Programmer Exam Guide - Second Edition

Unity Certified Programmer Exam Guide - Second Edition

Philip Walker
Unity 3D Game Development

Unity 3D Game Development

Anthony Davis, Travis Baptiste, Russell Craig, Ryan Stunkel

Publisher Resources

ISBN: 9781838828424Supplemental Content