Hi there Tony, long time no see.
I've jumped back to DS, as I'm making content for my new game, and I'm having a small issue with a Text Input field.
I've set it to a content type "Name" and a character limit of 20, yet it reverts back to 0 at runtime, so the player can type forever. The text component itself is a regular UI Text, not TMP.
I'm clueless on how to troubleshoot this, as it should be a no-brainer?
Thanks.
Text Input character limit reverts to zero
Text Input character limit reverts to zero
Unity 2019.4.9f1
Dialogue System 2.2.15
Dialogue System 2.2.15
Re: Text Input character limit reverts to zero
Hi,
Specify the max length in your TextInput() sequencer command. Example:
Specify the max length in your TextInput() sequencer command. Example:
Code: Select all
TextInput(Text Field UI, Name:, playerName, 20)
Re: Text Input character limit reverts to zero
Oh, that was easy.
Next time I'll RTFM better, lol.
Next time I'll RTFM better, lol.
Unity 2019.4.9f1
Dialogue System 2.2.15
Dialogue System 2.2.15
Re: Text Input character limit reverts to zero
Glad to help!