Closed zzxiang closed 6 years ago
Hi! Thanks for report. I will look what is wrong with parser.
I have fixed this issue in 09eec9fea8443288eec5696b619cbec0e9b11ca8 commit. You could take new dll here.
Yes! It does work now! Thank you very much for the quick fix!
The expression is:
1 == 2 ? Random.Range(0, 1) : 3
The following exception is reported:
Changing
Random.Range(0, 1)
toRandom.value
makes the exception disappear.However,
1 == 2 ? 3 : Random.Range(0, 1)
can be correctly parsed.