Example #1
0
        /// <summary>
        /// Upgrade a material.
        /// </summary>
        /// <param name="material">Material to upgrade.</param>
        /// <param name="upgrader">Material upgrader.</param>
        /// <param name="flags">Material Upgrader flags.</param>
        public static void Upgrade(Material material, MaterialUpgrader upgrader, UpgradeFlags flags)
        {
            var upgraders = new List <MaterialUpgrader>();

            upgraders.Add(upgrader);
            Upgrade(material, upgraders, flags);
        }
Example #2
0
 internal static void UpgradeMaterialsProject()
 {
     MaterialUpgrader.UpgradeProjectFolder(GetHDUpgraders(), "Upgrade to HD Material");
 }
Example #3
0
 internal static void UpgradeMaterialsSelection()
 {
     MaterialUpgrader.UpgradeSelection(GetHDUpgraders(), "Upgrade to HD Material");
 }