Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: andresp on August 17, 2012, 10:12:32 AM

Title: Double click without click
Post by: andresp on August 17, 2012, 10:12:32 AM
Is there any way to avoid OnClick events of being triggered at the same time as OnDoubleClick ones?

Thanks
Title: Re: Double click without click
Post by: ArenMook on August 17, 2012, 06:47:54 PM
No, OnClick is still sent for the double-click. They're separate notifications.
Title: Re: Double click without click
Post by: andresp on August 20, 2012, 04:56:58 AM
So to distinguish "an OnClick event from a click" and "an OnClick event from a double-click", I need to implement a delay which waits for the call to OnDoubleClick, right?
Title: Re: Double click without click
Post by: PhilipC on August 20, 2012, 11:06:06 AM
If you need that sort of functionality then yes