Skip to main content

Merchant.GetStatValue

Declaration#

public float GetStatValue(string id)

Parameters#

NameDescription
idId of the stat to get

Description#

Get the value of a stat

Usage#

using NullSave.GDTK.Inventory;using UnityEngine;
public class CodeSample : MonoBehaviour{
    public void Example(Merchant target, string id)    {        float result = target.GetStatValue(id);    }
}