You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
599 B
20 lines
599 B
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() {}
|
|
}
|
|
}
|