I have a InputField and a button to submit it in a scene with new UI.
Via Inspector, the InputField’s OnEndEdit event is setup to call a method.
Now I would like the button to fire the OnEndEdit event of the InputField somehow.
Is that possible? I couldn’t figure out a way to do that, but I wasn’t using the new UI yet.
I know there are workarounds but I’d like to learn using the Event System, too.
lol. What a strange coincidence! Do you all have birthdays in April, too?
I was kind of hoping that just setting the values via script would trigger the OnEndEdit but I guess that only works with OnValueChange. FYI, Invoking OnEndEdit doesn’t appear to be updating values for me :-(.