Search Unity

TMPro_InputField How to always active keyboard on screen

Discussion in 'UGUI & TextMesh Pro' started by BrokenAngel, Mar 21, 2019.

  1. BrokenAngel

    BrokenAngel

    Joined:
    Mar 24, 2013
    Posts:
    92
    Hi guys , so I had a text adventure game which user will need to type like all the time they are in-game. So I want to show up a keyboard which will never be dismissed ( even if user tap on another control like button , popup ...) . Is there a way to achieve this behaviour ?

    Thanks.
     
  2. Stephan_B

    Stephan_B

    Joined:
    Feb 26, 2017
    Posts:
    6,595
    If you disable "Reset on DeActivation", the input field should remain active when selecting other buttons but not another input field.

    A double click away from any controls will also disable the input field.

    Give the above a try to see if that could work. If not, you might have to implement your own control in terms of passing focus back to the input field after interactions with other controls is done.