Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide InputField additional input box in unity3d

I use a FiledInput in android app and when I starting to put string in it a softkeyboard pops up and a box, I want to get rid of it.

Is it any way to do so using Unity3d 4.6.2f1 ?

text

like image 439
dev-masih Avatar asked Apr 16 '15 09:04

dev-masih


People also ask

How do you add input fields in unity?

The Input Field script can be added to any existing Text control object from the menu (Component > UI > Input Field). Having done this, you should also drag the object to the Input Field's Text property to enable editing.

How do I add a textbox in unity?

To insert a Text UI element, go to the Scene Heirarchy, Create → UI → Text. A new Text element should show up in your Canvas region. If we have a look at its properties, we will see some very useful options.

What is an input field?

Input fields are an essential user interface design element, providing users with the means to enter non-standardized responses. They are used in many different situations, but most people will have come across them when entering personal details and delivery addresses on e-commerce web forms or sending online queries.


1 Answers

You can use InputField.shouldHideMobileInput for that.

like image 137
Olivia Avatar answered Sep 25 '22 10:09

Olivia