Version: 5.5

InputField.ActivateInputField

Switch to Manual
public void ActivateInputField ();

Description

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(); } }