Playmaker Forum
PlayMaker Feedback => Action Requests => Topic started by: ssk9208 on June 15, 2015, 09:49:46 PM
-
I need to detect right clicking on a uGui button. Is there an easy way to change the uGui button action to do that, or can someone help me by making an action?
Thanks!
-
Hi,
that's a good question. I found the source code that likely will allow for this, I'll implement it in the next release.
http://forum.unity3d.com/threads/can-the-ui-buttons-detect-a-right-mouse-click.279027/
https://trello.com/c/9vKL4GHj/135-unity-ui-update
Bye,
Jean
-
Thanks! Please notify when its done.
-
Any updates on this?
-
Hi,
Thanks for this. Indeed there is a pending update for UGUI, so it's on my todo :)
Bye,
Jean
-
Hi,
Thanks for this. Indeed there is a pending update for UGUI, so it's on my todo :)
Bye,
Jean
Wahoo! Excellent! :D thank you Jean!
SO useful haha :D
-
Hi,
Thanks for this. Indeed there is a pending update for UGUI, so it's on my todo :)
Bye,
Jean
Sorry for the bump again :) and loose eta on this? :D
EDIT: Or any quick instruction on how to pull the last pointer ID info into the FSM?
best,
craigz
-
Hi,
Yes, the new version on the Ecosystem allows to get this information.
so now GetLastPointerEventData will give you InputButton values
and I did a new action GetLastPointerEventDataInputButton that takes less space in the action stack to just get the button info and use events for more effective Fsm states logics.
(https://pbs.twimg.com/media/CvmX4gcXEAAlH1x.jpg)
Bye,
Jean