Playmaker Forum

PlayMaker News => General Discussion => Topic started by: MS80 on October 26, 2015, 01:18:46 PM

Title: how to use: "Get Last Pointer Data Info" ??[SOLVED]
Post by: MS80 on October 26, 2015, 01:18:46 PM
Hi, I have problems using the "Get Last Pointer Data Info" action. Any way I use it, none of the provided informations will be stored?! Unfortunatly I found nothing how to use this action correctly...

What I would like to get is some information of the Unity UI Event System, f.e. which Button (GameObject) was entered or exited last time. It seems "Get last Pointer Data" could do this?! But how?!

Any help is welcome! Maybe there are other solutions to get EventSystem information?!

EDIT: using Unity 5.2.1f1 and Playmaker 1.7.8.3p2
Title: Re: how to use: "Get Last Pointer Data Info" ??
Post by: jeanfabre on November 10, 2015, 07:02:52 AM
Hi,

 This action si to be used with all UI pointer events mainly coming from

PlayMakerUguiComponentEventsProxy
PlayMakerUguiDragEventsProxy
PlayMakerUguiPointerEventsProxy
PlayMakerUguiDropEventsProxy

an example on the Ecosystem (http://j.mp/1Esn1mF) is using this action: uGuiDrag

So install this on a test project and check the "Move Sprite" on the "Panel" GameObject.

 Bye,

 Jean

Bye,

 Jean
Title: Re: how to use: "Get Last Pointer Data Info" ??
Post by: MS80 on November 16, 2015, 05:50:25 PM
Thanks Jean,

this was  a severe case of user error?! I did not have any ugui proxy in my scene... somehow I thought this should work without it?!

As you suggested I got the latest examples from the ecosystem! These are really great by the way.
Title: Re: how to use: "Get Last Pointer Data Info" ??
Post by: jeanfabre on December 01, 2015, 06:36:15 AM
Hi,

 Thanks. want to do more examples, but just keep running behind :)

 Bye,

 Jean