When a user is logged in to Y8 Account and opens a game that uses the Y8 Account SDK, they will logged in automatically. To do this, call Autologin once in the first scene’s Start() method. The autologin call should happen just after initializing the SDK. Note that the autologin feature only works in a browser and not in the Unity editor.
Autologin Example
Login Menu Example
Getting User Data
Register Menu Example
Logout
Logout buttons are not needed as users can logout from Y8 Account. If you need to logout for testing, use the following example.