Hello I was wondering if there is already made code or a walkthrough for completely inplementing login with playfab in my unity game because I have read all the getting started and login with playfab articles but they just give me variables and classes but I’m rather new to unity and just don’t understand the coding aspect if there is any code I can copy and paste or a tutorial for specifically logging in with playfab that would be great because I’m building the game mainly for windows and don’t have a plan for android or iOS so I don’t need the logon with device ID
Thank you
Answer by Jay Zuo · Dec 10, 2018 at 02:51 AM
If you don't need login with device Id, you can try with LoginWithCustomID like what in the Unity Getting Started. However, please note that you must determine how to generate unique Custom IDs for any other device or platform. Custom ID is an effective alternative for other platforms or devices, but you must generate your Custom IDs with care. Too simple, and you risk hackers stealing the accounts of others. For more info, please see https://api.playfab.com/docs/tutorials/landing-players/best-login.
Besides, LoginWithCustomId is an anonymous login mechanism, you may also need a recoverable login mechanism. There are a lot of options, I'd suggest you check the Authentication section under https://api.playfab.com/docs/tutorials/#landing-players. And the PlayFab Video Tutorials - Authentication Series might also help you.
Unity SDK: How to result.toString() to show full results? 1 Answer
Testing LoginWithIOSDeviceID in Unity Remote 1 Answer
What is the FacebookInstantGamesSignature? 1 Answer
How can I get the iOS and Android DeviceID? 1 Answer
AddUsernamePassword requires both email and username while Other APIs do not? 1 Answer