Import(ImportOptions)
Imports the package sample into the `Assets` folder.
阅读时间1 分钟最后更新于 1 天前
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. |