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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Updated] QuickAccess - search, select & execute (Open Source Project)

Discussion in 'Assets and Asset Store' started by Tobias-Pott, Nov 28, 2016.

  1. Tobias-Pott

    Tobias-Pott

    Joined:
    Aug 26, 2014
    Posts:
    12
    Hello everyone,
    this is the first time for me posting an asset package/editor extension to the forums.

    The package this thread should be about is currently called "QuickAccess" and the idea derived from a different package I was working on (http://www.tobiaspott.de/noxp-shelves/) which was meant to imitate the shelf behaviour of Autodesk Maya.
    A few weeks ago I recognized that my own use scenarios do more rely on names, commands and shortcuts than on icons and menus to navigate through and decided to strip everything down to the bare minimum and use a search field to get access to everything I need inside the Unity editor while being accessible from everywhere inside the editor and not forced to be contained inside a docked window or inspector.

    This is how it looks so far:
    _forums_screen_02.png

    Current features:
    • Search, select, execute, create menu items, script commands, components, prefabs and other assets
    • Gives access to all component-types from all loaded assemblies (user-code, editor, plugins)
    • Gives access to all GameObject/Prefabs from the project's hierarchy
    • Gives access to all common types of assets (Textures, Sprites, Materials, Shaders, Scripts, etc.)
    • Gives access to several built-in menu entries (e.g. "Edit->Project Settings", "Window", etc.)
    • Includes categories and type filters, whereas categories are customizable "tags" assigned to objects and type use the built-in object types (e.g. menu-item, game object, script, etc.)
    • Allows including your own methods into the search (similar to the [MenuItem]-attribute)
    • Allows you to create components directly from the QuickAccess (either on the selected GameObject or auto-create a new GameObject for the component)
    • Allows you to instantiate/create GameObjects directly from assets/prefabs
    • Allows you to select or open all asset-based objects (stuff resides in your project and is not logical code)
      • Select will make the object be the activeObject of your selection and make your Project-View jump to it's location
      • Open will try to open the object with the systems default application for that type (e.g. Photoshop for textures, Visual Studio for scripts, etc.)

    The QuickAccess serves me as a combination of the component search (in the inspector of an selected object) and the asset search (in the project-view) which allows me to avoid lot's of clicking and scrolling around with my mouse.

    I want to make this thread the place for those interested in the idea of a QuickAccess tool or in need of exactly what I've done so far.
    And as good as I can understand all those making money with their assets & packages I feel much more comfortable sharing the code and see others sharing their thoughts and ideas about it giving me the chance to improve and benefit from and see others benefit from my ideas as well.
    (a link to a bitbucket repository will follow during this week, I need to find the spare time to clean up a bit and create the repo)

    What do you guys think about it? Does any specific feature might be worth implementing or some area of the editor not be covered by the current state?


    Other examples:
    _forums_screen_03.png
    Filter by the "gameobject" type, resulting in a bunch of 3D assets to select or some built-in primitive types to create.

    _forums_screen_04.png
    Filter by multiple categories "sprite" and "tex2D" to list all Texture2D and all Sprites beginning or containing the "Tou" string

    _forums_screen_05.png
    Filter by the built-in "p" category (set for menu items from the "Project Settings")

    _forums_screen_06.png
    The preferences for the QuickAccess extension, providing minimal changes to the Look & Feel and select specific types to be included into the search (more of a performance feature if assets don't want to be searched)
     
  2. Tobias-Pott

    Tobias-Pott

    Joined:
    Aug 26, 2014
    Posts:
    12