Should the mobile keyboard input be hidden.
#pragma strict // Required when Using UI elements. public class Example { public var mainInputField; public function Start() { //This setting can be toggled in the inspector. mainInputField.shouldHideMobileInput = true; } }
using UnityEngine; using System.Collections; using UnityEngine.UI; // Required when Using UI elements.
public class Example : MonoBehaviour { public InputField mainInputField; public void Start() { //This setting can be toggled in the inspector. mainInputField.shouldHideMobileInput = true; } }