Class ControlTrack
A Track whose clips control time-related elements on a GameObject.
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.Timeline
Assembly: Unity.Timeline.dll
Syntax
[TrackClipType(typeof(ControlPlayableAsset), false)]
[ExcludeFromPreset]
public class ControlTrack : TrackAsset, IPlayableAsset, IPropertyPreview, ISerializationCallbackReceiver
Methods
GatherProperties(PlayableDirector, IPropertyCollector)
Called by the Timeline Editor to gather properties requiring preview.
Declaration
public override void GatherProperties(PlayableDirector director, IPropertyCollector driver)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | The PlayableDirector invoking the preview |
IPropertyCollector | driver | PropertyCollector used to gather previewable properties |