
Unity Certified Programmer Exam Guide
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
- Tackle challenges in Unity game development and the certification exam using effective techniques and solutions
- Prepare for the latest Unity certification exam using mock tests, exam tips, and self-assessment questions
Book DescriptionUnity Certified Programmer is a global certification program by Unity for anyone looking to become a professional Unity developer. The official Unity programmer exam will not only validate your Unity knowledge and skills, but will also enable you to be a part of the Unity community. This study guide will start by building on your understanding of C# programming and taking you through the process of downloading and installing Unity. You'll understand how Unity works and get to grips with the Unity exam's core objectives. As you advance, you'll enhance your skills by creating an enjoyable side-scrolling shooter game that can be played within the Unity Editor or any modern Android mobile device. This Unity book will test your knowledge with self-assessment questions and help you take your skills to an advanced level by working with Unity tools such as the animator, particle effects, lighting, UI/UX, scriptable objects, and debugging. By the end of this book, you'll have developed a solid understanding of the different tools in Unity and be able to create impressive Unity applications by making the most of its toolset.What you will learn - Discover techniques for writing modular, readable, and reusable scripts in Unity
- Implement and configure objects, physics, controls, and movements for your game projects
- Understand 2D and 3D animation and write scripts to interact and use Unity s rendering API
- Explore Unity APIs for adding lighting, materials, and textures to your apps
- Write Unity scripts for building interfaces for menu systems, UI navigation, application settings, and much more
- Focus on SOLID principles for writing clean and maintainable Unity applications
Who this book is forThis Unity engine book is for game developers, software developers, mobile app developers, and Unity developers who want to advance in their career and gain gaming industry certification. The book assumes basic knowledge of C# programming and the Unity engine.
All prices
More details
Other editions
Additional editions

