List<string> assets = new List<string>();
assets.Add("相对于Assets的文件夹路径");
assets.Add("相对于Assets的文件路径");
AssetDatabase.ExportPackage(assets.ToArray(), path, ExportPackageOptions.Interactive | ExportPackageOptions.Recurse);
2023-12-21 23:42:27
List<string> assets = new List<string>();
assets.Add("相对于Assets的文件夹路径");
assets.Add("相对于Assets的文件路径");
AssetDatabase.ExportPackage(assets.ToArray(), path, ExportPackageOptions.Interactive | ExportPackageOptions.Recurse);