上传者: 41978284
|
上传时间: 2022-04-15 13:01:45
|
文件大小: 843KB
|
文件类型: UNITYPACKAGE
Unity Excel Export资源包,支持在Unity的Excel导出,资源包为DLL
手动编写代码如下
FileInfo newFile = new FileInfo(savePath);
using (ExcelPackage package = new ExcelPackage(newFile))
{
ExcelWorksheet worksheet = package.Workbook.Worksheets.Add("测试");
worksheet.OutLineApplyStyle = true;
worksheet.Cells[1, 1].Value = "到访时间";
package.Save();
}