Achievement System
Introducing an Achievement System package for Unity, enabling the creation and management of achievements without coding.
Table of Contents
Installation
Install via Git URL
You can also use the "Install from Git URL" option from Unity Package Manager to install the package.
https://github.com/Studio-23-xyz/com.studio23.ss2.achievementsystem.git#upm
Usage
Getting Started
To start using the Achievement System. You need to take a few setup stepts
Click on the 'Studio-23' available on the top navigation bar and navigate to "Achievement System> Generators > ID Table Generator"
A new window will appear in-front of you. Fill it up with the names of your Achievements.
It will generate an achievements.cs class with static string properties that you can use when calling the UnlockAchievement() method
Once you're done,Again on the top navigation bar and navigate to "Achievement System > Generators >ID Table Map Generator". Now you need to create a map for your Preferred Provider (Steam, Xbox, etc.)
Install Achievement-System
Using the Achievement System
Create an empty gameobject.
Attach The Achievement System Script to it.
Simply call this following method to unlock an Achievement
AchievementSystem.instance.UnlockAchievement(string id);
Extensions
There are two extensions available for In-Game Achievement System that adds support for Xbox and Steam platforms separately. Please ensure that this base package is installed if you want to use either of them. And that only one of the extension packages can be used at a time.