Greetings!
I need a help with GameCenter. Can anybody write a example script with creating leadreboard and report score into this leaderboard.
Thanks.
https://www.assetstore.unity3d.com/#/content/16887
This plugin in the asset store handles everything Game Center related for you without requiring you to write a single line of code. I just used it in my newest game that was just released, and I was able to get game center working in under a minute with it.
The plugin automatically handles login, authentication, and it actually even adds a game center UI to your menu screen that allows the user to open the leaderboard inside their app.
Aside from that, it completely handles all leaderboard and achievement reporting - again, with no code.
You should check it out. It is really worth downloading.