ScriptableCondition allows you to verify a public field of a scriptable object with certain comparison methods.

Let's say you have a class TestData inherited from ScriptableObject with a public int field: intField
And you want to verify an instance of TestData to see if it's intField is greater or equal to 100.
- Attach the
ScriptableConditionto a game object - Reference the
Data templatefield to any instance ofTestData - Set
Field to verifytointField - Set
Operatorto>= - Set
Compare toto100 - In any other scripts, call
scriptableCondition.Verify(instance_to_verify) - It returns
trueif theinstance_to_verifyhas theintFieldand the value is greater or equal to100