Game Development Reference
In-Depth Information
Project Structure
Because no job is done until the paperwork is finished, you ought to have a basic understanding of
how Unity projects are organized before you jump in and start creating a game. For the most part,
everything you create will reside in the Assets folder. It is up to you to keep things organized as you
develop your game. And as a gentle reminder, avoid re-arranging the contents of the project view
outside of the Unity editor.
File Structure
Let's create another new project. This will give you a chance to see how Unity manages the folders
that you create or import into your project. The file structure in Unity's Project view is drawn directly
from the Windows Explorer (or the Mac's Finder). To be able to see the correlation, you will add some
common packages at the same time as you create the project.
1.
From the File menu, select New Project.
2.
Under Project Location, Browse to a location of your choice and create a
folder for your project.
3.
Name the project/folder UnityTest , and choose Select Folder.
4.
Under “Import the Following,” select:
CharacterController.unityPackage
Scripts.unityPackage
TerrainAsssets.unityPackage
5.
Click the Create button.
6.
At the dialog that asks if you want to save changes in the AngryBots scene,
select Don't Save.
Unity re-opens, using the layout from the previous session. A new, untitled scene is loaded.
7.
Expand the Standard Assets in the Project view.
You will see folders for the three Unity packages you imported when the project was created
(Figure 1-49 ).
Figure 1-49. The folders containing the imported assets in the Project view
 
Search WWH ::




Custom Search