Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Copying playable director's exposed reference table to another

Discussion in 'Timeline' started by Solovykh, Nov 9, 2017.

  1. Solovykh

    Solovykh

    Joined:
    Aug 28, 2017
    Posts:
    59
    I'm trying to copy timelines from one director to another director. I've successfully transferred the track bindings. But to transfer the exposed references I was thinking about doing something like this:

    Code (CSharp):
    1. destinationPlayableDirector.playablegraph.SetResolver(sourcePlayableDirector.playablegraph.GetResolver())
    2.  
    But that doesn't seem to work even if I do

    destinationPlayableDirector.Play()
    destinationPlayableDirector.Pause()

    to make the playable graph valid. Any ideas?
     
unityunity