In the Project view, it’s possible to Right Click > Create > Timeline, which adds a new Timeline to the project. In code, I can create an Instance of a TimelineAsset and assign it to the PlayableDirector, but something I can’t do is save said TimelineAsset, as you would if you created a Timeline in the Scene View. Is there a way to save one of these TimelineAssets as you would a prefab?
Looks like you can do it with the AssetDatabase.CreateAsset method.
2 Likes