Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


UxmlUpgradeService

Service for applying UXML upgrades to VisualTreeAsset.
Read time 1 minuteLast updated 10 days ago

Definition

public class UxmlUpgradeService

Constructors

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.

Properties

Property

Description

upgradersGets the list of all registered upgraders.

Methods

Method

Description

ApplyUpgradesApply all enabled upgrades to the specified assets.
GetUpgraderByNameGet an upgrader by its name.
IsUpgraderEnabledCheck if an upgrader is enabled.
SetUpgraderEnabledEnable or disable a specific upgrader.