Limit line length on input field
Like it says in the title, is there a way to limit how long a single line on an input field can be? I want the player to be able to input as much text as they want, but I want to limit the amount of text on a single line so it will never overflow onto the next line. I've looked on the forums and answers and no-one else seems to be interested in knowing how to do this. As far as I can tell, the only solution is to code my own alternative to the input field, which I don't think I have the experience to do. If someone could help me, I'd really appreciate it, as this is extremely important to my project.
Your answer
![](https://koobas.hobune.stream/wayback/20220612094518im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity UI InputField can't type Chinese in iOS by speed dial type keyboard 1 Answer
Input Field ignore mouse click 0 Answers
Need alternative for onEndEdit on InputField 2 Answers
How to check what UI type is currently in focus 1 Answer
How to display distance between Player and object in UI text? 0 Answers