AssetDatabase.ImportPackage Manual     Reference     Scripting  
Scripting > Editor Classes > AssetDatabase
AssetDatabase.ImportPackage

static function ImportPackage (packagePath : String, interactive : boolean) : 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.