In mobile, I am asking a question to player and i want answer my question. But how can open the answer box or something else. I mean the player click asnwer button after that opening keyboard and write his answer and click send button and i of course save the answer. I dont know what is the textbox in unity how can i do it. I am working on C#
            Asked
            
        
        
            Active
            
        
            Viewed 130 times
        
    0
            
            
        - 
                    3You are looking for Input Field : http://docs.unity3d.com/Manual/script-InputField.html . This is UI component – Łukasz Motyczka Feb 21 '16 at 20:34
 - 
                    http://stackoverflow.com/questions/28273062/get-text-from-input-field-in-unity3d-with-c-sharp – Nurullah Feb 21 '16 at 20:58
 - 
                    I don't think this question falls within scope of StackOverflow http://stackoverflow.com/help/mcve please rework your question and clarify what you're asking with some example code showing what you've attempted so far. – Rob Feb 22 '16 at 14:46
 
1 Answers
2
            Use Input field, it works on all devices. http://docs.unity3d.com/Manual/script-InputField.html
If you're using unity 4.6 or above, you have to use a canvas along with it.
        WajeehHassan
        
- 526
 - 1
 - 3
 - 9