Unity Package Manage 窗口

2020-10-26 14:08 更新

使用 Unity Package Manager(在 Unity 頂部菜單中:Window > Package Manager)可查看哪些可供安裝或已經(jīng)安裝在項目中。此外,還可使用此窗口查看哪些版本可用以及為每個項目安裝、移除禁用更新包。

Package Manager 窗口Package Manager 窗口

Package Manager 窗口顯示以下內(nèi)容:

(A) The preview package indicator, which warns you when your project contains preview packages. By default, the Package Manager does not show preview packages in the list. However, you can turn on the Enable Preview Packages project setting to include preview packages in the list.

(B) The add img button, which you can click to install a package directly into your project from this window.

(C) The Packages drop-down menu, which you can use to filter which packages appear in the list.

(D) The Sort drop-down menu, which lets you sort the list of packages by name or date.

(E) The Advanced drop-down menu, which you can click to display preview packages in addition to those that have been verified to work with Unity.

(F) The search box, which you can use to look for packages by name.

(G) The packages list view, which displays all packages that match the filter and search parameters you specify.

(H) The package-specific detail view, which displays information specific to the package selected in the list.

(I) The status bar, which displays messages about the package load status and warnings about the network.

(J) The reload imgbutton, which you can click to force Package Manager to reload your packages.

(K) Buttons to install or update a package (or the Up to date message if the selected version is already installed.)

(L) Buttons to remove or disable the package.

Advanced actions

Advanced 下拉菜單允許您執(zhí)行以下操作:

下拉菜單項 操作結(jié)果
Reset Packages to defaults 選擇此選項可恢復(fù)為 Unity Package Manager 的默認(rèn)設(shè)置。  警告:這將從項目清單文件中刪除所有自定義項。僅當(dāng)無法確定項目清單文件出了什么問題時,才應(yīng)使用此選項作為最后的手段。
Show dependencies 詳細(xì)信息視圖中顯示每個包的依賴項。
Show preview packages 在包列表中包含預(yù)覽包。  注意:預(yù)覽包未經(jīng)驗證是否能夠用于 Unity,并且可能不穩(wěn)定。實際生產(chǎn)環(huán)境中不支持預(yù)覽包。
以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號