Version: 2018.3 (switch to 2019.1 )
Easing-in and Easing-out clips
Matching clip offsets
Other Versions

Blending clips

Blend two clips on the same track to create a smooth transition between two Animation clipsAnimation data that can be used for animated characters or simple animations. It is a simple “unit” piece of motion, such as (one specific instance of) “Idle”, “Walk” or “Run”. More info
See in Glossary
, two Audio clipsA container for audio data in Unity. Unity supports mono, stereo and multichannel audio assets (up to eight channels). Unity can import .aif, .wav, .mp3, and .ogg audio file format, and .xm, .mod, .it, and .s3m tracker module formats. More info
See in Glossary
, or two Playable clips. To blend two clips, position or trim one clip until it overlaps the other clip.

In a blend, the first clip is referred to as the out-going clip and the second clip is referred to as the incoming clip. The area where the out-going clip transitions to the incoming clip is referred to as the blend area. The blend area sets the duration of the transition.

The blend area shows the transition between the out-going clip and incoming clip
The blend area shows the transition between the out-going clip and incoming clip

Although the Clips viewThe area in the Timeline Editor window where you add, position, and manipulate clips. More info
See in Glossary
represents a blend area as a single linear curve, the transition between clips is actually comprised of two blend curves. The blend curve for the out-going clip is referred to as the Blend Out curve. The blend curve for the incoming clip is referred to as the Blend In curve. By default, each blend curve is automatically set to an ease-in and ease-out curve.

Use Blend Curves to customize the blend area
Use Blend Curves to customize the blend area

Use the Blend Curves in the InspectorA Unity window that displays information about the currently selected GameObject, Asset or Project Settings, alowing you to inspect and edit the values. More info
See in Glossary
window to change the shape for either the Blend In or Blend Out curve of the selected clip. However, the Inspector window only allows for editing the properties of one clip at a time. It is not possible to simultaneously customize both blend curves from the same blend area.

To customize the Blend Curves for the transition between two clips, do the following:

  1. Select the out-going clip to customize its Blend Out curve (labelled Out).

  2. Select the in-coming clip to customize its Blend In curve (labelled In).

To customize either the Blend Out curve or Blend In curve, use the drop-down menu to switch from Auto to Manual. With Manual selected, the Inspector window shows a preview of the blend curve. Click the preview to open the Curve Editor below the Inspector window.

Select Manual and click the preview to open the Curve Editor
Select Manual and click the preview to open the Curve Editor

Use the Curve Editor to customize the shape of the blend curve. By default, the blend curve includes a key at the beginning of the curve and a key at the end of the curve. The Curve Editor provides the following different methods of modifying the blend curve:

  • Select the key at the start of the blend curve and use the tangent handles to adjust the interpolationThe estimation of values that determine the shape of an animation curve between two keys. More info
    See in Glossary
    between keys.

  • Select the key at the end of the blend curve and use the tangent handles to adjust the interpolation between keys.

  • Add additional keys to change the shape of the blend curve by adding more interpolation points. Adding keys in the Curve Editor is the same as adding keys in the Curves view.

  • Right-click a key to delete or edit the key. Editing keys in the Curve Editor is the same as editing keys in the Curves view. Note that the first and last keys cannot be deleted.

  • Select a shape template from the bottom of the Curve Editor.

The Curve Editor also includes shape templates based on whether you are modifying the Blend In curve or the Blend Out curve. Select a shape template to change the blend curve to the selected shape template.


对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答