public void LoginResult(LoginResultState state, string errorMsg) { if (state == LoginResultState.LoginSucceed) { m_IsLoggedIn = true; } else { m_IsLoggedIn = false; } Debug.Log("LoginResult: state: " + state.ToString() + " errorMsg: " + errorMsg); }
// Handle Moolah public void handleLoginResult(LoginResultState state, string errorMsg) { if (state == LoginResultState.LoginSucceed) { _isLogined = true; } else { _isLogined = false; } Debug.Log("LoginResult: state: " + state.ToString() + " errorMsg: " + errorMsg); }