# SetUpgraderEnabled(IUxmlUpgrader, bool)

> Enable or disable a specific upgrader.

## Definition

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

```csharp
public void SetUpgraderEnabled(IUxmlUpgrader upgrader, bool enabled)
```

### Parameters

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