Unity说明文档翻译-The Project Window

Unity的项目窗口允许管理和访问项目资产,展示资产的层级结构,并提供搜索功能。用户可以按类型和标签过滤搜索结果,还能将常用项添加至收藏夹。此外,搜索功能也可应用于Unity Asset Store,以便查找和预览资源。
摘要由CSDN通过智能技术生成

The Project Window

项目窗口

 

In this view, you can access and manage the assets that belong to your project.

在此视图,你可以进入和管理你项目中的资源.

The left panel of the browser shows the folder structure of the project as a hierarchical list. When a folder is selected from the list by clicking, its contents will be shown in the panel to the right. You can click the small triangle to expand or collapse the folder, displaying any nested folders it contains. Hold down Alt while you click to expand or collapse any nested folders recursively.

窗口的左面板以层级列表显示了文件夹的结构.当一个文件夹被选中时,它的内容将会在右面板上显示.你可以点击文件夹上的小三角来展开和折叠嵌套的文件夹.

The individual assets are shown in the right hand panel as icons that indicate their type (script, material, sub-folder, etc). The icons can be resized using the slider at the bottom of the panel; they will be replaced by a hierarchical list view if the slider is moved to the extreme left. The space to the left of the slider shows the currently selected item, including a full path to the item if a search is being performed.

单个资源会在右面板上以它们类型的图标方式显示(脚本,材质,子文件夹等等).图标可通过面板底部的滑块调整大小;如果滑块移动到最左边它们会变为层级列表视图.滑块左边的空间显示当前选定的项,包括正在执行搜索时的完整路径。

Above the project structure list is a Favorites section where you can keep frequently-used items for easy access. You can drag items from the project structure list to the Favourites and also save search queries there (see Searching below).

项目结构列表的上面是收藏夹,你可以通过它保存经常使用的项方便访问.你可以将项目列表结构中的项拖到收藏夹中,也可以在这里保存搜索查询(参考如下的搜索).

Just above the panel is a “breadcrumb trail” that shows the path to the folder currently being viewed. The separate elements of the trail can be clicked for easy navigation around the folder hierarchy. When searching, this bar changes to show the area being searched (the root Assets folder, the selected folder or the Asset Store) along with a count of free and paid assets available in the store, separated by a slash. There is an option in the General section of Unity’s Preferences window to disable the display of Asset Store hit counts if they are not required.

面板上面的小导航条显示的是正在查看的文件夹的路径.可以通过单击单个元素方便的导航它在文件夹内的层级结构.搜索时,此栏将显示正在搜索的区域(根资源文件夹,所选文件夹或资源商店),以及商店中可用的免费或付费资源的数量,并用斜线分割.在Unity的首选项窗口的通用栏目中有一个选项,如果不需要,可以通过它禁用显示资源商店中查到的数量.

The ‘breadcrumb trail’ shows the path to the folder you are currently viewing

小导航栏显示你正在浏览的文件夹路径

 

Along the top edge of the window is the browser’s toolbar.

沿着窗口顶边的是窗口的工具条.

Located at the left side of the toolbar, the Create menu lets you add new assets and sub-folders to the current folder. To its right are a set of tools to allow you to search the assets in your project.

在工具条的左边,创建菜单让你添加新资源和子文件夹到当前文件夹内.在它的的右边区域是一套工具可以让你搜索你项目里的资源.

The Window menu provides the option of switching to a one-column version of the project view, essentially just the hierarchical structure list without the icon view. The lock icon next to the menu enables you to “freeze” the current contents of the view (ie, stop them being changed by events elsewhere) in a similar manner to the inspector lock.

窗口菜单提供了切换到单列显示项目视图的选项,本质上只是没有显示图标的层次结构列表.菜单旁边的锁图标使你可以冻结视图的当前内容(即阻止它们被别的事件更改),也可以类似方式锁定检视面板.

In the top right corner, select the dropdown menu to change the view layout, and click on the lock icon to freeze the view

 

在右顶角,选择下拉菜单来改变视图布局,并且点击锁图标来冻结视图.

Searching

搜索

The browser has a powerful search facility that is especially useful for locating assets in large or unfamiliar projects. The basic search will filter assets according to the text typed in the search box.

窗口有一个强大的搜索工具,特别适合在大型或不熟悉的项目中查找资源.基本搜索将通过键入搜索框中的文本筛选资源.

If you type more than one search term then the search is narrowed, so if you type coastal sceneit will only find assets with both “coastal” and “scene” in the name (ie, terms are ANDed together).

如果你输入多个搜索项则搜索范围变小.所以如果你输入沿海 场景将只会找到同时有沿海场景名称的资源(即,条件与).

To the right of the search bar are three buttons. The first allows you to further filter the assets found by the search according to their type.

在搜索条右边是3个按钮.第一个允许你通过类型进一步过滤搜索的资源.

