键盘bug,细节调整
This commit is contained in:
1 parent
048538a0c8
commit
8de7e94c8d
12 files changed
+1058
-465
No files matched your search
@@ -1009,9 +1009,9 @@ public class LoginController : MonoBehaviour
|
||||
{
|
||||
loginForm.password.ActivateInputField();
|
||||
}
|
||||
if (Input.GetKey(KeyCode.KeypadEnter) || Input.GetKey(KeyCode.Return))
|
||||
if (Input.GetKeyDown(KeyCode.KeypadEnter) || Input.GetKeyDown(KeyCode.Return))
|
||||
{
|
||||
if (loginForm != null && !string.IsNullOrEmpty(loginForm.email.text) && !string.IsNullOrEmpty(loginForm.password.text))
|
||||
if (loginForm != null && !string.IsNullOrEmpty(loginForm.email.text) && !string.IsNullOrEmpty(loginForm.password.text))
|
||||
{
|
||||
Submit();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user