Not getting text input field

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
terrymorgan
Posts: 97
Joined: Wed Sep 10, 2014 5:29 pm

Not getting text input field

Post by terrymorgan »

There's a bit in this tutorial where patty says
hello, what's your name?
then player types in name,
she says wow

I copied the text field ui from sci-fi into my jrpg dialog ui (I think) but there's no text input box in the game. Could you make me
a working jrpg dialog ui with text input please? Or if there's an easier way to do this since April?

tutorial, source files
https://sites.google.com/site/terrymorg ... _player_10
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Not getting text input field

Post by Tony Li »

Hi Terry,

Try the Unity UI version of the JRPG dialogue UI. It has a text input field. It's located in Dialogue System/Prefabs/Unity UI Prefabs/JRPG.

If that doesn't work, let me know, and I'll put together a UI.
terrymorgan
Posts: 97
Joined: Wed Sep 10, 2014 5:29 pm

Re: Not getting text input field

Post by terrymorgan »

Not working if this is the right one
Attachments
jprg_unity_ui.jpg
jprg_unity_ui.jpg (80.31 KiB) Viewed 935 times
terrymorgan
Posts: 97
Joined: Wed Sep 10, 2014 5:29 pm

Re: Not getting text input field

Post by terrymorgan »

K, I did it, the trick is to drag your jrpg dialog UI into the hierarchy, copy/paste, rename it 'jrpg_with_text'

also the text_field_ui must be under the gui root, it gets placed along side it by default. And the default text
field is not Bottom Center, so you have to put that in. Once it's renamed, it can't be overwritten by Tony's updates.

Oddly, if you drag the sci-fi or computer UI's with text input into the hierarchy with the jrpg-no text input UI as
the UI, it will also work, just uses the sci-fi
or computer font, etc.
Attachments
hello_whats_your_name.jpg
hello_whats_your_name.jpg (38.9 KiB) Viewed 935 times
User avatar
Tony Li
Posts: 22102
Joined: Thu Jul 18, 2013 1:27 pm

Re: Not getting text input field

Post by Tony Li »

Great, glad it's working.
Post Reply