ApplyUpgrades
Apply all enabled upgrades to the specified assets.
阅读时间1 分钟最后更新于 1 个月前
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.