Call me crazy but I’m missing something with the system.
Is there a way to override the behavior of right click on a single button?
E.g. Have right click click button A but do nothing to button B
Thoughts?
Call me crazy but I’m missing something with the system.
Is there a way to override the behavior of right click on a single button?
E.g. Have right click click button A but do nothing to button B
Thoughts?
The buttons are made to respond to left clicks only see here (OnPointerClick):
You can add your own handler for right clicking if you want.
Shouldn’t the Press()-method be protected to properly allow this though? Forking the entire UI system just to add another handler that triggers presses seems a bit cumbersome…
I noticed this in other places - oftentimes it seems as if its necessary to directly change the UI code instead of being able to extend it using inheritance?
Thanks for the reply. I do agree it would be nice to have some more of this type of basic functionality built into the code so we didn’t have to fork the source. Would much rather use inheritance on a component level to avoid overhead when upgrading.