Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question I need an advice on creating leaderboards via cloud code.

Discussion in 'Cloud Code' started by uzunkayacemil18, May 7, 2024.

  1. uzunkayacemil18

    uzunkayacemil18

    Joined:
    Feb 1, 2022
    Posts:
    9
    Hi, I'm trying to create leaderboards via cloud code, basically when player presses upload button for their content, logic has to create an leaderboard with presented UUID.

    I got through basic steps and managed to use simple task that provided in the doc: https://docs.unity.com/ugs/en-us/manual/cloud-code/manual/modules/getting-started

    The problem is that I have no idea what to do since I have not worked with such comprehensive APIs before.
    Like, I created a service account for the secret key, but where I'm suppose put it :D

    I created auth system, UGC system working fine everyhing is okey and ready to go.

    What I need is just an cloud code method sample that can create a simple leaderboard with admin API.

    Thanks.
     
  2. MariusUrbelis

    MariusUrbelis

    Unity Technologies

    Joined:
    Mar 15, 2015
    Posts:
    47
  3. uzunkayacemil18

    uzunkayacemil18

    Joined:
    Feb 1, 2022
    Posts:
    9