Access list of clips from script through PlayableDirector

Is there a way to access clips and tracks from a MonoBehaviour that is referencing PlayableDirector?

I want to be able to manipulate the timeline time by searching for clip start times on a track with custom playables on it.

Have you tried this :

foreach (var track in timelineAsset.GetOutputTracks())
        {
            foreach (var clip in track.GetClips())
            {

            }
        }
2 Likes