Inventory.IsTrue
Declaration#
public virtual bool IsTrue(string expression)Parameters#
| Name | Description |
|---|---|
| expression | Expression to evaluate |
Description#
Check if an expression is true
Usage#
Example
using NullSave.GDTK.Inventory;using UnityEngine;
public class Example : MonoBehaviour{ public void ExampleMethod(Inventory target) { target.IsTrue("1 > 2"); }}