Timeline Parameters?

We’re trying to use Timelines in a more dynamic way than is supported by retargeting just the outputs. ControlTracks, for instance have a ParentObject parameter that I can’t figure out how to set from script.

Would it make sense to add something like the Parameters from Mecanim state machines to Timelines so the clips can use GenericBindings to refer to arbitrarily named input parameters? That’d be awesome.

Here’s an example of how to do set the parent object. Any scene references in a timeline asset, are stored inside the playableDirector in the scene.

    public void SetControlTrackParent(PlayableDirector director, TimelineClip clip, GameObject go)
    {
        var controlTrackAsset = clip.asset as ControlPlayableAsset;
        if (controlTrackAsset != null)
        {
            var propertyID = controlTrackAsset.sourceGameObject.exposedName;
            director.SetReferenceValue(propertyID, go);
        }
    }