Search Unity

Splice Timeline Script

Discussion in 'Timeline' started by dukerustfield, Aug 11, 2020.

  1. dukerustfield

    dukerustfield

    Joined:
    Dec 5, 2019
    Posts:
    33
    Hi, I want to be able to Select the Timeline or input a duration (38s - 122s) and copy all the track groups/tracks/elements within that duration, and copy them to a new timeline.

    It would be for testing/recording. If you want to record from minute 8, the recorder skims ahead very slowly. I know I can do this via script, but I want to save myself some time if there isn't something already that does this.

    Thanks.
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    There isn't something off the top of my head to copy a region, but you can use the initial time property on the playable director to have the timeline start close to the recording time.
     
    dukerustfield likes this.
  3. dukerustfield

    dukerustfield

    Joined:
    Dec 5, 2019
    Posts:
    33
    Oh, no. That's so lazy I'll have to do it. And then I won't bother to come up with anything better because I'm too lazy. Thanks!