So I was trying to use the extra buttons of the mouse in the editor but for my surprise there is no event associated to them in the event object…
In runtime they work as expected
There is a workaround/solution? or maybe I’m doing something wrong?
So I was trying to use the extra buttons of the mouse in the editor but for my surprise there is no event associated to them in the event object…
In runtime they work as expected
There is a workaround/solution? or maybe I’m doing something wrong?
I‘m guessing it‘s bad practice to rely on more than 3 mouse buttons in a windows app and therefore it may not exist, or maybe windows doesn‘t provide this info to apps (directx does hence it works in playmode).
I understand that relying on buttons that may not exists is bad, but since I’m not relying of them there shouldn’t be any problem, I just want to use them.
And I strongly beleive that is not a bad practice to use the fourth and fitft mouse buttons in windows environments… the fourth and fitft mouse buttons are pretty common and heavily used in a lot of windows apps. Just some examples: Windows Explorer, Visual Studio, Chrome… they are the “next” and “back” shortcuts.
P.S: Since most of the programs has the ability to use this shortcuts I guess is not a problem with C# or Windows and more with Unity itself.
So Any news or comment abou this topic?