Рет қаралды 7,736
0:33 - Installing Authentication Package
0:58 - Connect Project
1:14 - Adding Player Accounts to Identity
1:27 - Client ID from Dashboard
1:40 - LoginController script
3:26 - UILogin script
6:40 -Testing
6:55 - Google Login
7:05 - Logged In
7:21 - Exporting to android
8:22 - Testing Android
8:34 - Matching Ids
Edit 5/2/2024
Code used in the video:
github.com/navarone77/UnityPl...
Quick disclaimer:
I usually don't use void with async methods but Unity has Action and UI methods that return void so Task would give error. I opted without Task.Run or anything since this is more focused on getting it working and its quicker this way.. If you're a c# veteran, don't cringe too hard :)
Unity Player Accounts Docs
docs.unity.com/ugs/en-us/manu...
Sorry for the audio loud keys :\