firebase / quickstart-unity

Firebase Quickstart Samples for Unity
https://firebase.google.com/games
Apache License 2.0
829 stars 429 forks source link

[Process] Need to add public documentation about how to sign-in using GameCenter #972

Open guirouxxx opened 3 years ago

guirouxxx commented 3 years ago

[REQUIRED] Please fill in the following fields:

[REQUIRED] Please describe the question here:

Hi,

I would like to add the GameCenter Authentication with Firebase to my Unity Game (for iOS). But in the documentation there isn't the GameCenter part (only Play Games one). Is there a way to integrate Game Center auth with unity ?

chkuang-g commented 3 years ago

I think GameCenter signin should be pretty straightforward.

Here is code from another Unity sample project: MechaHamster https://github.com/google/mechahamster/blob/b5ab9762cc95a2a36156d0cbd1dc08fb767c4080/Assets/Hamster/Scripts/Menus/GameCenterSignIn.cs#L45

Hope this helps!

chkuang-g commented 3 years ago

But hey, I guess you are right, we do have a missing public documentation for GameCenter. https://firebase.google.com/docs/auth/unity/apple

Let me change this to a process to add the public doc.

guirouxxx commented 3 years ago

Okay, thank you for the link really helpful!