password.ActivateInputField();//方法1
UnityEngine.EventSystems.EventSystem.current.SetSelectedGameObject(userName.gameObject);//方法2
ps:password和userName都是InputField组件
2024-01-06 09:31:34
password.ActivateInputField();//方法1
UnityEngine.EventSystems.EventSystem.current.SetSelectedGameObject(userName.gameObject);//方法2
ps:password和userName都是InputField组件