{!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} Namespace UnityEditor.Timeline.Actions | Timeline | 1.5.0-preview.5
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Namespace UnityEditor.Timeline.Actions

    Classes

    ActiveInModeAttribute

    Define the activeness of an action depending on its timeline mode.

    ApplyDefaultUndoAttribute

    Use this attribute on action classes (TimelineAction, ClipAction, MarkerAction and TrackAction) to have the default undo behaviour applied.

    By default, applying this attribute will record all objects passed to the Execute method with the Undo system, using the name of Action it is applied to.

    Simple track Action example (with context menu and shortcut support).
    [ApplyDefaultUndo]
    public class SetNameToTypeAction : TrackAction
    {
        public abstract ActionValidity Validate(IEnumerable<TrackAsset> items)
        {
            return ActionValidity.Valid;
        }
    
    public override bool Execute(IEnumerable<TrackAsset> items)
    {
        foreach (var track in items)
            track.name = track.GetType().name;
        return true;
    }
    

    }

    ClipAction

    Base class for a clip action. Inherit from this class to make an action that would react on selected clips after a menu click and/or a key shortcut.

    Invoker

    Class containing methods to invoke actions.

    MarkerAction

    Base class for a marker action. Inherit from this class to make an action that would react on selected markers after a menu click and/or a key shortcut.

    MenuEntryAttribute

    Use this attribute to add a menu item to a context menu. Used to indicate path and priority that are auto added to the menu (examples can be found on https://docs.unity3d.com/ScriptReference/MenuItem.html).

    MenuPriority

    Priorities for menu item ordering. See MenuEntryAttribute.

    MenuPriority.AddItem

    MenuPriority.AddTrackMenu

    Priorities for Add Tracks menu items.

    MenuPriority.ClipActionSection

    Priorities for Clip action menu items.

    MenuPriority.ClipEditActionSection

    Priorities for Clip edition menu items.

    MenuPriority.CustomClipActionSection

    Custom clip action menu item priority.

    MenuPriority.CustomTimelineActionSection

    Priorities for custom Timeline action menu items.

    MenuPriority.CustomTrackActionSection

    Priorities for Custom Track action menu items.

    MenuPriority.MarkerActionSection

    Priorities for Marker action menu items.

    MenuPriority.TimelineActionSection

    Priorities for Timeline Action menu items.

    MenuPriority.TrackActionSection

    Priorities for Track action menu items.

    TimelineAction

    Base class for a timeline action. Inherit from this class to make an action on a timeline after a menu click and/or a key shortcut.

    TimelineShortcutAttribute

    Use this attribute to make an action work with the shortcut system.

    TrackAction

    Base class for a track action. Inherit from this class to make an action that would react on selected tracks after a menu click and/or a key shortcut.

    Structs

    ActionContext

    Action context to be used by actions.

    Enums

    ActionValidity

    Indicates the validity of an action for a given data set.

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