Esempio n. 1
0
        public override void GetImageAsync(DownloadTexture.Completion _onCompletion)
        {
            if (m_user == null)
            {
                if (_onCompletion != null)
                {
                    _onCompletion(null, Constants.kGameServicesUserAuthMissingError);
                }

                return;
            }

            m_user.GetImageAsync(_onCompletion);
        }
Esempio n. 2
0
 public override void GetImageAsync(DownloadTexture.Completion _onCompletion)
 {
     if (_onCompletion != null)
     {
         if (m_user != null)
         {
             m_user.GetImageAsync(_onCompletion);
         }
         else
         {
             _onCompletion(null, "Local user not found. Authenticate first.");
         }
     }
 }