Пример #1
0
 void TryLogIn()
 {
     if (isListening)
     {
         ClientLauncher.Instance.OnConnected.RemoveListener(TryLogIn);
         isListening = false;
     }
     DataSync.Login(uName, key);
 }
Пример #2
0
 public void OnSignInClick()
 {
     if (userName.text == null || userName.text.Length < 1)
     {
         return;
     }
     if (password.text == null || password.text.Length < 6)
     {
         return;
     }
     DataSync.Login(userName.text, password.text);
 }