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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Search class and subclasses with AssetDatabase.FindAssets or Project search field

Discussion in 'Asset Database' started by thefonet, Oct 9, 2021.

  1. thefonet

    thefonet

    Joined:
    Apr 9, 2014
    Posts:
    10
    Hi,

    Is there a way to use "t:ClassType" to find assets of a specific class AND subclasses/subtypes?

    Thanks
     
  2. thefonet

    thefonet

    Joined:
    Apr 9, 2014
    Posts:
    10
    Hmm, never mind, this seems to be how it works already.

    Apparently, after some renaming and class hierarchy changes the search tool wasn't finding some of my assets from inherited types.

    I've recreated the class file and saved the project. Everything seems fine now... can't really tell what broke it or fixed it.