Author Topic: UIButtonMessage vs UIButtonCallback  (Read 2894 times)

ashwanikumar04

  • Guest
UIButtonMessage vs UIButtonCallback
« on: May 14, 2013, 12:59:21 AM »
Hello All:

What is the difference between UIButtonMessage and UIButtonCallBack scripts?
When should we use these two scripts.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIButtonMessage vs UIButtonCallback
« Reply #1 on: May 14, 2013, 02:25:00 AM »
What's UIButtonCallback?

ashwanikumar04

  • Guest
Re: UIButtonMessage vs UIButtonCallback
« Reply #2 on: May 14, 2013, 03:07:44 AM »
UIButtonCallBack is a script in NGUI for handling callbacks. I am not able to understand how it differs from UIButtonMessage which also provides the same functionality.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: UIButtonMessage vs UIButtonCallback
« Reply #3 on: May 14, 2013, 04:18:51 AM »
Do you mean UIEventListener?

If so, you should use that instead of buttonmessage.

If you didn't mean that, then you should still use UIEventListener instead of buttonmessage. ;)

Maybe UIButtonCallBack is some custom script? Because it's not in the NGUI core.