public static void CreateAllAssetBundles() { ExportAB.CreateAllAssetBundles2(); Debug.Log("===> 资源打包完成"); ExportConfig.Export(); Debug.Log("===> 配置打包完成"); }
private void Save_OnClick(object sender, RoutedEventArgs e) { exportWindow.ShowDialog(); StreamWriter sw = SaveDialog(); if (sw == null) { return; } var countG = exportConfig.CountG; CsvConfig <Interval> .OmitHeaders = false; foreach (var foor in _users) { switch (countG) { case "CountAll": if (foor.Count > 0) { sw.Write(exportConfig.Export(foor)); } break; case "Count2": if (foor.Count == 2) { sw.Write(exportConfig.Export(foor)); } break; case "Count3": if (foor.Count == 3) { sw.Write(exportConfig.Export(foor)); } break; } } sw.Close(); }