Import(ImportOptions)
Imports the package sample into the `Assets` folder.
Read time 1 minuteLast updated a month ago
Definition
- Type: Method
- Namespace: UnityEditor.PackageManager.UI
- Assembly: UnityEditor
public bool Import(Sample.ImportOptions options = ImportOptions.None)
Parameters
Custom import options. See Sample.ImportOptions for more information. Note that Sample.ImportOptions are flag attributes, therefore you can set multiple import options using the operator.
|Returns
Type | Description |
|---|---|
| bool | Returns true if the import is successful. Returns false otherwise. |