ExportPackageParameters
A list of parameters for the export operation.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEditor.AssetPackage
- Assembly: UnityEditor.CoreModule
ExportPackageParameters(string[], string, string, ExportPackageOptions)
A list of parameters for the export operation.
public ExportPackageParameters(string[] assetPathNames, string fileName, string ownerOrgId = "", ExportPackageOptions flags = ExportPackageOptions.Default)
Parameters
The paths of the assets to include in the export.
The output file name for the exported package.
The ID of the organization that owns the package.
Options for how Unity exports a package.
Remarks
To export a signed package, make sure the string isn't empty. For more information, refer to Identify the organization ID.
OwnerOrgIdExportPackageParameters(string, string, string, ExportPackageOptions)
A list of parameters for the export operation.
public ExportPackageParameters(string assetPathName, string fileName, string ownerOrgId = "", ExportPackageOptions flags = ExportPackageOptions.Default)
Parameters
The path of an asset to export.
The output file name for the exported package.
The ID of the organization that owns the package.
Options for how Unity exports a package.
Remarks
To export a signed package, make sure the string isn't empty. For more information, refer to Identify the organization ID.
OwnerOrgId