Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Feedback you can add the same listener multiple times to a button event! odd?

Discussion in 'UGUI & TextMesh Pro' started by andyz, Feb 1, 2024.

  1. andyz


    Jan 5, 2010
    something NGUI stopped you doing was adding the same function call multiple times to the same event listener on a button say. Not that you should try and add the same one more than once but I can not immediately think of any possible reason why you would want a button click to send the same event call more than once.

    So why is this allowed and not automatically disallowed like with NGUI?