Author Topic: OnClick for non-UI objects, spammed clicks being ignored  (Read 1903 times)

NuneShelping

  • Guest
OnClick for non-UI objects, spammed clicks being ignored
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: OnClick for non-UI objects, spammed clicks being ignored
« Reply #1 on: September 17, 2013, 03:02:30 PM »
There is no click limit in NGUI.

NuneShelping

  • Guest
Re: OnClick for non-UI objects, spammed clicks being ignored
« Reply #2 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.
« Last Edit: September 17, 2013, 03:46:01 PM by NuneShelping »