Person
Philip Walker originally started as a 3D game artist, but then decided he wanted to combine his current skills with coding so that he could see through the majority of his games' and apps' development himself. Philip has worked in various different industries as an artist and as a Unity developer using various types of technology and techniques.
Content
- Adding and Manipulating Objects
- Managing Scripts and Taking a Mock Test
- Applying Art, Animation, and Particles
- Creating a Shop Scene for Our Game
- Purchasing In-Game Items and Advertisements
- Creating a Game Loop and Mock Test
- Adding Custom Fonts and UI
- Creating a 2D Shop Interface and In-Game HUD
- Pausing the Game, Altering Sound, and a Mock Test
- Storing Data and Audio Mixer
- NavMesh, Timeline, and a Mock Test
- Effects, Testing, Performance, and Alt Controls
- Full Unity Programmer Mock Exam
Preface
Unity Certified Programmer: Exam Guide - Second Edition will take a basic object-oriented programmer and introduce them to Unity through a creative project that stretches across the entire book, achieving essential exam core objectives that can be put toward Unity's own Official Programmer Exam.
This book will take you (the programmer) through a discussion of the exam itself, breaking down each of its objectives, and what is expected of you to achieve a pass. From there, everything we'll discuss relates to supporting you with potential questions from the exam. So, we'll start straight away and refer to an overview of common design patterns and even more common SOLID principles that all programmers need to know. We will go through our game design brief and custom-built framework before we even touch Unity.
After installing Unity, you will begin to take your first steps in building a side-scrolling shooter game, and at the beginning of every chapter, it will be brought to your attention which core objectives we will be covering to support you. After some chapters, you will also be tested with a mini mock exam to see how you are getting on.
By the end of the book, you will have created a game that can be played on a standalone PC and/or Android device supporting a keyboard and touch screen controls, where you will fly a spaceship to fight off oncoming enemies.
As early as Chapter 2, Adding and Manipulating Objects, you will have coded the majority of the game, and the following chapters that we'll progress through will introduce you to Unity's tools and components, such as the Timeline, which is specifically built for the TV/film industry and cutscenes in games. You will cover particle effects, different materials to apply to your game objects to make them react to light, fading the sound in and out by manipulating an audio mixer with your scripting, pausing the game, storing values in your own scriptable objects, and much, much more.
Even if you aren't taking the Unity Certified Programmer Exam, you will make a game that you can continue to develop, play, and learn from.
Who this book is for
This Unity engine book is for game developers, software developers, mobile app developers, and Unity developers who want to advance in their careers and gain gaming industry certification. The book assumes basic knowledge of C# programming and the Unity engine.
What this book covers
Chapter 1, Setting Up and Structuring Our Project, introduces what is expected of you in the exam, discusses SOLID principles, and gives an overview of design patterns. You will also see how we are going to create our game by looking at its framework and version control.
Chapter 2, Adding and Manipulating Objects, gets you started with coding and importing 3D assets to get the basics of the game functioning.
Chapter 3, Managing Scripts and Taking a Mock Test, extends the game out into menu screens, adding sound, adding a scoring system, and ending with the first mock exam.
Chapter 4, Applying Art, Animation, and Particles, focuses on understanding materials, animating textures, and creating particle systems.
Chapter 5, Creating a Shop Scene for Our Game, introduces the shop scene and how to make use of Unity's raycast system, which shoots invisible rays to help identify game objects, and looks at various uses of scriptable objects for filling out content.
Chapter 6, Purchasing In-Game Items and Advertisements, covers making the shop scene have a working in-game balance to buy upgrades and introduce users to watch adverts to gain extra in-game credits. By the end of the chapter, the player will be able to make use of firing a new weapon and taking extra hits from enemies with their bought shield.
Chapter 7, Creating a Game Loop and Mock Test, covers moving through each screen until the game loops back to the beginning to create a game loop, finishing off with a mock test that has questions on the material learned so far.
Chapter 8, Adding Custom Fonts and UI, gets you more familiar with Unity's 2D Canvas, adding polish to each screen by applying image components and custom fonts and animating each level's title.
Chapter 9, Creating a 2D Shop Interface and In-Game HUD, takes the shop scene from looking less like a prototype to more polished and functioning to support various screen aspect ratios. This chapter also introduces an in-game life, map, and score system.
Chapter 10, Pausing the Game, Altering Sound, and a Mock Test, covers the creation of a pause screen for each level of the game, which will give options to alter the game's volume controls, as well as quitting and resuming the game, followed by a mock test to check your knowledge of the chapter.
Chapter 11, Storing Data and Audio Mixer, makes use of Unity's own PlayerPrefs, and compares it with JSON and storing data in the cloud with remote settings.
Chapter 12, NavMesh, Timeline, and a Mock Test, introduces a new enemy that attempts to escape the player with the use of AI and looks at animating a boss into the scene with the use of Unity's animation tool, Timeline, and extending its functionality to animate flashing lights. There's another mock test at the end of the chapter to see how well things are going.
Chapter 13, Effects, Testing, Performance, and Alt Controls, discusses making use of colliders, rigidbody properties, visual effect post-processing, global lighting, and reflection probes. This chapter also looks at further gameplay functionality to support mobile controls, as well as building and testing the game on PC and mobile.
Chapter 14, Full Unity Programmer Mock Exam, includes over 90 questions to answer and to test you on what you've learned from all 13 chapters. The answers can be found in the appendix.
To get the most out of this book
Some familiarity with Unity would be helpful but is not essential. A basic understanding of C# or any other object-oriented programming knowledge is required. At the time of writing this book, the Unity exam is based on Unity version 2020 LTS. We'll go through the procedure of downloading and installing the software in Chapter 1, Setting Up and Structuring Our Project. If, for any reason, you are using a later version of Unity, that shouldn't matter unless the book mentions where things may differ between versions.
System requirements
The following table is a list of requirements for Unity to run on your system. For any further information about system requirements, check the following link: https://docs.unity3d.com/Manual/system-requirements.html.
Download the example code files
You can download the example code files for this book from GitHub at https://github.com/PacktPublishing/Unity-Certified-Programmer-Exam-Guide-Second-Edition. If there's an update to the code, it will be updated in the GitHub repository.
We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Code in Action
The Code in Action videos for this book can be viewed at https://bit.ly/3LslyB0.
Download the color images
We also provide a PDF file that has color images of the screenshots and diagrams used in this book. You can download it here: https://static.packt-cdn.com/downloads/9781803246215_ColorImages.pdf.
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in the text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "A Unity package is a single file that contains various assets that can be used in Unity in a similar manner to a .zip file."
A block of code is set as follows:
void Start()
{
this.transform.localPosition = Vector3.zero; startPos = transform.position;
Distance();
}
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: "With our GameManager game object selected from the Hierarchy window, go to the Inspector window."
Tips or Important Notes
Appear like this.
Get in touch
Feedback from our readers is always welcome.
General feedback: If you have questions about any aspect of this book, email us at customercare@packtpub.com and mention the book title in the subject of your message.
Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you have found a mistake in this book, we would be grateful if you would report this to us. Please visit...
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: ePUB
Copy protection: without DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reader that can handle the file format ePUB, such as Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., 'flowing' text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook does not use copy protection or Digital Rights Management
For more information, see our eBook Help page.