- Home /
How to get binding object of current track of Timeline
I have same type of several tracks in timeline. I must get binding object of each tracks. But I cannot get it. First, I made tracks dynamically in editor script and aligned target object by PlayableDirector.SetGenericBinding() method. But after that, I can't get target object of track from script. How do you think about it?
Comment
Answer by seant_unity · May 05, 2020 at 12:09 PM
PlayableDirector.GetGenericBinding(track); You need to cast the result to the correct type of the binding.
Your answer