question

Igor Murashkin avatar image
Igor Murashkin asked

Get User Data in another scene (Unity)

Hello! I would like to ask question about auth.

If player auth in the first scene, can I get user data and another info about authorized user in another scene?

unity3d
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Citrus Yan avatar image
Citrus Yan answered

Sure, our Unity SDK automatically caches SessionTicket/EntityToken for authenticated players, therefore you can call GetUserData or other APIs between scenes later on.

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Tino avatar image Tino commented ·

hi @Citrus Yan could you perhaps drop example code, e.g. pushing to the dashboard from another a logged in account in the first scene

0 Likes 0 ·
Tino avatar image
Tino answered

hi @Citrus Yan could you perhaps drop example code

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.