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:
Listing A.14: The CoinCounter Script
Listing A.15: The GameOverScript Script
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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.