question

aiden-beltran avatar image
aiden-beltran asked

How to setup login with playfab in unity

Hello,

I don't know if this question has been answered already but I'm having some issues trying to implement the login with playfab method for my unity game. I understand how to make the UI and scene but I need help with the coding and cloud saves. If you have any example code because i couldn't really find any plug and play type pieces of code in the documentation (which I cant find much) but I'm a beginner to Playfab and would just like a tutorial or someone who could help.

Thank You

unity3dAuthentication
10 |1200

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

1 Answer

·
Andy avatar image
Andy answered

It's not the best sample code in the world, but a lot of what you're looking for is implemented in our Unicorn Battle demo app. In particular, you might want to take a look at the code for LoginWithDeviceId.

Also, I'd recommend reading over some of our documentation:

https://api.playfab.com/docs/tutorials/landing-players/best-login

https://api.playfab.com/docs/getting-started/unity-getting-started

https://api.playfab.com/docs/general-getting-started

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.