Reader small image

You're reading from  Unity Certified Programmer Exam Guide - Second Edition

Product typeBook
Published inMay 2022
Reading LevelIntermediate
PublisherPackt
ISBN-139781803246215
Edition2nd Edition
Languages
Right arrow
Author (1)
Philip Walker
Philip Walker
author image
Philip Walker

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.
Read more about Philip Walker

Right arrow

Building and testing our game

We have reached the point where we can build and run our game instead of just testing our game's scenes in the Unity Editor. This section will be about not only building the game, as we did earlier for the Android version of the game, but also to see whether we have any bugs with our final build. We will also look for any potential issues along the way by using performance spikes in the profiler.

Let's start building our game and see how well it runs before we do any tests.

To build our game for a PC, we need to do the following:

  1. At the top of the Unity Editor, go to File | Build Settings...
  2. Make sure all the scenes are in the Scenes In Build list and in the correct order.
  3. Platform should be set to PC, Mac & Linux Standalone. If not, select it and select the Switch Platform button.

Next, we need to add the aspect ratios that this game is intended for in the Player Settings... window:

  1. Select the Player...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Unity Certified Programmer Exam Guide - Second Edition
Published in: May 2022Publisher: PacktISBN-13: 9781803246215

Author (1)

author image
Philip Walker

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.
Read more about Philip Walker