15 lines
232 B
C#
15 lines
232 B
C#
|
using CommandUndoRedo;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class TransformGizmoHotkeys : MonoBehaviour
|
||
|
{
|
||
|
public void Undo()
|
||
|
{
|
||
|
UndoRedoManager.Undo();
|
||
|
}
|
||
|
|
||
|
public void Redo()
|
||
|
{
|
||
|
UndoRedoManager.Redo();
|
||
|
}
|
||
|
}
|