Sign In Register

How can we help you today?

Start a new topic

Unity: How do I check if the player is authenticated already?

 Hi,


I'm using the Gamesparks class on the first Scene of my game that is Main Menu (this is working).

Now when the Player goes to the Leaderboard Scene how do I know if the player:


1. Is already authenticated with GS

2. Is linked with FB

3. Get player display name


So in the case of not being linked with facebook i can ask him showing a Dialog.


Thanks!!

1 Comment

Hi Esteban,


You can use GS.Authenticated to determine whether or not the player is authenticated or not. 


You can use the AccountDetailsRequest to get the players DisplayName.


-Pádraig

Login to post a comment