|Version:||2019.200||Requirements:||uMMORPG3d, Tools||Script Define:||None|
|Core Changes:||No||Tutorial Video:||No|
DailyRewards adds a popular feature to your game: Reward your players when logging into your game on a daily basis. Keep your players interested and coming back for more!
Players will see the reward in a popup window when logging on, as well as the contents of the next reward (if any). Rewards are automatically applied to the players character/inventory.
- [Required] Add “UCE_UI_DailyReward” to your Canvas.
- [Required] Edit “UCE_Tmpl_DailyReward” to your liking.
- [Required]* Assign “UCE_Tmpl_DailyReward” to it (new property).
Note: Make sure to assign on all player prefabs.
You can create more than one “DailyRewards” ScriptableObject and assign a unique one to each of your player prefabs. This allows you to have unique rewards based on player classes.
If you accidentally delete your DailyRewards ScriptableObject, right click while inside your DailyRewards folder, choose “Create” and select “New Daily Reward” to create a fresh Scriptable Object.
While testing in Host+Play mode, be sure to wait until the server saved your character and then quit/logout. Otherwise you will receive the next reward as soon as you log in because the timer has not been properly saved. This won’t be an issue in a dedicated environment as your server will run even when the client stops.