# ObjectChangeEvents

> Exposes events that allow you to track undoable changes to objects in the editor.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static class ObjectChangeEvents
```

## Remarks

Any undoable change to any object loaded in the editor (both [GameObject](/engine/6000.5/script-reference/unityengine/gameobject.md) and assets such as [Material](/engine/6000.5/script-reference/unityengine/material.md) object) are recorded and exposed as a stream of events. See [ObjectChangeKind](/engine/6000.5/script-reference/unityeditor/objectchangekind.md) for more information as to which types of changes are recorded. Undoing and redoing changes also records events. The stream of events is flushed once per frame. User interactions in the editor may map to multiple events in the event stream.

## Static Events

| Member                                                                                                 | Description                                                                     |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- |
| [changesPublished](/engine/6000.5/script-reference/unityeditor/objectchangeevents/changespublished.md) | Event that is raised once per frame if any undoable changes have been recorded. |

## Delegates

| Delegate                                                                                                                                    | Description                                                    |
| ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [ObjectChangeEvents.ObjectChangeEventsHandler](/engine/6000.5/script-reference/unityeditor/objectchangeevents/objectchangeeventshandler.md) | The delegate used for the event publishing the object changes. |
