CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ Export() [3/3]

static void Export ( [NotNull] String[] assetPaths,
[NotNull] String packagePath,
ExportPackageOptions options = ExportPackageOptions::Default )
static

Exports multiple assets and their dependencies to the packagePath file.

Parameters
assetPathsThe assets to export.
packagePathPath to file with the .unitypackage extension.
optionsExportPackageOptions
See also

Definition at line 107 of file Asset.Package.cs.

109 {
110 ThrowIf.ExtensionIsNotUnityPackage(packagePath);
111
112 AssetDatabase.ExportPackage(assetPaths, packagePath, options);
113 }