Login Element
Last updated
Was this helpful?
Last updated
Was this helpful?
When using Ready Player Me, you must allow users to login with their existing Ready Player Me account, so that they can access and use their existing avatars.
The login is a passwordless process. The user will receive an email with a verification code that they must enter in your game or app. After they are authorized, you can ask them to create a new avatar or show the Avatar List Element and let them choose an existing avatar.
The LoginElement
can trigger two UnityEvents.
OnLoginSuccess
fires when authorization is successful.
OnLoginFail
fires when there is an exception, and the payload contains the error message.
You can customize the UI freely, but must link the EmailField
and the Code Field
in the Inspector.
Do not remove or modify the text of this element.