Version: 2021.1
Importing an Asset Store package
Updating your Asset Store package

切换到另一个包版本

Note: The information on this page applies only to packages installed from the Unity Registry, a scoped registry, or from a local source. To update packages installed from a Git URL, you can either re-install it as a Git dependency using a new revision or re-install it from the Unity Registry. For more information about how to specify revisions with Git dependencies, see Targeting a specific revision.

You can update a package while in the In Project, Unity Registry, or My Registries context:

  1. Open the Package Manager window and select In Project from the Packages drop-down menu.

    Switch the context to In Project
    Switch the context to In Project

    任何具有可用更新的包旁边都会出现一个箭头指示符。

3.从包列表中选择已安装的要更新的包。包信息将显示在详细信息视图中。

4.在包列表中,单击包名称左侧的展开箭头图标。

![__Currently installed__ and __Recommended__ are the only versions available](../uploads/Main/PackageManagerUI-AvailableUpdates.png)

**Note**: If you see the __See other versions__ link after expanding the package, you can click it to see the list of all available versions for that package.
  1. Select any version of the current package to see the details specific to that version in the details view.

    Update to button in the bottom right corner of the details view
    Update to button in the bottom right corner of the details view

7.单击 Update to 按钮。

When the progress bar finishes, any new functionality is immediately available.

注意:如果您切换到包的旧版本,则可能必须对包内容运行 API Updater


Importing an Asset Store package
Updating your Asset Store package