Editor
With this module you can add an achievement system to your project.
The following settings are available in the editor.
Add new task - Calls up a window for creating a new achievement.
Task ID - Unique id for achievement.
Title - The title of the achievement that will be displayed in the UI.
Description - Full description of the achievement. For example, you can describe here what the player needs to do to complete the achievement.
Tag - Some mark for achievement. Can be used to sort your achievements.
Custom Data - Allows you to create a set of your own access data from code.
To create your own custom data set - create a new class and inherit from "CBSTaskCustomData". Only fields and the following data types are supported - 'int', 'float', 'string', 'enum', 'List<string>', 'List<float>', 'List<int>'
After that you will see your class in the selection list of "Custom Data". Fill in your details
Task type
ONE_SHOT - the task will be completed the first time it is executed
STEPS - you need to perform several steps of the actions specified by you.
Steps - Number of steps to complete the task.
TIRERED - Achievement will have multiple stages to complete, each stage can be rewarded
Click "Add new tier"
Setup "Steps" for each tier
You can also "Override description" for each tier
Locked by level - Determines whether the task will be locked by player level. The player will be able to perform the task only when his level is equal to or higher
Level - Level to lock task
Availability filter - Parameter for defining accessibility by level
Sprite - Sprite for game task. ATTENTION! The sprite is not saved on the server, it will be included in the build.
External Icon URL - You can use it for example for remote texture url.
Automatic reward - Enable this option to automatically reward the player after completing archievement. If this option is disabled, you will need to call additional API methods to receive reward.
Reward Delivery - SEND_TO_INBOX - The reward will be sent to your profile notification inbox - GRANT_IMMEDIATELY - The reward will be given immediately after reaching the goal
Finally you can test your achievements in example scene
Last updated