Search Unity

Getting text input from mobile device: guessing game

Discussion in 'General Discussion' started by unity_wpYtjpQq6xIzJg, Aug 15, 2019.

  1. unity_wpYtjpQq6xIzJg

    unity_wpYtjpQq6xIzJg

    Joined:
    Aug 15, 2019
    Posts:
    2
    Hi,

    I have been searching all over but can't find the answer.

    How would you get a text input from a mobile device and have it displayed on the public game screen?

    This is for a guessing game where users ask and answer each others questions.

    Thanks,
    Will
     
  2. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Typically you'd use an InputField to get text input. You'll have to get more specific on what you mean by a "public game screen" though. If you mean to make this a multiplayer game, look into the various database as a service providers or rolling your own PHP/MySQL solution. Or look at the available network API's if you need it to be more real time.

    https://docs.unity3d.com/Manual/script-InputField.html