Inventory.GetStatValue
#
Declarationpublic float GetStatValue(string id)
#
ParametersName | Description |
---|---|
id | Id of the stat to get |
#
DescriptionGet the value of a stat
#
Usageusing NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
public void Example(Inventory target, string id) { float result = target.GetStatValue(id); }
}