Method UpgradeSelection
UpgradeSelection(List<MaterialUpgrader>, string, UpgradeFlags)
Upgrade the selection.
Declaration
public static void UpgradeSelection(List<MaterialUpgrader> upgraders, string progressBarName, MaterialUpgrader.UpgradeFlags flags = UpgradeFlags.None)
Parameters
Type | Name | Description |
---|---|---|
List<MaterialUpgrader> | upgraders | List of upgraders. |
string | progressBarName | Name of the progress bar. |
MaterialUpgrader.UpgradeFlags | flags | Material Upgrader flags. |
UpgradeSelection(List<MaterialUpgrader>, HashSet<string>, string, UpgradeFlags)
Upgrade the selection.
Declaration
public static void UpgradeSelection(List<MaterialUpgrader> upgraders, HashSet<string> shaderNamesToIgnore, string progressBarName, MaterialUpgrader.UpgradeFlags flags = UpgradeFlags.None)
Parameters
Type | Name | Description |
---|---|---|
List<MaterialUpgrader> | upgraders | List of upgraders. |
HashSet<string> | shaderNamesToIgnore | Set of shader names to ignore. |
string | progressBarName | Name of the progress bar. |
MaterialUpgrader.UpgradeFlags | flags | Material Upgrader flags. |