Page 1 of 1
click detection
Posted: Fri Oct 16, 2015 9:10 am
by Arcanor
I've noticed that dialogues are triggered whenever the mouse UP event occurs. So if I drag the mouse on to an actor, then release it, the dialogue is triggered. Is there an easy way to make it so that the dialogue only triggers on an actual click, i.e. both a DOWN and UP event in quick succession (and at roughly the same screen position)?
Re: click detection
Posted: Fri Oct 16, 2015 10:12 am
by Tony Li
That'll be easy enough to add. I'll post an updated Selector.cs later today!
Re: click detection
Posted: Fri Oct 16, 2015 10:26 am
by Arcanor
That would be fantastic Tony, thanks (again) so much!
Re: click detection
Posted: Sat Oct 17, 2015 6:24 pm
by Arcanor
Did this turn out to be more difficult than you thought in implementing?
I'm just bumping in case it got lost in all the other recent posts. Not rushing you! Enjoy your weekend.
Re: click detection
Posted: Sun Oct 18, 2015 1:43 am
by Tony Li
Doh, thanks for the reminder. I forgot to make it available on the customer download site. It's there now. (If anyone else needs access to any patches or updates, please PM me your Unity Asset Store invoice number.)
Re: click detection
Posted: Sun Oct 18, 2015 4:00 am
by Arcanor
Fantastic, thanks! I'll go download now and report back later today.
Re: click detection
Posted: Sun Oct 18, 2015 4:15 am
by Arcanor
In my preliminary testing just now, it seems to work perfectly. I think this is far superior functionality now.
Thanks again Tony!
Re: click detection
Posted: Sun Oct 18, 2015 11:00 am
by Tony Li
I appreciate the suggestion. I think it's much nicer this way, too!