Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Gamecenter leaderboard example

Discussion in 'iOS and tvOS' started by Temich, Apr 17, 2014.

  1. Temich

    Temich

    Joined:
    Apr 17, 2014
    Posts:
    2
    Greetings!
    I need a help with GameCenter. Can anybody write a example script with creating leadreboard and report score into this leaderboard.
    Thanks.
     
  2. HollowRockAdam

    HollowRockAdam

    Joined:
    Jan 15, 2013
    Posts:
    16
    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.