Question by
Kastenessen · Jul 19, 2016 at 05:01 AM ·
uidestroyinputfieldsubmit
Destroy something onSubmit of InputField.
Hello,
Am wondering and researching hard to find an answer of how to destroy something once 'enter' or submit is fired with the UI Inputfield.
Am having difficulty finding a solution.
I would like to destroy the field once text is submitted.
Please help?
Comment
Best Answer
Answer by Kastenessen · Jul 19, 2016 at 06:24 AM
Found a way, I just add:
if keycode enter, then destroy the field lol.
Easy peasy.
Your answer
Follow this Question
Related Questions
Convert Message to Text Field Input 0 Answers
How to use Input Field with middle text alignment? 0 Answers
Use InputField to be a search bar with a ScrollRect 0 Answers
How to check what UI type is currently in focus 1 Answer
InputField.KeyPressed isn't marked as virtual, so what do I do instead? 0 Answers