Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question How to use "Search" to find Component that implements a certain interface?

Discussion in 'Editor & General Support' started by Peter77, Jun 4, 2023.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,419
    How can I use the Unity Search (Window > Search > New Window) to find GameObjects in the Hierarchy that have a Component implementing a certain interface?

    I can search for Component types in the Hierarchy with
    h: t=MyComponentType
    , but it only seems to work with concrete types that inherit from Component.
     
  2. sebastiengrenier

    sebastiengrenier

    Unity Technologies

    Joined:
    Jun 11, 2019
    Posts:
    85
    Hi! That is an oversight. It is not currently possible, but we will try to fix this as soon as possible.
     
    Peter77 likes this.