Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Question How can I add some call back on leaderboard reset

Discussion in 'Leaderboards' started by Coding-Beast, Aug 22, 2023.

  1. Coding-Beast

    Coding-Beast

    Joined:
    Sep 8, 2021
    Posts:
    42
    I created a leaderboard and setup to reset daily . But I also want to give top player rewards before resetting leaderboard. So what is the solution for it and how can I achieve it.
     
    restush96 likes this.
  2. MaximeDelecourt

    MaximeDelecourt

    Unity Technologies

    Joined:
    Oct 21, 2021
    Posts:
    21
    Hi!
    It is currently not possible to automate what you describe. However, as you can see in our roadmap (Cloud Code tab), we plan to release a trigger system to allow you to do it through Cloud Code.

    The current possible solution would be to "manually" run a cloud code script through a Service Account before every reset.
     
    GabKBelmonte likes this.