Description 描述
Struct for Package Sample.
Properties 属性
| description | The description of the package sample. | ||
| displayName | The display name of the package sample. | ||
| importPath | The full path to where the sample will be imported, under the project assets folder. | ||
| interactiveImport | Indicates whether to show the import window when importing a sample that is an asset package (a .unitypackage file). | ||
| isImported | Indicates if the sample has already been imported. | ||
| resolvedPath | The full path to where the sample is on disk, inside the package that contains the sample. |
Public Methods 公共方法
| Import | Imports the package sample into the `Assets` folder. |
Static Methods 静态方法
| FindByPackage | Given a package of a specific version, find a list of samples in that package. |