10/24 completed
This commit is contained in:
@@ -31,7 +31,7 @@ public class NewLoginManager : MonoBehaviour
|
||||
}
|
||||
|
||||
public void Register(){
|
||||
if(usernameInput.text.Length >4){
|
||||
if(usernameInput.text.Length >=2){
|
||||
StartCoroutine(register());
|
||||
loadingPanel.SetActive(true);
|
||||
}else{
|
||||
@@ -102,8 +102,8 @@ public class NewLoginManager : MonoBehaviour
|
||||
}
|
||||
|
||||
public void OnUsernameInputChanged(string newValue){
|
||||
btn_login.interactable= (usernameInput.text.Length > 4);
|
||||
usernameWarning.SetActive(usernameInput.text.Length<= 4);
|
||||
btn_login.interactable= (usernameInput.text.Length > 2);
|
||||
usernameWarning.SetActive(usernameInput.text.Length< 2);
|
||||
}
|
||||
|
||||
void OnRegisterButton(){
|
||||
|
||||
Reference in New Issue
Block a user