You can use Search tables to view, compare, and sort Search items by properties. From the table you can also modify data and export data to a .csv file or JSON.
To view your search in table format, enter a search query and click the table icon in the bottom right of the Unity Search window.
By default, the table will show the Label and Description columns unless you have added new columns or you are using a select{} statement that creates new columns from selectors.
Click the column header to sort the search results in ascending or descending order by that column property.
Click the reset icon () if no columns appear, or if the columns appear from the previous search and you want to reset to the default column layout.
To add a new column in the search table, click the plus icon (+) and choose a property or selector.
You can customize the name, icon, alignment and whether the column is sortable.
To edit your column, right-click the column header and select Edit <column name>.
Field | Description |
---|---|
Format | Changes the data about the results to another format. If the result has no data for the new format (for example asking for color information from position data), the cell will be blank. |
Icon | Changes the icon. |
Name | Changes the name of the column |
Alignment | Changes the alignment of the column |
Sortable | Select to make the column sortable in the table |
Path | Indicates the path of the property or sub property which is useful if you need to understand where a property is located. |
Selector | Indicates which property is accessed within the search query. This is useful if you wish to create queries for specific properties, for instance if you have a column for the Height property, you can check the Selector field and create a height search query for Assets using #m_Height . |
Click and hold the column header and drag it to rearrange the columns.
Right-click the column header and select Remove <column name>.
Once your table is set up, you may wish to hide certain columns temporarily without deleting them.
Right-click in the column header area and select Show Columns > <name of column>. The columns with a checkmark appear in the table.
Reset sets the table back to the default, with the Label and Description columns or will include columns specified in the select{} statement.
Click the reset icon () to remove all added columns or if the columns appear from the previous search and you want to reset to the default column layout.
Note: If you want to keep your current search table column layout, save your table before resetting.
To save your search table column layout:
Click the Save icon in the Saved Searches User or Project panel area, or the Save icon to the right of the Search field.
Unity Search includes the table layout with the saved search query. When a query is saved with a table its icon changes to the table icon.
You can export table data in JSON or .csv format. When you save using JSON, you can open the saved table data in Unity. This is static data from the time that you saved it that does not refresh.
To export table data:
If you want to modify the data in the table, apply either the Serialized or MaterialAn asset that defines how a surface should be rendered. More info
See in Glossary Property formats to the column you want to modify.
Note: Search is not aware of any dependencies on the data in the Search tables. As such, when you use these formats to change the data in the Unity Search tables, it will not trigger any changes to the custom InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
See in Glossary code related to property editing. To make sure that your changes include dependencies or linked changes which are often embedded in custom code for common properties, make your changes in the Inspector instead.
To modify the data in a column do one of the following:
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.