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

Groups import/export functionality for .unitypackage files (Asset Packages). More...

+ Collaboration diagram for Asset.Package:

Static Public Member Functions

static void Export ([NotNull] Path assetPath, [NotNull] String packagePath, ExportPackageOptions options=ExportPackageOptions.Default)
 Exports the asset and its dependencies to a .unitypackage file.
 
static void Export ([NotNull] Path[] assetPaths, [NotNull] String packagePath, ExportPackageOptions options=ExportPackageOptions.Default)
 Exports multiple assets and their dependencies to the packagePath file.
 
static void Export ([NotNull] String[] assetPaths, [NotNull] String packagePath, ExportPackageOptions options=ExportPackageOptions.Default)
 Exports multiple assets and their dependencies to the packagePath file.
 
static void Import ([NotNull] Path packagePath)
 Silently imports a .unitypackage file at the given path.
 
static void ImportInteractive ([NotNull] Path packagePath)
 Imports a .unitypackage file at the given path interactively.
 

Detailed Description

Groups import/export functionality for .unitypackage files (Asset Packages).

Does not contain Package Manager (npm packages) functionality.

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