Function to activate the InputField to begin processing Events.
Will only activate if deactivated.
using UnityEngine; using System.Collections; using UnityEngine.UI;
public class Example : MonoBehaviour { public InputField mainInputField;
// Activate the main input field when the scene starts. void Start() { mainInputField.ActivateInputField(); } }