Пример #1
0
 /// <summary>
 /// Returns the user's display name.
 /// </summary>
 /// <returns>
 /// The user display name (e.g. "Bruno Oliveira")
 /// </returns>
 public string GetUserDisplayName()
 {
     if (!IsAuthenticated())
     {
         Logger.e("GetUserDisplayName can only be called after authentication.");
         return("");
     }
     return(mClient.GetUserDisplayName());
 }
Пример #2
0
        /// <summary>
        /// Returns the user's display name.
        /// </summary>
        /// <returns>
        /// The user display name (e.g. "Bruno Oliveira")
        /// </returns>
        public string GetUserDisplayName()
        {
            if (!IsAuthenticated())
            {
                GooglePlayGames.OurUtils.Logger.e("GetUserDisplayName can only be called after authentication.");
                return(string.Empty);
            }

            return(mClient.GetUserDisplayName());
        }
Пример #3
0
    public string GetUserDisplayName()
    {
        if (!IsAuthenticated())
        {
            Debug.LogError("GetUserDisplayName can only be called after authentication.");
            return(string.Empty);
        }

        return(mClient.GetUserDisplayName());
    }