Class PlayableTrack
A PlayableTrack is a track whose clips are custom playables.
Inherited Members
Namespace: UnityEngine.Timeline
Syntax
[Serializable]
public class PlayableTrack : TrackAsset, IPropertyPreview, ICurvesOwner, PlayableAsset
Remarks
This is a track that can contain PlayableAssets that are found in the project and do not have their own specified track type.
Methods
OnCreateClip(TimelineClip)
Called when a clip is created on a track.
Declaration
protected override void OnCreateClip(TimelineClip clip)
Parameters
Type | Name | Description |
---|---|---|
TimelineClip | clip | The timeline clip added to this track |
Overrides
Remarks
Use this method to set default values on a timeline clip, or it's PlayableAsset.