Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: dsanchez on January 25, 2013, 09:04:57 AM
-
Hello,
I'm trying to create a button on runtime by code but I don't know how. I'm trying to use the AddWidget<T> method but it doesn't work. In the other hand, if I could create it, how should I assign it a "click" method dynamically??
Best regards.
-
Look inside UICreateWidgetWizard.cs. Everything inside is created by code, including buttons.