Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: pdrocb on October 16, 2013, 04:43:13 PM
-
Hello,
How do I get the name of the Button that called my method in the another script?
In the OnClick option under IUButton script I can set the method of another gameobject that I want to call.
In this called method I want to get the button that made the call.
I'm using the lastest version of NGUI 3.0.2
Regards,
-
Please see if this helps:
http://www.tasharen.com/forum/index.php?topic=5444.0
-
same question
also, in the OnClick "Notify" option under IUButton script I can only choose methods without arguments.
-
Debug.Log(UIButton.current.name);