Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: aprendaGames on March 28, 2013, 12:25:17 AM
-
First off, I LOVE NGUI. It's saved me sooo much time. :)
I know how to use OnSubmit, but that requires the user to push enter. How do I get it to call a function each time the input changes?
By the way, I'm using c#, but I'm sure I'll be able to figure it out if someone tells me a js solution.
-
Solved:
public void OnInputChanged(UIInput UIInputScript)
{
}
-
You can try my own patched version of UIInput 2.5.0c: https://www.dropbox.com/s/clp5yvtklxupcdt/UIInput_2.5.0c_with_textChanged.ZIP (https://www.dropbox.com/s/clp5yvtklxupcdt/UIInput_2.5.0c_with_textChanged.ZIP). It contains textChanged event as well as some other minor stuff which I'm using in my project. Feel free to ask questions.