playMaker

Author Topic: UGUI on click down?  (Read 1945 times)

Groo Gadgets

  • Beta Group
  • Full Member
  • *
  • Posts: 175
UGUI on click down?
« 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: UGUI on click down?
« Reply #1 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