GDTKStat.IsConditionTrue
Declaration#
public bool IsConditionTrue(string condition, StatSource other)Parameters#
| Name | Description |
|---|---|
| condition | Condition to check |
| other | Other Stat Source |
Description#
Check if a condition is true
Usage#
Example
using NullSave.GDTK.Stats;using UnityEngine;
public class Example : MonoBehaviour{
public void ExampleMethod(GDTKStat target) { bool result = target.IsConditionTrue("1 > 0"); }
}