Method SetTimeline
SetTimeline(TimelineAsset)
Sets which TimelineAsset is shown in the TimelineWindow.
Declaration
public abstract void SetTimeline(TimelineAsset sequence)
Parameters
Type | Name | Description |
---|---|---|
TimelineAsset | sequence | The TimelineAsset to show. Specify a null to clear the TimelineWindow. |
Remarks
When you call this method, the TimelineWindow is placed in asset edit mode. This mode does not support all features. For example, bindings are not available and the timeline cannot be evaluated. You can use this method when the TimelineWindow is locked.
SetTimeline(PlayableDirector)
Sets which TimelineAsset is shown in the TimelineWindow based on the PlayableDirector.
Declaration
public abstract void SetTimeline(PlayableDirector director)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | The PlayableDirector associated with the TimelineAsset to show in the TimelineWindow. Specify a null to clear the TimelineWindow. |
Remarks
You can use this method when the TimelineWindow is locked.