registry
The registry where the Package Manager might find this package.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEditor.PackageManager
- Assembly: UnityEditor.CoreModule
public RegistryInfo registry { get; }
Remarks
This value always returns a registry, even if the package's source is not PackageSource.Registry (such as an embedded package or a Git dependency). In that case, this value is set to the closest registry match even if the package isn't actually on that registry. For example, if your project uses a scoped registry with the scope, and your embedded package is named , this property will be the RegistryInfo from the matching scoped registry.
com.example.myscopecom.example.myscope.mypackageFor more information, see "Managing scoped registries for a project" in Scoped Registries.