Search Unity

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
     
    meng_meng and thierry_unity like this.