TopDown Engine  v3.6
MoreMountains.Tools.MMAchievementList Class Reference

A scriptable object containing a list of achievements. You need to create one and store it in a Resources folder for this to work. More...

Inheritance diagram for MoreMountains.Tools.MMAchievementList:

Public Member Functions

virtual void ResetAchievements ()
 Asks for a reset of all the achievements in this list (they'll all be locked again, their progress lost). More...
 

Public Attributes

string AchievementsListID = "AchievementsList"
 the unique ID of this achievement list. This is used to save/load data. More...
 
List< MMAchievementAchievements
 the list of achievements More...
 

Static Public Attributes

static MMAchievementList Any => MMReferenceHolder<MMAchievementList>.Any
 

Protected Member Functions

virtual void OnEnable ()
 
virtual void OnDisable ()
 

Detailed Description

A scriptable object containing a list of achievements. You need to create one and store it in a Resources folder for this to work.

Member Function Documentation

◆ OnDisable()

virtual void MoreMountains.Tools.MMAchievementList.OnDisable ( )
protectedvirtual

◆ OnEnable()

virtual void MoreMountains.Tools.MMAchievementList.OnEnable ( )
protectedvirtual

◆ ResetAchievements()

virtual void MoreMountains.Tools.MMAchievementList.ResetAchievements ( )
virtual

Asks for a reset of all the achievements in this list (they'll all be locked again, their progress lost).

Member Data Documentation

◆ Achievements

List<MMAchievement> MoreMountains.Tools.MMAchievementList.Achievements

the list of achievements

◆ AchievementsListID

string MoreMountains.Tools.MMAchievementList.AchievementsListID = "AchievementsList"

the unique ID of this achievement list. This is used to save/load data.

◆ Any

MMAchievementList MoreMountains.Tools.MMAchievementList.Any => MMReferenceHolder<MMAchievementList>.Any
static

The documentation for this class was generated from the following file: