GDTKItemStatSource.GetValue
Declaration#
public Double GetValue(string value)Parameters#
| Name | Description |
|---|---|
| value | Expression to parse |
Description#
Get the value of an expression
Usage#
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(GDTKItemStatSource target, string other) { float result = target.GetValue(other + " + 2"); }
}