AssetDatabase.ExportPackage 导出包


static function ExportPackage (assetPathName : string, fileName : string) : void
static function ExportPackage (assetPathName : string, fileName : string, flags : ExportPackageOptions) : void
static function ExportPackage (assetPathNames : string[], fileName : string, flags : ExportPackageOptions = ExportPackageOptions.Default) : void

Description描述

Exports the assets identified by assetPathNames to a unitypackage file in fileName.

导出assetPahtNames定义的资源到一个unitypackage里,并命名filename。

See Also: ExportPackageOptions for information on how you can affect what gets exported


,