Game Development Reference
In-Depth Information
3.
From the Chapter 6 Assets folder, drag the Character Textures folder into the
Project view or the Assets folder in the Explorer or Finder.
4.
Using either method, bring the Animated Assets folder in next.
5.
Open the Animated Assets folder in the Project view to inspect the new
additions (Figure 6-1 ).
Figure 6-1. The new assets
You will find a garden gnome, a scarecrow, a zombie bunny, a psychedelic slug, some garden gates,
and a couple of dead replacement meshes.
Legacy Animation
Unity offers several different options for animation. For mechanical-type animation where the object
doesn't have an idle animation but is occasionally triggered, like a door opening, Legacy is the
quickest to set up and use. Eventually, Unity may phase this one out, but for now it remains the
animation type of choice for simple, one-off mechanical animations.
1.
Select the GardenGates object in the Animated Assets folder.
2.
In the Inspector, select the Rig section.
3.
For Animation Type, select Legacy and click Apply.
4.
Select the Animations tab.
The default animation from the object, Take 001, is already loaded as an animation clip (Figure 6-2 ).
 
Search WWH ::




Custom Search