Search Unity

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,620
    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:
    96
    Hi! That is an oversight. It is not currently possible, but we will try to fix this as soon as possible.
     
    Peter77 likes this.