Пример #1
0
	private void ShowError (WebServiceErrorCodes code, string error)
	{
		loginService.SucceededEvent -= LoadMainScene;
		loginService.FailedEvent -= ShowError;
		if(code == WebServiceErrorCodes.LoginError && Failed != null)
			Failed (error);
	}
Пример #2
0
	private void FailedResetPassword (WebServiceErrorCodes arg1, string arg2)
	{

	}
Пример #3
0
	private void LoadLoginScene (WebServiceErrorCodes code, string error)
	{
		startSessionService.FailedEvent -= LoadLoginScene;
		startSessionService.SucceededEvent -= LoadMainScene;
		Application.LoadLevel("Login");
	}