Unity Timeline pause and resume
Posted: Thu Mar 14, 2019 9:38 am
Hello!
I've got a question concerning the dialog system and Unity timeline. I'm trying to create a cutscene, using a single timeline payable, that should be started, paused and resumed during the conversation. The conversation starts beforehand and then uses the Timeline() command to play the timeline. I'm also using the Play Sequence Track and the Continue Conversation Track. But there seems to be a problem with the latter one. If I try to continue the conversation with a clip, the entire timeline seems to be stopped completely. This also happens when I use the Continue() command in a Play Sequence Clip.
I also tried to pause the timeline by using a Play Sequence clip and the Timeline(pause, Timeline) command, which at first seems to work, but a couple of seconds later, the timeline resets back to the start.
This problem only occurs when I start the timeline with the TImeline()command. If I set "Play On Awake" to true in the Playable Director, then I can use continue clips and pause the timeline without a problem. But as soon I use the Timeline() command (even if the timeline is played on awake), the same problems as before return.
Thank you in advance for your help!
I've got a question concerning the dialog system and Unity timeline. I'm trying to create a cutscene, using a single timeline payable, that should be started, paused and resumed during the conversation. The conversation starts beforehand and then uses the Timeline() command to play the timeline. I'm also using the Play Sequence Track and the Continue Conversation Track. But there seems to be a problem with the latter one. If I try to continue the conversation with a clip, the entire timeline seems to be stopped completely. This also happens when I use the Continue() command in a Play Sequence Clip.
I also tried to pause the timeline by using a Play Sequence clip and the Timeline(pause, Timeline) command, which at first seems to work, but a couple of seconds later, the timeline resets back to the start.
This problem only occurs when I start the timeline with the TImeline()command. If I set "Play On Awake" to true in the Playable Director, then I can use continue clips and pause the timeline without a problem. But as soon I use the Timeline() command (even if the timeline is played on awake), the same problems as before return.
Thank you in advance for your help!