# scanLocalPackagesOnConnect

> Enable or disable scanning of local packages when connecting to the Package Manager.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static bool scanLocalPackagesOnConnect { get; set; }
```
