Class StatManager
Track of all runtime stats data and exposes methods for managing the data at runtime.
Namespace: UnityEngine .GameFoundation
Assembly: solution.dll
Syntax
public static class StatManager
Properties
Name | Description |
---|---|
Is |
Returns the current initialization state of the StatManager. |
catalog | This is the StatCatalog the StatManager uses. |
Methods
Name | Description |
---|---|
Adjust |
Adjusts specified Stat on specified gameItem by specified amount. |
Adjust |
Adjusts specified Stat on specified gameItem by specified amount. |
Adjust |
Adjusts specified Stat on specified gameItem by specified amount. |
Adjust |
Adjusts specified Stat on specified gameItem by specified amount. |
Get |
Get's the value of the specified Stat on specified GameItem. |
Get |
Get's the value of the specified Stat on specified GameItem. |
Get |
Get's the value of the specified Stat on specified GameItem. |
Get |
Get's the value of the specified Stat on specified GameItem. |
Has |
Checks if the specified Stat has been set for specified GameItem. |
Has |
Checks if the specified Stat has been set for specified GameItem. |
Has |
Checks if the specified Stat has been set for specified GameItem. |
Has |
Checks if the specified Stat has been set for specified GameItem. |
Remove |
Remove specified Stat from specified GameItem. |
Remove |
Remove specified Stat from specified GameItem. |
Remove |
Remove specified Stat from specified GameItem. |
Remove |
Remove specified Stat from specified GameItem. |
Reset() | Can be called after Initialize() as many times as needed. Will reset everything to be as it was after Initialize() was called. |
Reset |
Reset Stat to the correct default value. |
Reset |
Reset Stat to the correct default value. |
Reset |
Reset Stat to the correct default value. |
Reset |
Reset Stat to the correct default value. |
Set |
Sets specified Stat on specified gameItem to a specific value. |
Set |
Sets specified Stat on specified gameItem to a specific value. |
Set |
Sets specified Stat on specified gameItem to a specific value. |
Set |
Sets specified Stat on specified gameItem to a specific value. |
Try |
Tries to get specified Stat for specified GameItem and set out variable, if found. |
Try |
Tries to get specified Stat for specified GameItem and set out variable, if found. |
Try |
Tries to get specified Stat for specified GameItem and set out variable, if found. |
Try |
Tries to get specified Stat for specified GameItem and set out variable, if found. |