Files
UmaViewer/Assets/Scripts/Pose/RuntimeGizmo/UndoRedo/UndoRedoManager.cs
T
Katboi01 f928a802d7 Pose mode preparation.
Pose serialization, deserialization (no face)
UI handle system
2023-12-14 01:45:07 +01:00

37 lines
588 B
C#

using System;
namespace CommandUndoRedo
{
public static class UndoRedoManager
{
static UndoRedo undoRedo = new UndoRedo();
public static int maxUndoStored {get {return undoRedo.maxUndoStored;} set {undoRedo.maxUndoStored = value;}}
public static void Clear()
{
undoRedo.Clear();
}
public static void Undo()
{
undoRedo.Undo();
}
public static void Redo()
{
undoRedo.Redo();
}
public static void Insert(ICommand command)
{
undoRedo.Insert(command);
}
public static void Execute(ICommand command)
{
undoRedo.Execute(command);
}
}
}