Singularity/Library/PackageCache/com.unity.2d.animation@7.0.10/Editor/SkinningModule/Undo/DisabledUndo.cs
2024-05-06 11:45:45 -07:00

20 lines
599 B
C#

using UnityEngine;
namespace UnityEditor.U2D.Animation
{
internal class DisabledUndo : IUndo
{
public void RecordObject(object o, string name) {}
public void RegisterCompleteObjectUndo(object o, string name) {}
public void RegisterCompleteObjectUndo(object[] o, string name) {}
public void RegisterCreatedObjectUndo(object o, string name) {}
public void DestroyObjectImmediate(object o)
{
BaseObject.DestroyImmediate(o);
}
public void ClearUndo(object o) {}
public void IncrementCurrentGroup() {}
}
}