{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class UndoExtensions | Timeline | 1.5.0-preview.5
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class UndoExtensions

    Use this class to record the state of a timeline or its components prior to modification.

    Inheritance
    object
    UndoExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEditor.Timeline
    Assembly: solution.dll
    Syntax
    public static class UndoExtensions
    Remarks

    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.

    Methods

    Name Description
    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.

    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)