Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Groo Gadgets on March 08, 2015, 10:52:28 PM

Title: UGUI on click down?
Post by: Groo Gadgets on March 08, 2015, 10:52:28 PM
Hey guys,

I've started using the new Unity UI and would like to be able to fire events when the button is pressed down (the default seems to be when the button is up). Essentially I want to be able to create on screen controls to move my character so holding the button down will move my character and releasing will stop it.

Is there any way to do this?

Cheers,

Simon
Title: Re: UGUI on click down?
Post by: jeanfabre on March 09, 2015, 01:49:29 AM
Hi,

 yes, I'll be releasing very likely this week a new proxy giving access to the raw pointer and drag callback, and so you'll have OnPointerDown to play with.

 Bye,

 Jean