# OnEnable()

> See ScriptableObject.OnEnable().

## Definition

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

```csharp
protected virtual void OnEnable()
```
