Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Editor GUI Searchbar

Discussion in 'Editor & General Support' started by Nanobratik, Jan 1, 2021.

  1. Nanobratik

    Nanobratik

    Joined:
    Mar 19, 2019
    Posts:
    1
    Hi all,
    currebtly I am trying to build a couple of custom tools for the editor, including some where I have a list of item I want to display in an editor window. All that works well but when trying to add a search bar like in the hierachy or projects windows I couldn't figure how to add that search bar.
    Currently I am using a "normal" textfield like this:
    query = GUILayout.TextField(query);
    Is there a way to use the default unity searchbar?

    Thanks
     
unityunity