public static void BuildAllFullWithProg() { CapsResBuilder.BuildingParams = CapsResBuilder.ResBuilderParams.Create(); var winprog = new EditorWorkProgressShowerInConsole(); winprog.Works.Add(CapsSptBuilder.BuildSptAsync(null, winprog)); winprog.Works.Add(CapsResBuilder.BuildResAsync(null, winprog)); winprog.Works.Add(CapsUpdateBuilder.BuildNearestUpdate(winprog)); winprog.OnQuit += () => { CapsResBuilder.BuildingParams = null; }; winprog.StartWork(); }
public static void BuildAllFull() { CapsResBuilder.BuildingParams = CapsResBuilder.ResBuilderParams.Create(); var work = CapsSptBuilder.BuildSptAsync(null, null); while (work.MoveNext()) { ; } work = CapsResBuilder.BuildResAsync(null, null); while (work.MoveNext()) { ; } CapsResBuilder.BuildingParams = null; CapsUpdateBuilder.BuildNearestUpdate(); }