Author Topic: NguiOnClickBinding with parameter  (Read 3408 times)

camelord

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
NguiOnClickBinding with parameter
« on: May 06, 2014, 04:21:50 PM »
hi,

NguiOnClickBinding is a great thing - everything works great BUT

is there a way to assign a command (function) that passes a parameter like gameobject?

christian

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NguiOnClickBinding with parameter
« Reply #1 on: May 06, 2014, 10:01:50 PM »
What's NguiOnClickBinding?

camelord

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
Re: NguiOnClickBinding with parameter
« Reply #2 on: May 07, 2014, 06:40:04 AM »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: NguiOnClickBinding with parameter
« Reply #3 on: May 08, 2014, 03:13:17 AM »
That's not an NGUI component, so I can't help you with it.

NGUI has its own data binding built-in now as well. Look at PropertyBinding.