# OnEnable()

> Populate the settings from the referenced SerializedObject.

## Definition

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

```csharp
public void OnEnable()
```

### Remarks

This should be called before the settings object is used.
