예제 #1
0
 public void LoginComplete(string session)
 {
     UnityEngine.Debug.Log("Login request completed");
     if (loginSuccessAction != null)
     {
         loginSuccessAction(TwitterSession.Deserialize(session));
     }
 }
예제 #2
0
 public void LoginComplete(string session)
 {
     UnityEngine.Debug.Log("Login request completed");
     if (loginSuccessAction != null)
     {
         UnityEngine.Debug.Log("calling login success action");
         loginSuccessAction(TwitterSession.Deserialize(session));
     }
     else
     {
         UnityEngine.Debug.Log("FAILED calling login success action");
     }
 }
        public TwitterSession Session()
        {
            string session = twitter.CallStatic <string> ("session");

            return(TwitterSession.Deserialize(session));
        }