Adding new RewardTypes

This asset comes with a default and premium currency reward type with the option to add an arbitrary amount of new reward types to the wheel.

The reward types are built with scriptable objects. So If you want to create your own reward type, you can do it pretty easy by right clicking somewhere in your project folder and selecting Create → SF Studio → WheelRewardType

Rename the created scriptable to fit your rewardType name and assign an icon and a saveId to your type:

The saveId is used as an identifier to save the given reward amount to the correct reward, via PlayerPrefs. If you want to change how and where the rewards are saved, please adapt the AddReward method in the WheelRewardType scriptable.

This is located under Scripts → Scriptables:

Then simply go to your Modular Wheel in the demo scene and add(or change) a reward type in the Reward Config list.

Last updated