//----------------------------------------------------------------------------------------------------------------- // Result of login-attempt. //----------------------------------------------------------------------------------------------------------------- void OnFacebookLoginComplete(SocialPlugin.State state, string message) { OnLoginResult(state == SocialPlugin.State.SUCCESS); }
//----------------------------------------------------------------------------------------------------------------- // Result of login-attempt. //----------------------------------------------------------------------------------------------------------------- void OnLoginResult(SocialPlugin.State state, string message) { OnLoginResult(FacebookPlugin.Instance.CurrentUser != null); }