Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Deleting TimelineClip at runtime

Discussion in 'Timeline' started by redocx, Sep 29, 2017.

  1. redocx

    redocx

    Joined:
    Dec 13, 2012
    Posts:
    23
    Hi,
    I created a TimelineClip by using TrackAsset.CreateDefaultClip at runtime, now I need to delete it at runtime, what should I do?
    Thanks.
     
  2. redocx

    redocx

    Joined:
    Dec 13, 2012
    Posts:
    23
    after some more experimenting I managed to figure this out myself by using TrackAsset.timelineAsset.DeleteClip