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

◆ Import()

static void Import ( [NotNull] Path packagePath)
static

Silently imports a .unitypackage file at the given path.

Parameters
packagePathPath to file with the .unitypackage extension.
See also

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

32 {
33 ThrowIf.ExtensionIsNotUnityPackage(packagePath);
34
35 AssetDatabase.ImportPackage(packagePath, false);
36 }