- Mastering Unity 2D Game Development(Second Edition)
- Ashley Godbold Simon Jackson
- 337字
- 2021-07-08 11:05:18
Creating the project
Before you can start building the game in Unity, you need to start a new project. Select New at the top of Unity's Home Screen. When creating a 2D game, you want to ensure that you start the project in 2D mode by selecting the appropriate mode in the Unity's home screen, as shown in the following screenshot:

Unity's home screen
Note
Remember, if you accidentally set the mode to 3D, you can change this at any time for your project through Editor Settings, as discussed in the previous chapter.
After selecting Create project, you'll be brought to the Editor Window, as shown in the following screenshot:

Unity's Editor window
It's important to note that when you create a new project in Unity, you are creating a new folder that can be accessed through File Explorer (Windows) or the Finder (Mac OS X) with the following subfolders:

Now that we have created our project, let's create the folder structure for the project, as shown in the following screenshot and discussed previously:

To create a new folder from within Unity, simply select Create | Folder from the project tab in the bottom left corner of the screen:

When creating folders from within Unity, they will be represented within the Assets
folder saved to your computer. Alternatively, if you create the folders from within Window's File Explorer (or Mac's Finder), the folders will appear within Unity. In the following screenshot, you will see how the folder structure is mirrored between Unity's Project window and Window's File Explorer:

Unity's Project windows and Window's File Explorer
As you can see, these folders created from within Unity are showing up in our project folder saved to our computers.
Note
At this point, it's important to note that we will most likely not use all of these folders during the course of this book. Nevertheless, it is a good working practice to get these folders set up for every project just so that you have a standard template.
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- Learning Single:page Web Application Development
- Docker and Kubernetes for Java Developers
- 無代碼編程:用云表搭建企業數字化管理平臺
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- 算法精粹:經典計算機科學問題的Python實現
- Learning ArcGIS Pro
- SharePoint Development with the SharePoint Framework
- Mastering JavaScript Design Patterns(Second Edition)
- Java:High-Performance Apps with Java 9
- SpringBoot從零開始學(視頻教學版)
- INSTANT JQuery Flot Visual Data Analysis
- Node.js實戰:分布式系統中的后端服務開發
- Python面向對象編程(第4版)
- Selenium Essentials