Search and Selection tool Progress Report

search.PNG

I reworked the whole tool from the ground up, to use scriptable objects as a way to filter instead of the old UI that was a pain to add to or debug. This also makes it easy to create new filters by simply creating a scriptable object and having it inherit from the SearchFilter then overriding the Filter function that takes in a list of GameObjects and remove elements from the list.

I started to break the huge prototype I had written down into these SearchFilters that can be easily scripted and options are displayed in editor without having to write any editor GUI code, you can just make variables public or serialize them normal in Unity and it will display like the inspector. While reworking the UI I also made groups of search filters so you don’t need to drag a bunch of the same filters over and over and instead can drag the group in and it will use all the filters the group contains.

I also started work making something like the hierarchy window to display the results of a search so some or all of the results can be easily added or removed from the current selection or just viewed and held for later.