필터링은 검색 범위를 특정 제공자로 좁힙니다. 다음 방법으로 검색을 필터링할 수 있습니다.
검색이 일반 검색용으로 사용할 제공자를 관리하려면 영구 검색 필터를 설정합니다.
특정 검색 제공자의 결과만 표시하려면 검색 필드에서 해당 검색 제공자의 검색 토큰을 사용합니다.
여기서 추가적인 검색 필터 리스트를 확인할 수 있습니다.
Filters 창에서 검색 제공자를 일시적으로 토글해 켜거나 끌 수 있습니다. 이렇게 하면 검색이 반환하는 항목 수를 줄일 수 있는데, 이는 찾고 있는 항목 타입을 이미 알고 있는 경우 매우 편리합니다. 어느 시점에서든 토글하여 켠 제공자는 활성 검색 제공자가 됩니다.
Search Providers drop-down menu
Search Providers 메뉴에서 검색 제공자를 토글하여 끄면 검색이 검색 제공자를 완전히 비활성화하는 것이 아니라 “뮤트”합니다. 배경 인덱싱 또는 기타 숨겨진 조작을 수행하는 검색 제공자는 뮤트되면 이러한 수행을 지속합니다.
참고: 검색 제공자를 영구적으로 켜거나 끄려면 검색 환경 설정에서 변경하십시오.
영구 검색 필터를 설정하려면 다음 단계를 따르십시오.
팁: ↑(위쪽 화살표) 및 ↓(아래쪽 화살표)를 사용하여 가용 필터를 순환합니다. 필터를 토글하려면 Space를 사용하십시오.
모든 검색 제공자는 검색 토큰이라는 고유한 텍스트 문자열이 있습니다. 이는 필터 ID라고도 합니다. 제공자의 검색 토큰을 검색 쿼리의 접두사로 사용하면 검색이 검색 범위를 해당 제공자로 제한합니다.
예를 들어, p:
는 에셋 검색 제공자의 검색 토큰입니다. 검색 필드에 p:Player
를 입력하면 검색은 “Player”라는 용어와 일치하는 에셋을 검색합니다(예: 이름에 “Player”가 포함된 에셋).
검색 제공자용 검색 토큰의 리스트는 검색 제공자를 참조하십시오.
프리팹, 파일, 타입, 프로퍼티 및 종속성 검색용 검색 토큰의 리스트는 추가 검색 토큰을 참조하십시오.
검색 토큰을 결합하여 더 복잡한 쿼리를 생성할 수 있습니다.
몇 가지 예시를 살펴보겠습니다.
쿼리 | 설명 |
---|---|
h: t:meshrenderer p(castshadows)!="Off" |
씬에서 그림자를 캐스트하는 모든 정적 메시를 검색합니다. |
h: t:light p(color)=#FFFFFF p(intensity)>7.4 |
씬에서 특정 컬러를 띠고 있으며 밝기가 7.4보다 밝은 모든 광원을 검색합니다. |
h: path:/Collectables t:collectable |
/Collectables. 경로에 Collectable 컴포넌트가 있는 모든 오브젝트를 찾습니다. |
검색 표현식을 사용하면 검색에 쿼리 언어를 추가하여 여러 제공자를 교차 참조하는 복잡한 쿼리(예: 씬에서 컴파일하지 않는 셰이더를 사용하는 모든 오브젝트 검색)를 표현할 수 있게 해줍니다. 자세한 내용은 검색 표현식을 참조하십시오.
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.