Search Unity

Timline isScrubbing/isPlaying functionality?

Discussion in 'Timeline' started by Spabbage, Oct 26, 2017.

  1. Spabbage

    Spabbage

    Joined:
    Feb 15, 2015
    Posts:
    18
    I'm writing an editor window that responds to a timeline playing.

    Is there a callback or function that can be called on a PlayableDirector to get this information.

    Currently I check the runtime from one frame to the next and if different I flag that the timeline is playing. The problem with this is I then can't tell the difference between scrubbing and playing.

    Thanks in advance