GUI Scripts

This section contains the final scripts that are used to control the game’s GUI. It includes scripts for the in-game health and coins GUI as well as scripts for the various menu and title screens. You’ll find the following scripts here:

Image Listing A.14: The CoinCounter Script

Image Listing A.15: The GameOverScript Script

Image Listing A.16: The GameWinScript Script

Listing A.17: The GUIGame Script

Listing A.18: The SplashScreenDelayed Script

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.