Class UndoExtensions
Use this class to record the state of a timeline or its components prior to modification.
상속된 멤버
네임스페이스: UnityEditor.Timeline
어셈블리: solution.dll
구문
public static class UndoExtensions
참고
These methods do not need to be used when adding or deleting tracks, clips or markers. Methods in the UnityEngine.Timeline namespace, such as CreateTrack(Type, TrackAsset, string) or CreateDefaultClip() will apply the appropriate Undo calls when called in Editor.
메서드
이름 | 설명 |
---|---|
RegisterClip(TimelineClip, string, bool) | Records any changes done on the clip after being called. |
RegisterClips(IEnumerable<TimelineClip>, string, bool) | Records any changes done on the clips after being called. |
RegisterCompleteTimeline(TimelineAsset, string) | Records any changes done on the timeline after being called, including any changes to any clips, tracks and markers that occur on the timeline. |
RegisterContext(ActionContext, string) | Records all items contained in an action context. Use this method to record all objects inside the context. |
RegisterMarker(IMarker, string) | Records any changes done on the Timeline Marker after being called. |
RegisterMarkers(IEnumerable<IMarker>, string) | Records any changes done on the Timeline Markers after being called. |
RegisterPlayableAsset(PlayableAsset, string) | Records any changes done on the PlayableAsset after being called. |
RegisterTimeline(TimelineAsset, string) | Records any changes done on the timeline after being called. This only applies to the timeline asset properties itself, and not any of the tracks or clips on the timeline |
RegisterTrack(TrackAsset, string) | Records any changes done on the track after being called, including any changes to clips on the track, but not on markers or PlayableAssets attached to the clips. |
RegisterTracks(IEnumerable<TrackAsset>, string) | Records any changes done on the tracks after being called, including any changes to clips on the tracks, but not on markers or PlayableAssets attached to the clips. |