Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Is there a way to start a cinemachine track in the timeline later by script ?

Discussion in 'Timeline' started by dubiduboni_unity, Apr 15, 2019.

  1. dubiduboni_unity

    dubiduboni_unity

    Joined:
    Feb 11, 2019
    Posts:
    72


    When the game start also the timeline start and it's running the cinemachine track.
    But I want to start the cinemachine track by script in some other point in the game and not when the game is start.

    I could turn off/on the timeline it self but this is not a good solution since later I might want to use more cinemachine tracks.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,298
    You should put the CM track in a separate timeline and activate that when needed.
     
    dubiduboni_unity likes this.
  3. dubiduboni_unity

    dubiduboni_unity

    Joined:
    Feb 11, 2019
    Posts:
    72
    Good idea. To have multiple timelines and then turn them on/off when needed. Thanks.