Setup Guide
Open Settings Window
Go to Tools -> Gley -> Daily Rewards
Setup Timer Button
Property | Description |
---|---|
Button ID | A unique id for each button, it needs to be assigned on timer button script. |
Time to pass | Time to pass for the reward to be available. |
Unlocked at start | If clicked the button starts as available and only after click the timer starts. |
Text after complete | Text for the button when timer is 00:00:00. |
Interactable when unavailable | Button can be clicked even when timer is running. |
Remove Timer Button | Deletes the current timer button. |
Add Timer Button | Creates a new timer button. |
Setup Calendar Button
Property | Description |
---|---|
Calendar Prefab | The prefab that contains the calendar popup. Is located inside: Gley/DailyRewards/Prefabs/CalendarPopup |
Calendar Canvas | The prefab that contains the popup canvas. Is located inside: Gley/DailyRewards/Prefabs/CalendarPopupCanvas |
First day unlocked | If checked the first day is available from start, without the required time to pass. |
Reset at end of days | If checked after the last day is unlocked it will start from the beginning. |
Time to pass | Time for unlocking the next day. |
Texture | The texture from the day prefab - should be representative for your rewards |
Value | The reward amount |
Save
After any change is made inside Settings Window press the Save button
Last updated