Search Unity

Disable Events when Timeline is not playing

Discussion in 'Timeline' started by MikeChr, Oct 2, 2018.

  1. MikeChr

    MikeChr

    Joined:
    Feb 2, 2018
    Posts:
    43
    Is there some suggested method of disabling event processing (calling methods on target game object) when the timeline is not playing. I'm having problems with the TL generating events out of order when scrubbing backwards and other types of cursor positioning.
     
  2. angusmf

    angusmf

    Joined:
    Jan 19, 2015
    Posts:
    261
    I tried something like checking in the event processing for flags like Application.isPlaying. That kinda works, but there are probably more appropriate things to check for.