|
virtual void | EvaluateProgress () |
| Evaluates the current progress of the achievement, and unlocks it if needed. More...
|
|
◆ AddProgress()
virtual void MoreMountains.Tools.MMAchievement.AddProgress |
( |
int |
newProgress | ) |
|
|
virtual |
Adds the specified value to the current progress.
- Parameters
-
◆ Copy()
Copies this achievement (useful when loading from a scriptable object list)
◆ EvaluateProgress()
virtual void MoreMountains.Tools.MMAchievement.EvaluateProgress |
( |
| ) |
|
|
protectedvirtual |
Evaluates the current progress of the achievement, and unlocks it if needed.
◆ LockAchievement()
virtual void MoreMountains.Tools.MMAchievement.LockAchievement |
( |
| ) |
|
|
virtual |
◆ SetProgress()
virtual void MoreMountains.Tools.MMAchievement.SetProgress |
( |
int |
newProgress | ) |
|
|
virtual |
Sets the progress to the value passed in parameter.
- Parameters
-
◆ UnlockAchievement()
virtual void MoreMountains.Tools.MMAchievement.UnlockAchievement |
( |
| ) |
|
|
virtual |
Unlocks the achievement, asks for a save of the current achievements, and triggers an MMAchievementUnlockedEvent for this achievement.
This will usually then be caught by the MMAchievementDisplay class.
◆ AchievementID
string MoreMountains.Tools.MMAchievement.AchievementID |
the unique identifier for this achievement
◆ AchievementType
is this achievement progress based or
◆ Description
string MoreMountains.Tools.MMAchievement.Description |
the achievement's description
◆ HiddenAchievement
bool MoreMountains.Tools.MMAchievement.HiddenAchievement |
if this is true, the achievement won't be displayed in a list
◆ LockedImage
Sprite MoreMountains.Tools.MMAchievement.LockedImage |
the image to display while this achievement is locked
◆ Points
int MoreMountains.Tools.MMAchievement.Points |
the amount of points unlocking this achievement gets you
◆ ProgressCurrent
int MoreMountains.Tools.MMAchievement.ProgressCurrent |
the current amount of progress made on this achievement
◆ ProgressTarget
int MoreMountains.Tools.MMAchievement.ProgressTarget |
the amount of progress needed to unlock this achievement.
◆ Title
string MoreMountains.Tools.MMAchievement.Title |
the achievement's name/title
◆ UnlockedImage
Sprite MoreMountains.Tools.MMAchievement.UnlockedImage |
the image to display when the achievement is unlocked
◆ UnlockedSound
AudioClip MoreMountains.Tools.MMAchievement.UnlockedSound |
a sound to play when the achievement is unlocked
◆ UnlockedStatus
bool MoreMountains.Tools.MMAchievement.UnlockedStatus |
if this is true, the achievement has been unlocked. Otherwise, it's still up for grabs
The documentation for this class was generated from the following file:
- F:/Github/Store/InventoryEngineStore/Assets/InventoryEngine/MMTools/Foundation/MMAchievements/Scripts/MMAchievement.cs