- Home /
Using Game Center with Unity Project
I have just made a Game in Unity and built it as an iOS, and ran on xcode. Now my question is where do I do the Game Center code to make it a turn based game? In xCode? In Unity?
Thanks, Chris
Answer by DannyB · Aug 19, 2013 at 08:02 PM
If you want iOS GameCenter integration you have two main options:
Use the built in social API in Unity
Use a plugin, such as the one provided by Prime31
In both cases, you write your code in Unity.
Note that if you only want leaderboard and achievements, Unity's social API is adequate.
However, if you want to use the GameCenter's multiplayer features, you would probably have to get two plugins from Prime31 - GameCenter and GameCenter Multiplayer. I cannot vouch for any of them though.
Naturally, there is always the option for you to write these plugins or the native functionality you need on your own, but I suspect it would take you some time to do so.
@DannyB, both links are Dead. Can you provide a duplicate link ? thanks.
Well, I do not own these two blogs that used to be linked in the answer, so removed the links. Dont know why their owners chose to remove their useful articles.
Answer by michaelbielat · Apr 16, 2014 at 02:12 PM
For a whopping $5 you can use the Unity Game Center Integration Assistant. It's on the asset store: https://www.assetstore.unity3d.com/#/content/8701
Your answer
![](https://koobas.hobune.stream/wayback/20220613112236im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
A node in a childnode? 1 Answer
close unity from xcode 0 Answers
iPhone StoreKit implementation problem 2 Answers
Game Center Login ignores Unity default orientation, resets project to devices orientation 0 Answers
Sandbox gamecenter not found on IOS 8.3? 0 Answers