Skip to Content

User

The User provides functionality for managing user authentication and profiles in your Unity game.

Overview

The User allows you to:

  • Handle user authentication
  • Manage user profiles
  • Access user information
  • Handle session management

Properties

public class PixidusUser { public string id; public string email; public string displayName; public string avatarUrl; public int coins; }

Methods

ShowAuthModal

Use this method to show the auth modal on website.

// Show Auth Modal PixidusSDK.User.ShowAuthModal();

GetUser

Use this method to get the user.

// Get user PixidusSDK.User.GetUser((user) => { Debug.Log(user); });

Support

Need help? Our support team is here for you:

Last updated on