# OnInspectorUpdate()

> OnInspectorUpdate is called at 10 frames per second to give the inspector a chance to update.

## Definition

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

```csharp
public void OnInspectorUpdate()
```

### Examples

```csharp

{code Modules/UIElements/Tests/UIElementsExamples/Assets/EditorWindowCodeExamples/OnInspectorUpdateExample.cs}
```
