# OnExitingEditModeAttribute()

> Marks the decorated static method to be invoked when exiting Edit mode.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEditor.Scripting.LifecycleManagement](/engine/6000.5/script-reference/unityeditor/scripting/lifecyclemanagement.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public OnExitingEditModeAttribute()
```
