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

Question Get networked date for daily rewards?

Discussion in 'Unity Remote Config' started by nobluff67, Jul 15, 2022.

  1. nobluff67


    Nov 3, 2016
    The aim of my question is so that I can reward the user a daily login reward. A reward on change of date or every 24h. My current solution is to add a date to remote config and update whenever the player starts the game (change of date = reward). Its an easy solution, with the possibility of player abuse (remote and probably not worth the players effort).

    I am wondering if there is a more elegant solution withing remote config, or within the back end services?

    I though I read somewhere that this can be done from within backend services, I just cant find it, or I was imagining things again.
  2. PeachyPixels


    Feb 17, 2018
    nobluff67 likes this.
  3. JeffDUnity3D


    Unity Technologies

    May 2, 2017
    Remote Config does not store data per user, so likely not a good solution. You might want to just prototype with PlayerPrefs and check the local time and compare to the last save time when the game starts and save the current time when the player exits the game.
    nobluff67 likes this.