Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: kenshin on April 26, 2012, 05:36:43 AM
-
Hi Michael,
I am working on a complex form (20-30 items: textarea and popup list) that must be used for some data-entry.
I saw that your class UIInput send a message to the receiver, but in this way each item of the form require a single script.
How I can build a good form manager, that take care to read each item when I click on a submit button?
Exist a better way to collect user input when I do a "form submit"?
Kenshin
-
You can change the name of the function to something else... like "OnLoginSubmit" for example, and have it point to the object that has your manager on it. Alternatively you can use UIEventManager.Get(inputGameObject).onSubmit += YourManagersFunction;