Version: 2019.2
Audio clip properties
Control clip Playable Asset properties

Control clip common properties

Use the Inspector window to change the common properties of a Control clip. You can only create a Control clip in a Control track. A Control clip is a special clip that controls a nested Timeline instance, Particle System, Prefab instance, or ITimeControl Script, depending on how you create the Control clip:

  • If you create the Control clip from a GameObject with a Playable Director component associated with a Timeline Asset, then the Control clip controls a nested Timeline instance. If the GameObject parents other GameObjects associated with many Timeline Assets, then the Control clip controls multiple Timeline instances.

  • If you create the Control clip from a GameObject with a Particle System component, then the Control clip controls a Particle System.

  • If you create the Control clip from a GameObject linked to a Prefab, then the Control clip controls a Prefab instance.

  • If you create the Control clip from a GameObject with a script that implements the ITimeControl interface, then the Control clip controls an ITimeControl Script.

The common properties of a Control clip include its name and Clip Timing properties. Not all common properties apply to all types of Control clips.

Inspector window when selecting a Control clip in the Timeline window
Inspector window when selecting a Control clip in the Timeline window

显示名称

The name of the Control clip shown in the Timeline window.

Clip Timing 属性

Use the Clip Timing properties to position and change the duration of the Control clip.

Most timing properties are expressed in both seconds (s) and frames (f). When specifying seconds, a Clip Timing property accepts decimal values. When specifying frames, a property only accepts integer values. For example, if you attempt to enter 12.5 in a frames (f) field, the Inspector window sets the value to 12 frames.

Depending on the selected Clip Edit mode, changing the Start, End or Duration of a Control clip may create an insert or replace clips on the same track. You cannot create a blend between Control clips.

属性: 描述:
Start The frame or time (in seconds) when the Control clip starts. Changing the Start changes the position of the Control clip on its track in the Timeline Asset.
Changing the Start also affects the End. Changing the Start sets the End to the new Start value plus the Duration.
End The frame or time (in seconds) when the Control clip ends.
Changing the End also affects the Start. Changing the End sets the Start to the new End value minus the Duration.
Duration The duration of the clip in frames or seconds.
Changing the Duration also affects the End. Changing the Duration sets the End to the Start value plus the new Duration.
Clip In Sets the offset of when the Control clip starts playing. The Clip In property only affects Particle Systems and nested Timeline instances.
Speed Multiplier A speed multiplier that affects the playback speed of the Control clip. This value must be greater than 0. The Speed Multiplier property only affects Particle Systems and nested Timeline instances.

  • 2019–08–20 页面已发布

  • New feature in Unity 2018.2 NewIn20182

Audio clip properties
Control clip Playable Asset properties
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961