Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Question about "Pausing" Timeline

Discussion in 'Timeline' started by slgremory, Oct 31, 2020.

  1. slgremory

    slgremory

    Joined:
    Jan 5, 2019
    Posts:
    5
    Howdy, I've been searching through some other answers here and have found many, but they are all pre-2018 and I was hoping there was a more modern solution to this.

    I want my director to advance via Dialogue, exactly as described in this thread:
    https://forum.unity.com/threads/pausing-timeline-playback.473652/

    The solution from a few years ago was to use
    playableDirector.playableGraph.GetRootPlayable(0).SetSpeed(0)
    and set speed back to 1 when done with the dialogue.

    It was mentioned that they were looking for a more elegant solution to this, has one been implemented since? Or is this still the standard for this solution? Thanks!
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    That is still the preferred way to pause a timeline while keeping it evaluating.