We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The expression is:
1 == 2 ? Random.Range(0, 1) : 3
The following exception is reported:
ExpressionParserException: A colon ':' symbol is expected in conditional '?' expression.
Changing Random.Range(0, 1) to Random.value makes the exception disappear.
Random.Range(0, 1)
Random.value
However, 1 == 2 ? 3 : Random.Range(0, 1) can be correctly parsed.
1 == 2 ? 3 : Random.Range(0, 1)
The text was updated successfully, but these errors were encountered:
Hi! Thanks for report. I will look what is wrong with parser.
Sorry, something went wrong.
I have fixed this issue in 09eec9f commit. You could take new dll here.
Yes! It does work now! Thank you very much for the quick fix!
No branches or pull requests
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.The text was updated successfully, but these errors were encountered: