Search Unity

Relocate ControlTracks at runtime with code?

Discussion in 'Timeline' started by Elliott-Mitchell, Nov 5, 2019.

  1. Elliott-Mitchell

    Elliott-Mitchell

    Joined:
    Oct 8, 2015
    Posts:
    88
    Is it possible to move ControlTracks at runtime with code? I have a situation where I'd like to rearrange some ControlTracks in a master timeline at runtime, depending on certain conditions. Any advice?
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Yes - but you need to stop and restart the timeline for the changes to take effect.