Version: 2017.1

InputField.ActivateInputField

매뉴얼로 전환
public void ActivateInputField ();

설명

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