Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: rik on May 04, 2015, 11:28:35 PM

Title: How to get value when button was touched
Post by: rik on May 04, 2015, 11:28:35 PM
i need action for unity 4.6 which give some value when button was on pressed state
Title: Re: How to get value when button was touched
Post by: jeanfabre on May 05, 2015, 04:26:50 AM
Hi,

 You can use the Pointer Proxy to listen to the raw pointer events.

You can get this proxy as part of the Ugui package:

https://hutonggames.fogbugz.com/default.asp?W1192

You'll find on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) some uGUi samples, this will show you how to use the pointer proxy:

 Bye,

 Jean
Title: Re: How to get value when button was touched
Post by: rik on May 05, 2015, 01:55:26 PM
is it recommended for use on mobile too since it was using the pointer i thing it was heavy on mobile
Title: Re: How to get value when button was touched
Post by: jeanfabre on May 06, 2015, 01:32:34 PM
Hi,

 Where did you read that it was heavy on mobile? the new UI is made from the ground up to work on mobile, so I am quite confident it's totally suitable.

Bye,

 Jean
Title: Re: How to get value when button was touched
Post by: rik on May 06, 2015, 01:34:53 PM
nice to see it work good on mobile too