The dependencies attribute in the Project manifestEach Unity Project has a Project manifest, which acts as an entry point for the Package Manager. This file must be available in the <project>/Packages
directory. The Package Manager uses it to configure many things, including a list of dependencies for that Project, as well as any package repository to query for packages. More info
See in Glossary is a JSON object that maps a package name to a version. The version number indicates which version of the package to download from the package registry. For example:
{
"dependencies": {
"com.my-package": "2.3.1",
"com.my-other-package": "1.0.1-preview.1",
etc.
}
}
In addition to using version numbers, the Package Manager also supports adding Project dependencies with the following:
Did you find this page useful? Please give it a rating: