Version: 2019.2
Control clip Playable Asset properties
时间轴术语表

Playable Director 组件

Playable Director 组件存储时间轴实例和时间轴资源之间的链接。Playable Director 组件控制时间轴实例的播放时间、时间轴实例更新其时钟的方式以及在时间轴实例完成播放后发生的操作。

Playable Director component added to the GameObject named Ground. The GameObject is associated with the GroundCTL Timeline Asset.
Playable Director component added to the GameObject named Ground. The GameObject is associated with the GroundCTL Timeline Asset.

The Playable Director component also shows the list of tracks from the associated Timeline Asset (Playable property) that animate GameObjects in the Scene. The link between Timeline Asset tracks and GameObjects in the Scene is referred to as binding or Track binding. For more on binding and the relationship between Timeline Assets and Timeline instances, see Timeline Overview.

属性 描述
Playable Associates a Timeline Asset with a GameObject in the Scene.
When you make this association, you create a Timeline instance for the selected Timeline Asset. After you create a Timeline instance, you can use the other properties in the Playable Director component to control the instance and choose which GameObjects in the Scene are animated by the Timeline Asset.
Update Method Sets the clock source that the Timeline instance uses to update its timing.
DSP Select for sample accurate audio scheduling. When selected, the Timeline instance uses the same clock source that processes audio. DSP stands for digital signal processing.
Game Time Select to use the same clock source as the game clock. This clock source is affected by time scaling.
Unscaled Game Time Select to use the same clock source as the game clock, but without being affected by time scaling.
Manual Select to not use a clock source and to manually set the clock time through scripting.
Play on Awake Whether the Timeline instance is played when game play is initiated. By default, a Timeline instance is set to begin as soon as the Scene begins playback. To disable the default behaviour, disable the Play on Awake option in the Playable Director component.
Wrap Mode The behaviour when the Timeline instance ends playback.
Hold Plays the Timeline instance once and holds on the last frame until playback is interrupted.
Loop Plays the Timeline instance repeatedly until playback is interrupted.
Plays the Timeline instance once.
Initial Time The time (in seconds) at which the Timeline instance begins playing. The Initial Time adds a delay in seconds before the Timeline instance actually begins. For example, when Play On Awake is enabled and Initial Time is set to five seconds, if you click the Play button in the Unity Toolbar, Play Mode starts and the Timeline instance begins five seconds later.
Current Time Views the progression of time according to the Timeline instance in the Timeline window. The Current Time field matches the Playhead Location field.
Use the Current Time field when the Timeline window is hidden. The Current Time field appears in the Playable Director Component when in Timeline Playback mode or when Unity is in Game Mode.
Bindings Shows the link between GameObjects in the Scene with tracks from the associated Timeline Asset (Playable property). The Bindings area is split into two columns:
The first column lists the tracks from the Timeline Asset. Each track is identified by an icon and its track type.
The second column lists the GameObject linked (or bound) to each track.
The Bindings area does not list Track groups, Track sub-groups, or tracks that do not animate GameObjects. The Timeline window shows the same bindings in the Track list.

  • 2019–08–20 页面已发布
Control clip Playable Asset properties
时间轴术语表
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961