应隐藏移动键盘输入。
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; } }