Class TimelineNavigator
Interface to navigate through Timelines and SubTimelines for the Timeline window.
Inherited Members
Namespace: UnityEditor.Timeline
Assembly: solution.dll
Syntax
public sealed class TimelineNavigator
Remarks
TimelineNavigator gives you access to the Timeline window breadcrumbs functionality. Use it to programmatically dig into SubTimelines, navigate to parent Timelines or navigate Timeline Window breadcrumbs.
Methods
Name | Description |
---|---|
GetBreadcrumbs() | Gets the collection of SequenceContexts associated with the breadcrumbs shown in the TimelineEditorWindow. |
GetChildContexts() | Gets the collection of child contexts that can be navigated to from the current context. |
GetCurrentContext() | Gets the SequenceContext associated with the Timeline currently shown in the Timeline window. |
GetParentContext() | Gets the parent SequenceContext for the Timeline currently shown in the Timeline window. |
GetRootContext() | Gets the first SequenceContext in the breadcrumbs. |
NavigateTo(SequenceContext) | Navigates to a new SequenceContext. |