Calendar Example

You can find the complete test scene here:

Assets/Gley/DailyRewards/Example/Scenes/CalendarExample.unity

Steps

Create your rewards in Settings Window

Modify day size

Go to CalenderPopup prefab -> Scroll View -> Content and change the cell size and spacing

Modify the day button appearance

Open prefab from Assets->Gley->DailyRewards->Prefabs and change the appearance as you see fit

Sprites are changed with the state of the button as follows:

Claimed Sprite

active for past days

Current Sprite

active for current day but timer is active(cannot be claimed)

Available Sprite

active for current day (can be claimed)

Locked Sprite

active for future days

Last updated