usingUnityEngine;usingRGN.Modules.UserProfile;publicclassUserProfileExamples:MonoBehaviour{privateasyncvoidUpdateDisplayName() {string newDisplayName =awaitUserProfileModule.I.SetDisplayNameAsync("New display name");Debug.Log($"Display name : {newDisplayName}"); }}
Update User Bio
usingUnityEngine;usingRGN.Modules.UserProfile;publicclassUserProfileExamples:MonoBehaviour{privateasyncvoidUpdateUserBio() {string newBio =awaitUserProfileModule.I.SetBioAsync("This is my user description");Debug.Log($"Bio : {newBio}"); }}
Similar to other in-game currencies but it can only be obtained by making In-App Purchases - it cannot be earned or given as a reward to players. It is consumed to purchase NFT #virtual-items.
For more details about the rgn-coin, please refer to the Currency module.