Use with Package Manager
Describes how to use Nostalgia as a Package Manager compatible package.
Installation procedure
- Copy the Assets / Plugins / Nostalgia folder to any folder
(Here, the placed Nostalgia folder is called the Nostalgia package folder.) - Register with Package Manager.
There are the following methods to register.- Registration in the Pakcage Manager window
- Open the PackageManager window and select “Add package from disk …” from the + button.
- Select package.json in the Nostalgia package folder.
- Modify manifest.json directly
- Open “{project folder}/Packages/manifest.json” with a code editor.
- Add “com.caitsithware.nostalgia” to “dependencies” as shown below.
- Registration in the Pakcage Manager window
{
"dependencies": {
"{Other packages}" : "{Other packages}",
"com.caitsithware.nostalgia": "file:{Nostalgia package folder path}"
}
}
- To update, delete the Nostalgia package folder and relocate the latest version of the Nostalgia folder, or place the Nostalgia package folder separately for each version.
important point
- If an error or unintended operation occurs immediately after installation, reopen the project.
- If you want to change the location of the Nostalgia package folder after registering with Package Manager, you need to redo “Installation procedure 2.".
- About version control
- Please note that if you register from the PakcageManager window, the absolute path will be written to manifest.json.
If you placed the Nostalgia package folder in the repository management, set the relative path in manifest.json. - PakcageManager also supports git, but publishing this asset to a public git server etc. is a violation of EULA.
When creating a package repository in git, please be sure to set the repository to private and only the purchaser can access it using functions such as personal access token.
- Please note that if you register from the PakcageManager window, the absolute path will be written to manifest.json.
- For more information on PakcageManager, see Unity Manual: PackageManager.