{!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 UndoCommand | App UI | 0.5.5
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class UndoCommand

    Base class for undoable commands.

    Inheritance
    object
    UndoCommand
    MacroCommand
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.AppUI.Undo
    Assembly: solution.dll
    Syntax
    public abstract class UndoCommand

    Constructors

    Name Description
    UndoCommand(string)

    Creates a new undo command.

    Properties

    Name Description
    id

    The unique identifier of the command type.

    isObsolete

    Whether the command is obsolete.

    memorySize

    The memory size of the command.

    name

    The name of the command.

    Methods

    Name Description
    MergeWith(UndoCommand)

    Merges the command with another command.

    OnFlush()

    Called when the command is flushed.

    Redo()

    Redoes the command.

    Undo()

    Undoes the command.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)