IsPackageRegistered(string)
Checks if a specific package is registered with the AssetDatabase.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.PackageManager
- Assembly: UnityEditor
public static bool IsPackageRegistered(string name)
Parameters
The name of the package to look for.
Returns
Type | Description |
|---|---|
| bool | Returns true if the named package is registered. |