Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

IUserProfile

interface in UnityEngine.SocialPlatforms

Description

Represents generic user instances, like friends of the local user.

Variables

idThis users unique identifier.
imageAvatar image of the user.
isFriendIs this user a friend of the current logged in user?
statePresence state of the user.
userNameThis user's username or alias.