コード例 #1
0
 //-----------------------------------------------------------------------------------------------------------------
 // Result of login-attempt.
 //-----------------------------------------------------------------------------------------------------------------
 void OnFacebookLoginComplete(SocialPlugin.State state, string message)
 {
     OnLoginResult(state == SocialPlugin.State.SUCCESS);
 }
コード例 #2
0
ファイル: GuiScreenBank.cs プロジェクト: huokele/shadow-gun
 //-----------------------------------------------------------------------------------------------------------------
 // Result of login-attempt.
 //-----------------------------------------------------------------------------------------------------------------
 void OnLoginResult(SocialPlugin.State state, string message)
 {
     OnLoginResult(FacebookPlugin.Instance.CurrentUser != null);
 }