You can install the package in one of the following ways:
Access the Project Settings window (menu: Edit > Project Settings > Adaptive Performance), then click the Install Adaptive Performance button.
Use the Unity Package Manager to install the Adaptive Performance package.
You can also install Adaptive Performance manually. To do this, add a reference to Adaptive Performance in your Project’s Packages/manifest.json
file. There are two ways you can reference a specific version of the Adaptive Performance package, depending on how you use it.
You can point the Package Manager at a publicly available version. To do this manually, add it to manifest.json
:
"dependencies": {
//...
"com.unity.adaptiveperformance":"<full version number>"
}
If you want to use a cloned version of the package, you can point the Package Manager at a local folder as the package location:
"dependencies": {
//...
"com.unity.adaptiveperformance":"file:path/to/package/root"
}
Note: The root of the package folder isn’t necessarily the root of the cloned repository. The root of the package folder is the folder that contains the package.json
file.
Adaptive Performance only works in combination with data provider subsystems. You can install and enable these providers for individual platforms from the Adaptive Performance section of the Project Settings window.
To use Adaptive Performance, you must install and activate at least one subsystem. This version of Adaptive Performance supports the following subsystems: