Consider supporting us as a GitHub Sponsor and get instant access to all our Unity assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.
These articles are made possible by our GitHub Sponsors ... become a sponsor today!
The user interface can be used to modify the local user's rich presence data and read data from other users. In large the features and capabilities of the User interface are available through the related data object
Get the local user
The simplest way is
var myData = UserData.Me;
You can read this from the API as well
var user = API.User.Client.Id;
you can also get key data about the local user either from the resulting User Data object as read from ID or directly from the interface as shown below
var userLevel = API.User.Client.Level;
var richData = API.User.Client.RichPresence;
var level = API.User.Client.GetGameBadgeLevel(series, foil);
Get and set rich data
Set the rich presence data for an unsecured game server that the user is playing on. This allows friends to be able to view the game info and join your game.