Playmaker Forum
PlayMaker Help & Tips => Android Help => Topic started by: asahiro84 on January 25, 2019, 11:43:25 AM
-
I have a NavMesh agent that moves to click/tap position.
At the same time I want it to ignore clicks/taps on UI.
I created a test scene with a canvas button, please see screenshots attached.
"U Gui Check Pointer Over Gui" for mouse works exactly as intended: the player moves to click position whenever I click anywhere except the button.
"Touch Event Not On U Gui" doesn't seem to work at all.
Is it the action that doesn't work or touch requires some additional checks or components?
-
Hi,
Well, it's because this action ("Touch Event Not On U Gui") worked only for touch, but you can re download it, I have added support for left mouse :)
a pointer can be anything, it's a UI abstract, while a Touch is different and related to touch screens only.
but as I said, I added this case so now it will work with left mouse.
Bye,
Jean
-
Hi Jean, thank you for the reply and for the action update!