We are developing a game which allow player to type Lua script and mod the game in Runtime. I’ve found that it’s extremely hard to make it working and look nice with UGUI’s InputField…
What we want at this stage is Syntax Highlight and may be Code Completion.
So far I’ve completed some syntax highlight function using Regex, but it only works after input field end edit (on UI.Text but not UI.InputField):
In other words, I want a SI3 but in runtime and Lua.
I can’t find any solution out there. Anyone can give me a hint? Or should I use Text Mesh Pro, etc, to make the solution easier?