2D Toolkit Forum
2D Toolkit => Support => Topic started by: hromoydron on July 16, 2013, 11:53:18 pm
-
Hello!
I want to pass a parameter to the event.
Are there any standards methods for tk2dUI events?
-
No there isn't. You do get a reference to the current tk2dUIItem, you can use that to identify where it came from.
-
How I can get reference to the current tk2dUIItem? I don't understand that.
-
Use the OnDownUIItem action instead of OnDown - that variant will pass a parameter (i.e. the caller) to the event.
-
thank you.