Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Unity Certified Programmer Exam Guide
  • Toc
  • feedback
Unity Certified Programmer Exam Guide

Unity Certified Programmer Exam Guide

By : Walker
3.6 (12)
close
Unity Certified Programmer Exam Guide

Unity Certified Programmer Exam Guide

3.6 (12)
By: Walker

Overview of this book

Unity 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.
Table of Contents (17 chapters)
close
14
Chapter 14: Full Unity Programmer Mock Exam

Applying and modifying our shop script

Let's briefly recall the purpose of the ShopPiece script. Each button in the selection grid will be given information from a scriptable object that will customize the button's name, description, value, and image. Because the buttons have changed from being 3D assets to 2D ones, we need to alter and add some more code to make this work.

To modify ShopPiece so that it's compatible with our new 2D button, do the following:

  1. In the Project window in the Unity Editor, navigate to the Assets/Script folder.
  2. Double-click the ShopPiece script to open the file.

The first line of code will allow our new code support to grab references from the Text component on the 00 game object.

  1. Enter the following piece of code at the top of the ShopPiece script:
    using UnityEngine.UI;

The second modification to make will be to replace the content of the Awake function. The original code accessed SpriteRenderer, which was...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete