示例#1
0
    public void TestScript()
    {
        var scriptResult = parser.Evaluate(script);

        if (indicator)
        {
            indicator.color = scriptResult == expectedResult ? Color.green : Color.red;
        }
    }