Continuing to the right, the next button filters assets according to their Label (labels can be set for an asset in the Inspector). Since the number of labels can potentially be very large, the label menu has its own mini-search filter box.

继续往右,下一个按钮通过标签(标签可以通过资源的检视面板设置)筛选资源.由于标签数量可能很大,标签菜单有自己的迷你搜索过滤框.

Note that the filters work by adding an extra term in the search text. A term beginning with “t:” filters by the specified asset type, while “l:” filters by label. You can type these terms directly into the search box rather than use the menu if you know what you are looking for. You can search for more than one type or label at once. Adding several types will expand the search to include all specified types (ie, types will be ORed together). Adding multiple labels will narrow the search to items that have all the specified labels (ie, labels are ANDed).

注意筛选可以通过在搜索文本前添加一个额外术语来工作.术语t筛选指定类型资源,而l筛选标签.如果你知道你要寻找什么,你可以直接将这些术语输入到搜索框中,而不是通过菜单.你可以一次搜索多个类型或标签.添加多个类型将扩大搜索范围到所有指定类型(即类型是条件或).添加多个标签将会限定搜索项到所以指定标签范围内(即标签是条件与).

The rightmost button saves the search by adding an item to the Favourites section of the asset list.

最右边按钮在收藏夹内添加一个项来保存搜索到的资源.

Searching the Asset Store

搜索资源商店

 

The Project Browser’s search can also be applied to assets available from the Unity Asset Store. If you choose Asset Store from the menu in the breadcrumb bar, all free and paid items from the store that match your query will be displayed. Searching by type and label works the same as for a Unity project. The search query words will be checked against the asset name first and then the package name, package label and package description in that order (so an item whose name contains the search terms will be ranked higher than one with the same terms in its package description).

项目浏览器的搜索栏也可以用于寻找Unity资源商店的资源.如果你通过小工具条内菜单选择资源商店,所有资源商店内匹配的免费和付费资源都将显示.按类型和标签搜索与Unity项目相同.搜索查询词将按顺序首先检查资源名称,然后包名称,接着是包标签和包的描述(所以一个项它的名称包含搜索项排名将高于一个其包描述中包含相同项).

If you select an item from the list, its details will be displayed in the inspector along with the option to purchase and/or download it. Some asset types have previews available in this section so you can, for example, rotate a 3D model before buying. The inspector also gives the option of viewing the asset in the usual Asset Store window to see additional details.

如果你从列表中选中一个项,它将在检视面上显示它的详细信息以及购买和/或下载选项.在这里有些资源类型可以预览.所以你可以,例如,在购买前旋转三围模型.检视面板也提供了在通常资源商店窗口查看选项以查看其他详细信息.

Shortcuts

快捷键

The following keyboard shortcuts are available when the browser view has focus. Note that some of them only work when the view is using the two-column layout (you can switch between the one- and two-column layouts using the panel menu in the very top right corner).

当浏览器视图有焦点时,下列键盘快捷键可用.注意,它们中的一些只有在视图使用双列布局时可用(你可以在右上角使用面板菜单在单列和双列布局间切换).

 

 

F

Frame selected (ie, show the selected asset in its containing folder)

选定的框架(即显示选中资源在包含它的文件夹内)

Tab

Shift focus between first column and second column (Two columns)

在第一列和第二列间切换焦点(双列模式)

Ctrl/Cmd + F

Focus search field  聚焦到搜索栏

Ctrl/Cmd + A

Select all visible items in list  选定列表内所以可见项

Ctrl/Cmd + D

Duplicate selected assets  复制选定资源

Delete

Delete with dialog  删除对话框

Delete + Shift

Delete without dialog  直接删除

Backspace + Cmd

Delete without dialogs (OSX)  直接删除(苹果系统)

Enter

Begin rename selected (OSX)  重命名(苹果系统)

Cmd + down arrow

Open selected assets (OSX)  打开选中资源(苹果系统)

Cmd + up arrow

Jump to parent folder (OSX, Two columns) 跳到父文件夹(苹果系统,双列模式)

F2

Begin rename selected (Win) 重命名(window系统)

Enter

Open selected assets (Win)  打开资源(window系统)

Backspace

Jump to parent folder (Win, Two columns)  跳到父文件夹(window,双列模式)

Right arrow

Expand selected item (tree views and search results). If the item is already expanded, this will select its first child item.

展开选定项(树视图和搜索结果).如果该项已经展开,这选择其第一个子项.

Left arrow

Collapse selected item (tree views and search results). If the item is already collapsed, this will select its parent item.

折叠选定项(树视图和搜索结果).如果该项已经折叠,则选择其父项.

Alt + right arrow

Expand item when showing assets as previews

当预览资源时展开项

Alt + left arrow

Collapse item when showing assets as previews

当预览资源时折叠项

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值