Search Unity

PlayableBehaviour preview in Editor mode [SOLVED]

Discussion in 'Timeline' started by Klamore74, Mar 27, 2018.

  1. Klamore74

    Klamore74

    Joined:
    Jun 17, 2013
    Posts:
    27
    Hi,

    I'm working on a custom track and I trying to preview it in editor mode.

    I have not problem over a "Clip" using ProcessFrame method, but I can't figure out how to process track when timeline is away from clip (before or after).

    I can manage it with "empty" clip, but is far as comfortable.

    Thanks,
    Moreno
     
  2. Klamore74

    Klamore74

    Joined:
    Jun 17, 2013
    Posts:
    27
    I finally figure it out:

    - When the timeline cursor *enter* into a clip for the fist time, the method **OnBehaviourPlay** was called.

    - When the timeline cursor *exit* from a clip, the method **OnBehaviourPause** was called