Method NavigateTo
NavigateTo(SequenceContext)
Navigates to a new SequenceContext.
선언
public void NavigateTo(SequenceContext context)
파라미터
타입 | 이름 | 설명 |
---|---|---|
SequenceContext | context | The context to navigate to. |
참고
The SequenceContext provided must be a valid navigation destination.
Valid navigation destinations:
- The parent context returned by GetParentContext().
- The root context returned by GetRootContext().
- Any SequenceContext returned by GetChildContexts().
- Any SequenceContext returned by GetBreadcrumbs().
Note: This method cannot be used to change the root SequenceContext. To change the root SequenceContext, use SetTimeline(TimelineAsset).
예외
타입 | 조건 |
---|---|
InvalidOperationException | The Window associated to this instance has been destroyed. |
ArgumentException | The context is not valid. |
InvalidOperationException | The context is not a valid navigation destination. |