Page 1 of 1

Not getting text input field

Posted: Fri Aug 21, 2015 11:28 am
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

Re: Not getting text input field

Posted: Fri Aug 21, 2015 11:57 am
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.

Re: Not getting text input field

Posted: Sat Aug 22, 2015 10:20 am
by terrymorgan
Not working if this is the right one

Re: Not getting text input field

Posted: Sat Aug 22, 2015 11:20 am
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.

Re: Not getting text input field

Posted: Sat Aug 22, 2015 11:23 am
by Tony Li
Great, glad it's working.