Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Coffeebreakmtl on September 14, 2018, 12:06:39 PM

Title: Sprite Click - Unity 2018
Post by: Coffeebreakmtl on September 14, 2018, 12:06:39 PM
Ok I'm totally lost here.
Using Unity 2018.2.6 - Playmaker lastest version.

I'm struggling to register a simple click on a Sprite.
I've done everything using the Unity OnClick Send EventString for the button.
(So without importy the uGUI Proxy).

Now I'm stuggling making a simple Sprite register a Click, I'm tried with the UGui Proxy, without the proxy. Added a Polygon 2D Collider to my sprite, tried a Box 2D collider...
The Event UI Click never get trigger (FSM on the sprite itself, blank scene)....

I'm sure it's a trivial trhing that I missed....
Title: Re: Sprite Click - Unity 2018
Post by: jeanfabre on September 21, 2018, 02:55:23 AM
Hi,

 Did you managed to get it working?

 Bye,

 Jean
Title: Re: Sprite Click - Unity 2018
Post by: miguelfanclub on September 23, 2018, 08:23:16 AM
I always use "U Gui On Pointer Enter Event" Action.

Also, when It doesnt work, most of the times is because Im clicking on something else even if its not visible.

To know whats causing it, I click on "EventSystem" in hierachy and then I can see who is recieving the clicks.
Title: Re: Sprite Click - Unity 2018
Post by: mememan on September 23, 2018, 10:57:50 AM
Try using a "mouse pick 2d event"