Page cover image

User Data

To get the user that has logged in and to use the data to sign a transaction do the following:

  1. After setting up a scene as explained here, add a memeber of type User

  2. Create a new method (which should match the one called by the action in the getting started section) and pass a User parameter.

  3. Then assign the parameter to the variable of type User.

This is most effective when assigned as an event handler/callback .

UnityXXXUal.OnUserLogin += [UserLoggedInCallback];

Last updated