Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ApplyUpgrades

Apply all enabled upgrades to the specified assets.
Read time 1 minuteLast updated 13 days ago

Definition

ApplyUpgrades(List<VisualTreeAsset>)

Apply all enabled upgrades to the specified assets.
public void ApplyUpgrades(List<VisualTreeAsset> assets)

Parameters

The assets to upgrade.

ApplyUpgrades(List<VisualTreeAsset>, List<IUxmlUpgrader>)

Apply specific upgrades to the specified assets.
public void ApplyUpgrades(List<VisualTreeAsset> assets, List<IUxmlUpgrader> upgradersToRun)

Parameters

The assets to upgrade.

upgradersToRun

List of specific upgraders to run.