Unity 3.x Game Development by Example Beginner's Guide
上QQ阅读APP看书,第一时间看更新

Kick up a new Unity project

Let's get to that crucial decision-making stage where we're staring at a wide-open 3D frontier in an empty project file.

  1. Open Unity 3D. The last project you had opened should appear. (This might be the AngryBots Demo from Chapter 1, That's One Fancy Hammer!).
  2. In the menu, click on File | New Project….
  3. Under Project Location, type in or browse to the folder where you want your project created. It's a good idea to create a new folder somewhere on your computer where you'll be able to find it again, and name it something that makes sense. I created a folder on my desktop called Unity Games, and created my new project in an empty folder called Chapter1Game.
  4. Unity gives us the option to import a bunch of useful premade goodies into our new project. Select the Character Controller.unityPackage file checkbox to import it as shown in the following screenshot:
  5. Next, click on the Create button. Unity will briefly close and restart. After importing the assets we selected, the program will open.
  6. Close the Welcome to Unity start screen if it's open. You'll find yourself staring face-to-face with that wide-open 3D plane.

Where did everything go?

If you're staring at nothing but a 3D plane in the Scene view, Unity has pulled a switcheroo on you. To get back to a layout like the one you saw in the AngryBots Demo, choose 2 by 3 from the Layout drop-down at the top-right of the screen. Note that there are other choices here, and that Unity enables you to save and restore your own custom layouts.