Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ExportPackageParameters

A list of parameters for the export operation.
Read time 1 minuteLast updated 11 days ago

Definition

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

assetPathNames

The paths of the assets to include in the export.

fileName

The output file name for the exported package.

ownerOrgId

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
OwnerOrgId
string isn't empty. For more information, refer to Identify the organization ID.

ExportPackageParameters(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

assetPathName

The path of an asset to export.

fileName

The output file name for the exported package.

ownerOrgId

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
OwnerOrgId
string isn't empty. For more information, refer to Identify the organization ID.