官术网_书友最值得收藏!

  • Unity 5.x By Example
  • Alan Thorn
  • 427字
  • 2021-07-16 12:36:47

Projects and project folders

Unity has now created a blank, new, and empty project. This represents the starting point for any game development project and is the place where development begins. The newly created project contains nothing initially: no meshes, textures, or any other Assets. You can confirm this by simply checking the Project panel area at the bottom of the editor interface. This panel displays the complete contents of the project folder, which corresponds to an actual folder on your local drive created earlier by the project wizard. This folder should be empty. See Figure 1.5. This panel will later be populated with more items, all of which we can use to build a game.

Figure 1.5: The Unity project panel docked at the bottom of the interface

Note

If your interface looks radically different from Figure 1.5, in terms of its layout and arrangement, then you can reset the UI layout to its defaults. To do this, click on the Layout drop-down menu from the top-right corner of the editor interface, and choose Default. See Figure 1.6.

Figure 1.6: Switching to the default interface layout

You can view the contents of your project folder directly via either Windows Explorer or Mac Finder, by right-clicking the mouse in the Project panel from the Unity Editor to reveal a context menu, and from there, choose the Show in Explorer (Windows) or Reveal in Finder (Mac) option. See Figure 1.7:

Figure 1.7: Displaying the project folder via the Project panel

Clicking on Show in Explorer displays the folder contents in the default system file browser. See Figure 1.8. This view is useful to inspect files, count them, or back them up. However, don't change the folder contents manually this way via Explorer or Finder. Specifically, don't move, rename, or delete files from here, because doing so can corrupt your Unity project irretrievably. Instead, delete and move files where needed within the Project panel in the Unity Editor. This way, Unity updates its metadata as appropriate, ensuring that your project continues to work properly.

Figure 1.8: Viewing the Project panel from the OS file browser

Note

Viewing the project folder in the OS file browser will display additional files and folders not visible in the Project panel, such as Library and ProjectSettings, and maybe a Temp folder. Together, these are known as the project metadata. This is not directly a part of your project per se, but contains additional settings and preferences that Unity needs to work properly. These folders and their files should not be edited or changed.

主站蜘蛛池模板: 龙门县| 石河子市| 特克斯县| 延安市| 赣榆县| 肥东县| 仪陇县| 城固县| 阿克| 武川县| 昆山市| 永新县| 渑池县| 博爱县| 丰城市| 丰城市| 乌拉特后旗| 颍上县| 昭苏县| 吐鲁番市| 蒙城县| 岳西县| 东台市| 通州区| 泾源县| 潼南县| 兴城市| 会泽县| 淮阳县| 察雅县| 襄城县| 镇雄县| 安吉县| 福泉市| 牡丹江市| 调兵山市| 神农架林区| 霍州市| 汝城县| 建昌县| 日照市|