Singularity/Library/PackageCache/com.unity.2d.animation@7.0.10/Editor/SkinningModule/Undo/DisabledUndo.cs

20 lines
599 B
C#
Raw Permalink Normal View History

2024-05-06 14:45:45 -04: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() {}
}
}