campo de entrada de enfoque de la unidad
MyInputField.Select();
MyInputField.ActivateInputField();
FocusPlayer
MyInputField.Select();
MyInputField.ActivateInputField();
using UnityEngine;
using UnityEngine.EventSystems;
public class MainMenu : MonoBehaviour
{
public EventSystem eventSystem;
public void SetSelected(GameObject setSelected)
{
eventSystem.SetSelectedGameObject(setSelected, null);
}
}