PackageInfo.source
public PackageManager.PackageSource source;
Description 描述
Source of the package contents.
The source of a package can be a registry, built-in (that is, a standard package included with Unity), embedded (part of the current Unity project), a local file path, or a Git URL.