PO/Library/PackageCache/com.unity.2d.animation@5.0.7/Editor/SkinningModule/Undo/DisabledUndo.cs

20 lines
599 B
C#
Raw Normal View History

2022-01-12 10:06:03 +03:00
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() {}
}
}