AssetDatabase.ImportPackage
static function ImportPackage(packagePath: string, interactive: bool): void;
static void ImportPackage(string packagePath, bool interactive);
static def ImportPackage(packagePath as string, interactive as bool) as void
Description

Imports package at packagePath into the current project.

If interactive is true, an import package dialog will be opened, else all assets in the package will be imported into the current project.