ILocalUser
Represents the local or currently logged in user.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Interface
- Namespace: UnityEngine.SocialPlatforms
- Assembly: UnityEngine.GameCenterModule
public interface ILocalUser : IUserProfile
Properties
Property | Description |
|---|---|
| authenticated | Checks if the current user has been authenticated. |
| friends | The users friends list. |
| underage | Is the user underage? |
Methods
Method | Description |
|---|---|
| Authenticate | Authenticate the local user to the current active Social API implementation and fetch his profile data. |
| LoadFriends | Fetches the friends list of the logged in user. The friends list on the Social.localUser instance is populated if this call succeeds. |