Class UndoExtensions
Provides methods that record the state of a timeline, and its components, prior to modification.
Inherited Members
Namespace: UnityEditor.Timeline
Assembly: solution.dll
Syntax
public static class UndoExtensions
Remarks
The methods in this class are not required when adding or deleting tracks, clips, or markers. Use methods in the UnityEngine.Timeline namespace, such as CreateTrack(Type, TrackAsset, string) or CreateDefaultClip(), to apply the appropriate Undo calls when using the Editor.
Methods
Name | Description |
---|---|
RegisterClip(TimelineClip, string, bool) | Records changes to a clip. |
RegisterClips(IEnumerable<TimelineClip>, string, bool) | Records changes to clips. |
RegisterCompleteTimeline(TimelineAsset, string) | Records all timeline changes including changes to tracks, clips, and markers. |
RegisterContext(ActionContext, string) | Records changes to all items contained in an action context. |
RegisterMarker(IMarker, string) | Records changes to a timeline marker. |
RegisterMarkers(IEnumerable<IMarker>, string) | Records changes to timeline markers. |
RegisterPlayableAsset(PlayableAsset, string) | Records changes to a PlayableAsset. |
RegisterTimeline(TimelineAsset, string) | Records changes to timeline asset properties. This method does not record changes to tracks or clips. |
RegisterTrack(TrackAsset, string) | Records changes to tracks and clips but not to markers nor PlayableAssets attached to clips. |
RegisterTracks(IEnumerable<TrackAsset>, string) | Records changes to tracks. This includes changes to clips on these tracks, but not changes to markers nor PlayableAssets attached to clips. |