# Import(string, bool)

> Imports a package into the current project.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.AssetPackage](/engine/6000.6/script-reference/unityeditor/assetpackage.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static void Import(string packagePath, bool interactive)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The path to the package file to import.**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): If true, shows the import dialog so the user can choose which assets to import.
