예제 #1
0
 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);
 }
예제 #2
0
        // 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);
        }