InputField - how to always show caret?

Have an input field being filled by code, but I want to always show the input caret. It shows if I click the field, and give it focus… but how to do without clicking the field?

Just an idea, maybe you could make a regular text field child of the input field, I don’t think there will be a way to do it with the caret (as they are made do disappear)

Take a look at the UI source code here https://bitbucket.org/Unity-Technologies/ui.

Modify the inputfield(or inherit from it) and make it so the caret Is always drawn.

Thanks much for the suggestions. Karl, I will take a stab at that… will let you know.

1 Like