# SetResetPanelRenderingOnAssetChange(EditorWindow, bool)

> Sets the state that controls if the panel of the EditorWindow should reset its rendering data when an asset changes.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.UIElements](/engine/6000.7/script-reference/unityeditor/uielements.md)
* **Assembly:** UnityEditor

```csharp
public static void SetResetPanelRenderingOnAssetChange(EditorWindow window, bool reset)
```

### Parameters

**** (\[EditorWindow]\(/engine/6000.7/script-reference/unityeditor/editorwindow)): **** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)):&#x20;
