void TryLogIn() { if (isListening) { ClientLauncher.Instance.OnConnected.RemoveListener(TryLogIn); isListening = false; } DataSync.Login(uName, key); }
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); }