Version: 2019.1

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