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();
}
1