GDTKStat.GetValue
Declaration#
public Double GetValue(string formula, StatSource other)Parameters#
| Name | Description |
|---|---|
| formula | Formula to solve |
| other | Other Stat Source |
Description#
Get the value of a formula
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(GDTKStat target) { double result = target.GetValue("health + 2"); }
}