Service for applying UXML upgrades to VisualTreeAsset.
| Property | Description |
|---|---|
| upgraders | Gets the list of all registered upgraders. |
| Constructor | Description |
|---|---|
| UxmlUpgradeService | Creates a new instance of the UxmlUpgradeService and initializes the list of upgraders by finding all types that implement the IUxmlUpgrader interface. The upgraders are sorted by name for consistent execution order. |
| Method | Description |
|---|---|
| ApplyUpgrades | Apply all enabled upgrades to the specified assets. |
| GetUpgraderByName | Get an upgrader by its name. |
| IsUpgraderEnabled | Check if an upgrader is enabled. |
| SetUpgraderEnabled | Enable or disable a specific upgrader. |