Method SetTimeline
SetTimeline(TimelineAsset)
Allows setting which TimelineAsset is shown in the TimelineWindow.
Declaration
public abstract void SetTimeline(TimelineAsset sequence)
Parameters
Type | Name | Description |
---|---|---|
TimelineAsset | sequence | The asset to show. |
Remarks
Calling this method will put the window in asset edit mode and certain features might be missing (eg: timeline cannot be evaluated, bindings will not be available, etc). Ignores window lock mode. Calling with null, will clear the displayed timeline.
SetTimeline(PlayableDirector)
Allows setting which TimelineAsset is shown in the TimelineWindow and which PlayableDirector is used to evaluate it.
Declaration
public abstract void SetTimeline(PlayableDirector director)
Parameters
Type | Name | Description |
---|---|---|
PlayableDirector | director | The PlayableDirector who's timeline should be shown. |
Remarks
Ignores window lock mode. Calling with null, will clear the displayed timeline.