Search Unity

Set "owner" of a timelineTrack

Discussion in 'Timeline' started by HugMat, Aug 9, 2017.

  1. HugMat

    HugMat

    Joined:
    Mar 30, 2017
    Posts:
    16
    I'm looking to set the "owner" of a Timeline Track (I mean the object the track is applying on) via script, but I haven't found any method to do so...
    Is there a way ?

    Thanks !
     
  2. julienb

    julienb

    Unity Technologies

    Joined:
    Sep 9, 2016
    Posts:
    177
    SetGenericBinding is what you need. Key is the track and Value is the object that you want to bind to that track.