Mouse Button Shortcuts and Selection History

KAMGAM

(1)
$9
Publisher KAMGAM
File size 294.34kB
Number of files 19
Latest version 1.0.3
Latest release date 2023-09-11 10:58:57
First release date 2022-08-08 10:56:15
Supported Unity versions 2018.4.2 or higher
Links: Documentation

¿What does it do exactly?


✔️ Enables custom shortcuts for the 4th and 5th mouse button.
Something which the default ShortcutManager can not do.


✔️ Go back and forth in the selection history using mouse buttons.
By default the "selection history" shortcuts are preconfigured. They work just like in your web browser.


✔️ Supports Unity 2019, 2020, 2021, 2022, ...


✔️ Full source code included



⚙️ D E T A I L S

Assign shortcuts to your 4th and 5th mouse button.
The default Unity Shortcut Manager can not assign anything to those mouse buttons. Now you can! The tool also searches through all the shorcuts and [MenuItem] attributes in your project which you can then assign to your mouse buttons.

Go back and forth just like in your browser..
Jump quickly between selected objects and editor windows. No extra window or setup required, it works out of the box!

Write your own shortcut actions in c#..
Step 1: Make a static method.
Step 2: Add a [MouseCommandAttribute("YourCoolCmdName")] attribute.
Step 3: Use the Mouse Shortcut window to assign it to a button.
Step 4: You are done, enjoy!

Supports Unity 2019, 2020, 2021, 2022, ... (LTS)

Full source code included
You can see how it's done and make changes if needed.

I publish this plugin with full source code because as a developer I know how annoying it is to not have source code access. If you like it then please remind others to purchase the plugin. Don't just copy and paste it everywhere.
Thanks ❤️


⚠️ Caveats (please read this!)
1) It currently only works on WINDOWS. Mac and/or Linux support might be added later depending on demand.

2) Only the middle, fourth and fifth mouse buttons are supported. No more, no less. This has technical reasons and most likely won't change. If you need more mouse buttons then I recommend you assign them to keys in your mouse driver software and then use those in the Unity ShortcutManager.

3) This is an Editor only Asset. There is no runtime API.


Use cases

You want to be able to easily go back and forth between your most recent selections and/or opened windows within Unity? Then this is for you because that's exactly why I built it for myself.

You wish you could add a custom action to your fourth and fifth mouse button? There is an attribute which lets you easily add new custom code methods.


⚒️ Installation

Download the Asset and import it into your project.
You are done, no additional setup is needed.



✍️ Usage

A new menu will be available under "Tools > Mouse Shortcuts". Go check out the manual once the import is done.


Info: The settings file will be created under Assets/.



☎️ Support

If you have any questions or issues then please write to office[at]kamgam.com.

Please be patient, replies may take a few days. Please include your Asset Store Order Nr in your requests via email.
Thank you.



If you like this asset then maybe you'll like these too:

✏️ Smart UI Selection
      Skip the hierarchy search. What you click is what you select.

⚒️ Pivot Cursor
      Rotate around anything, not just the pivot.

✂️ Prefab Fixer & Replacer
      Fix broken prefabs without losing any changes.

☘️ 2.5D Terrain
      3D Mesh and 2D collider generated from curves.

Top Publisher Assets