Introduction to Unity

This chapter covers the Unity Editor—installing, configuring, navigating its windows, using its toolset, and getting familiar with the project structure. Not all of this material will be immediately relevant to your everyday work in Unity, and you’ll prob

  • PDF / 2,032,614 Bytes
  • 18 Pages / 439.37 x 666.142 pts Page_size
  • 32 Downloads / 178 Views

DOWNLOAD

REPORT


Introduction to Unity This chapter covers the Unity Editor—installing, configuring, navigating its windows, using its toolset, and getting familiar with the project structure. Not all of this material will be immediately relevant to your everyday work in Unity, and you’ll probably have to refer back to this chapter a few times in the future anyway, so don’t try to commit it all to memory on the first go.

Install Unity First thing’s first: head over to https://store.unity.com and download Unity. Because we’re just learning to use Unity, get the Personal version, which is free. For our purposes in this book, the main difference between the free version and the Plus tier is that the free version flashes the “Made with Unity” on the splash screen, while the Plus version allows you to create a custom splash screen. The Plus, Pro, and Enterprise versions get gradually more expensive, but offer interesting benefits such as better analytics and control over your data, multiplayer features, test builds using the Unity Cloud service, and even access to the source code at the Enterprise level. You should remember that these tiers your qualification for each tier is determined by revenue. If you or your game company generate less than $100k/year USD, you qualify to use Unity Personal Edition free of charge. If your company generates less than $200k/year USD, you’re required to use the Unity Plus tier. Finally, if your company generates more than $200k/ year USD you must use Unity Pro. Not a bad deal at all. © Jared Halpern 2019 J. Halpern, Developing 2D Games with Unity, https://doi.org/10.1007/978-1-4842-3772-4_2

13

Chapter 2

Introduction to Unity

While installing Unity, the Unity Download Assistant will prompt you to select which components of the Unity Editor you want to install. Ensure that the following components are checked off: Unity 2018 (or the most recent version), Documentation, Standard Assets, and Example Project. We’ll be building our sample game to run stand-alone on your desktop (PC, Mac, or Linux) in this book. If you’d like, you can also check off boxes to install the components for WebGL, iOS, or Android Build Support to build for those platforms as well.

Configure Unity After installing Unity and running for the first time, you’ll be prompted to sign in to your account (Figure 2-1). Creating and signing into an account isn’t really necessary unless you want to take advantage of some more advanced features such as Cloud Builds and Ads, but there’s no harm in creating an account and signing in anyway. You’ll need an account if you want to use anything from the Unity Asset Store.

Figure 2-1.  Unity sign in screen 14

Chapter 2

Introduction to Unity

Let’s go through Unity’s Projects and Learning screen, as seen in Figure 2-2, and point out a few things. On the upper left, you’ll notice two tabs—Projects and Learn.

Figure 2-2.  Unity Projects and Learning screen Select Projects and let’s go through the options:

On Disk A history of the last six projects you’ve worked on will appear, and can be o