Game Development Reference
In-Depth Information
The sample rate (frames per second)
The sample rate sets the number of frames per second that are available in the timeline. It
controls the number of key frame points possible between time intervals.
Animation properties
Animation properties list all the different Inspector properties that are being controlled by
this animation clip. If a property is touched in the editor while the record mode is active, it
will create a new property in the animator or alter the existing property at the current time.
Note
Currently, the animations have one limitation. If a property is part of a construct such as
vector3 and even if you only change one part of that construct, say the X value, it will
set the other parts to their default values.
Animating the x axis on a position property, for instance to 0.1, at a specified time will
also set the Y and Z values to 0; this overrides any script, changing those values. Keep
this in mind while animating similar properties.
While in the record mode, any change in the editor will be captured. This includes any
child game object properties that you change. This becomes very useful if your animated
objects comprise multiple sprites in the child game objects.
Timeline
The timeline window shows all the key frames being animated over the lifetime of the an-
imation. Setting the sample rate higher and lower will control how many key points/
frames will be available between time units.
You can also use the following keyboard shortcuts to navigate between the frames on the
timeline:
• Press comma ( , ) to go to the previous frame
• Press period ( . ) to go to the next frame
• Press Alt + Comma ( , ) to go to the previous key frame
• Press Alt + Period ( . ) to go to the next key frame
Search WWH ::




Custom Search