Game Development Reference
In-Depth Information
4.
Import the following packages:
CharacterControllers
Particles
Scripts
5.
Click Create.
You shouldn't need to save the current project, as you saved it before creating your builds.
Because you will be dealing with assets in this chapter, it will be more useful to switch back to the
default layout.
6.
From Layers in the top right of the UI, select Default Layout.
Importing Assets into Your Project
There are a few different ways to bring assets into your project. You can drag them directly
into Unity's Project view, drop them into the project via the Explorer or Finder, or bring them in
individually through the Assets menu's Import New Asset option. When bringing in multiple assets,
you will want to use either of the first two methods.
Whichever method you prefer, you will want to make some organization decisions before you go any
further. The FBX exporter has the option to export materials with the files. When the file contains all
of its textures, they will be grouped in the imported assets folder. This is great for assets such as
characters where the texture will be used only for that character, but for more generic textures, it is
generally easier to manage them if they are all in one place. To this end, you will begin by adding the
texture to your project first. This is always a safer way to make sure the texture can be found when
the mesh is imported and the correct material is generated. If the texture cannot be found on import,
a default material is made. It is easy to add the texture after the fact, but re-importing will mean
rebuilding the material, or if you created a different material, it will require that material to be applied
each time the asset is updated.
Importing Textures
Let's begin by importing the textures the 3D assets will require. You used Import New Asset in the
previous chapter to import a single asset, a script, but when you have multiple assets, it is easier to
load them directly into the project all together.
1.
Locate the Game Textures folder from the Chapter 4 Assets folder where you
unzipped the topic's downloaded assets.
2.
Copy and paste it into your project's Assets folder in the Explorer or Finder.
3.
Return to the Unity editor, and watch as it imports the textures into the
project and processes them.
4.
Open the new Game Textures folder, and inspect its contents with the
thumbnail slider all the way to the right (Figure 4-3 ).
 
Search WWH ::




Custom Search