Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: NuneShelping on September 17, 2013, 03:00:02 PM

Title: OnClick for non-UI objects, spammed clicks being ignored
Post by: NuneShelping on September 17, 2013, 03:00:02 PM
I don't want to spam clicks, but that is the easiest way to explain the problem.

When I left click on my object (it's a gameobject with a mesh collider and a script on it employing OnClick), it sends a message to the console. When I spam click it, one message gets sent every second or so.

Is there a modifier to set the minimum click speed or something?
Title: Re: OnClick for non-UI objects, spammed clicks being ignored
Post by: ArenMook on September 17, 2013, 03:02:30 PM
There is no click limit in NGUI.
Title: Re: OnClick for non-UI objects, spammed clicks being ignored
Post by: NuneShelping on September 17, 2013, 03:03:39 PM
Good to know. Would that mean my implementation is correct and something else is causing a delay? Could it be a performance of SendMessage issue? I can't imagine that would amount to such a significant timing...

Edit: It was my own mistake. Problem has been resolved. Thank you for the quick response, it honed my focus.