Hello Guest

Author Topic: editable textMesh  (Read 3976 times)

zeusrami

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
editable textMesh
« on: September 04, 2013, 11:43:50 pm »
Exist a way to create an editable textMesh like GUI.TextArea ()?

gary-unikronsoftware

  • 2D Toolkit
  • Jr. Member
  • *
  • Posts: 74
    • View Profile
Re: editable textMesh
« Reply #1 on: September 05, 2013, 09:00:36 am »
Hi,

In the TK2DROOT > tk2dUI_demo > ControlPrefabs folder there is a TextInput prefab that will allow the user to enter text.  If you want to allow the text to run over multiple lines then enable Word Wrap in the InputText Text Mesh component.  Hope this is what you're after.

zeusrami

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: editable textMesh
« Reply #2 on: September 06, 2013, 10:21:23 pm »
Great thanks!