Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: camelord on May 06, 2014, 04:21:50 PM

Title: NguiOnClickBinding with parameter
Post by: camelord 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
Title: Re: NguiOnClickBinding with parameter
Post by: ArenMook on May 06, 2014, 10:01:50 PM
What's NguiOnClickBinding?
Title: Re: NguiOnClickBinding with parameter
Post by: camelord on May 07, 2014, 06:40:04 AM
DataBinding with NGUI objects: http://tools.artofbytes.com/ezdata/documentation#Data_Binding
Title: Re: NguiOnClickBinding with parameter
Post by: ArenMook 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.