4
\$\begingroup\$

After extensive Googleing I have not come up with a way to access Apple ID's or Google ID's from unity running in respective devices. Either ID's or something else unique to the accounts logged in.

I dunno if this is possible with unity or maybe a plugin exists. If not how would you go about getting this.

\$\endgroup\$
3
  • 1
    \$\begingroup\$ Have you read the documentation? docs.unity3d.com/ScriptReference/… \$\endgroup\$ – MichaelHouse Oct 28 '15 at 18:23
  • \$\begingroup\$ I had not found this I will give it a read thanks! \$\endgroup\$ – xenetics Oct 28 '15 at 18:36
  • \$\begingroup\$ Unfortunately this is per device. which is all good but I need it to be Account logged into device so that the user can switch devices and not lose progress. \$\endgroup\$ – xenetics Oct 28 '15 at 18:38
1
\$\begingroup\$

You need to implement the Google play games and Apple Game Center plugins to allow player login to their accounts. Once they do you get their unique id which can be used to store the game progress.

Integrating such plugins have been always a big pain for me, I always prefer Prime 31 but its not free . Link:- https://prime31.com/plugins - Play Game Services Combo - 140$

Currently you have free options , for apple game center. There are unity's inbuilt apis which can be used. Link :- http://docs.unity3d.com/Manual/net-SocialAPI.html

And google has already launched an open source plugin for unity. Link :- https://github.com/playgameservices/play-games-plugin-for-unity

You also have plenty of other options on the asset store.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.