Search Unity

Question user input text game

Discussion in 'Scripting' started by Digital_Owl, Jan 29, 2023.

  1. Digital_Owl

    Digital_Owl

    Joined:
    Feb 7, 2021
    Posts:
    46
    Hey, i want to make a game similar to this one called Figgerits, I'm a beginner and would like to see some tutorials about how do i make keyboard visible for users all the time and how to make users type only one character at each square but i can't really find videos or documentation about how to make this kind of thing or at least make an adaptation, if anyone out there would like do direct me to a tutorial or give me an advice it would be much appreciated, Thanks!
     

    Attached Files:

  2. RadRedPanda

    RadRedPanda

    Joined:
    May 9, 2018
    Posts:
    1,648
    Unfortunately, keeping the keyboard open all the time looks like something that's difficult to do in Unity. On the other hand, if you're just using InputFields, you can just set the Character Limit in the Inspector. To make it even fancier, you can add a method to the onValueChanged callback to switch the box to the next one when it's typed in.
     
  3. Digital_Owl

    Digital_Owl

    Joined:
    Feb 7, 2021
    Posts:
    46
    thanks for response! how do i make input field as limited as one character?