Search Unity

Active a Timeline after trigger enter

Discussion in 'Timeline' started by ErumesRex, Apr 1, 2019.

  1. ErumesRex

    ErumesRex

    Joined:
    Dec 26, 2018
    Posts:
    2
    What I need to let start my timeline (of a moving trap object) not after i click play, but instead when i came over a trigger enter?
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Turn off the playOnAwake flag on your PlayableDirector, then you can manually trigger playback using PlayableDirector.Play().