ApplyUpgrades
Apply all enabled upgrades to the specified assets.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor
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.
List of specific upgraders to run.